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.jsonunder theGateway:Telemetrykey. TheOTEL_SERVICE_NAMEandOTEL_EXPORTER_OTLP_ENDPOINTenvironment variables are also honored (see individual property docs).