The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 06:00 UTC
| 1 | /** |
| 2 | * Axiom routes OTLP ingest by a dataset header. Traces and logs use |
| 3 | * `X-Axiom-Dataset`; the metrics endpoint requires `X-Axiom-Metrics-Dataset` |
| 4 | * instead (https://axiom.co/docs/send-data/opentelemetry). |
| 5 | * |
| 6 | * @internal |
| 7 | */ |
| 8 | export const otelDatasetHeader = (metrics: boolean): string => |
| 9 | metrics ? "X-Axiom-Metrics-Dataset" : "X-Axiom-Dataset"; |