Commit 5837dfb
committed
Export one OTLP span per worker request to Axiom (env-gated)
Hand-rolled OTLP/HTTP JSON, no new deps. Inert without AXIOM_TOKEN/AXIOM_DATASET; export via ctx.waitUntil after the response with all failures swallowed. Spans carry templated route patterns, tenant/auth classification, routed account kind, and upstream status; redaction test proves no srt_/sk-ant-/Bearer material can appear. SUBROUTER_ENV var added per env1 parent 76e0e67 commit 5837dfb
5 files changed
Lines changed: 730 additions & 28 deletions
File tree
- cloudflare/packages/worker
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
180 | 203 | | |
181 | 204 | | |
182 | 205 | | |
| |||
0 commit comments