Commit 15124d6
committed
fix: restore OTLP metrics ingestion into Prometheus
Prometheus 3.x replaced the otlp-write-receiver feature flag with
--web.enable-otlp-receiver; with the old flag the collector's metrics
export 404ed and all OTLP metrics were silently dropped (surfaced by the
new demo). Also add a Loki derived field so trace_id arriving as OTLP
structured metadata links to Tempo, not just trace ids in the log body.1 parent 50e8476 commit 15124d6
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
0 commit comments