Skip to main content

Crate jamjet_telemetry

Crate jamjet_telemetry 

Source
Expand description

JamJet Telemetry

Provides:

  • Structured logging via tracing
  • OpenTelemetry traces and metrics (OTLP exporter)
  • Stdout dev console exporter
  • Span naming conventions for workflow, node, model, tool, MCP, and A2A spans

Modules§

capture
Opt-in prompt/completion capture with redaction.
gen_ai_attrs
OpenTelemetry GenAI semantic convention span attributes.
metrics
JamJet OTel metrics — counters and histograms recorded by the runtime.
span_names
Span name constants for consistent trace naming.

Functions§

init
Initialize the global tracing subscriber.
record_execution_context
Helper to record JamJet execution context on a span.
record_gen_ai_usage
Helper to record GenAI attributes on the current span.