Documentation
¶
Overview ¶
Package main demonstrates using WithPrometheusRegisterer for OpenTelemetry observability with the Codex Agent SDK.
WithPrometheusRegisterer is the simplest way to get Prometheus metrics from the SDK. It automatically creates an OTel MeterProvider backed by the provided Prometheus registerer via the OTel→Prometheus bridge.
Click to show internal directories.
Click to hide internal directories.