mirror of
https://github.com/openai/codex.git
synced 2026-04-29 02:41:12 +03:00
fix metrics_exporter inconsistencies
This commit is contained in:
@@ -106,6 +106,18 @@ through that shared tracing pipeline.
|
||||
OTEL resolution follows the same defaults as Codex core (`environment = "dev"`,
|
||||
`exporter = "none"`, `trace_exporter = exporter`, `metrics_exporter = "statsig"`), and
|
||||
`log_user_prompt` is accepted for compatibility but ignored by the proxy.
|
||||
Standalone mode also honors top-level `[analytics].enabled`; when it is `false`, metrics export is
|
||||
disabled (`metrics_exporter = "none"`), even if a metrics exporter is configured under `[otel]`.
|
||||
|
||||
Example:
|
||||
|
||||
```toml
|
||||
[analytics]
|
||||
enabled = false
|
||||
|
||||
[otel]
|
||||
metrics_exporter = "statsig" # ignored while analytics is disabled
|
||||
```
|
||||
|
||||
To filter proxy logs locally, use:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user