Table of Contents

Namespace JD.AI.Telemetry

Classes

ActivitySources

Central ActivitySource definitions for JD.AI distributed tracing. All instrumentation in JD.AI uses these named sources so that a single AddSource(ActivitySources.AllSourceNames) call registers them all.

GenAiAttributes

OpenTelemetry Gen AI semantic convention attribute names. See: https://opentelemetry.io/docs/specs/semconv/gen-ai/

Meters

Central Meter and instrument definitions for JD.AI metrics. All counters and histograms follow the jdai.* naming convention and use the emerging OpenTelemetry GenAI semantic conventions where applicable.

TelemetryConfig

Configuration for JD.AI telemetry (tracing and metrics). Bind from appsettings.json under the Gateway:Telemetry key. The OTEL_SERVICE_NAME and OTEL_EXPORTER_OTLP_ENDPOINT environment variables are also honored (see individual property docs).