// @bun
import{jsx as e,jsxs as t}from"react/jsx-runtime";function a(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Distributed Tracing"}),e("p",{className:"text-lg text-muted-foreground",children:"ContractSpec uses OpenTelemetry (OTel) for distributed tracing. This guide explains how to configure exporters and collectors."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Configuration"}),e("p",{children:"Configure the OTel SDK via environment variables:"}),e("pre",{className:"rounded-lg border bg-muted p-4 text-sm",children:`OTEL_SERVICE_NAME=my-service
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
OTEL_TRACES_SAMPLER=parentbased_traceidratio
OTEL_TRACES_SAMPLER_ARG=0.1`})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Exporters"}),e("p",{children:"By default, the OTLP exporter is used. You can point it to:"}),t("ul",{className:"list-disc space-y-2 pl-6",children:[e("li",{children:"Jaeger"}),e("li",{children:"Tempo (Grafana)"}),e("li",{children:"Honeycomb"}),e("li",{children:"Datadog (via OTel Collector)"})]})]})]})}export{a as OpsDistributedTracingPage};
