genkit_otel 0.1.0 copy "genkit_otel: ^0.1.0" to clipboard
genkit_otel: ^0.1.0 copied to clipboard

OpenTelemetry GenAI semantic-conventions instrumentation for Genkit Dart (traces, metrics, and message-content capture).

0.1.0 #

  • Initial release: GenAiInstrumentation, an OpenTelemetry GenAI semantic-conventions provider for Genkit built on dartastic_opentelemetry.
  • Emits gen_ai.* client spans for model operations, optional execute_tool spans, and generic spans for other Genkit action types.
  • Emits the GenAI client metrics gen_ai.client.token.usage and gen_ai.client.operation.duration.
  • Optional message-content capture via contentCapturingMode (noContent/spanOnly/eventOnly/spanAndEvent), mirroring the OTel GenAI ContentCapturingMode. Off by default; when unset, the env var OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT is parsed using the spec's UPPER_SNAKE tokens.
0
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publishergenkit.dev

OpenTelemetry GenAI semantic-conventions instrumentation for Genkit Dart (traces, metrics, and message-content capture).

Repository (GitHub)
View/report issues
Contributing

Topics

#genkit #opentelemetry #observability #telemetry #genai

License

Apache-2.0 (license)

Dependencies

dartastic_opentelemetry, genkit, logging

More

Packages that depend on genkit_otel