Commit e762e37
chore(telemetry): drop http_server body-size histograms via OTel views
The http.server.{request,response}.body.size histograms are
auto-instrumented by otelhttp and pushed OTLP-direct to Grafana Cloud
(bypassing Alloy), so they can't be dropped with a chart-side relabel.
They account for ~700 active series and back no panels.
Register sdkmetric.NewView for each, applying AggregationDrop{}, on the
OTLP MeterProvider. The http.server.request.duration histogram is left
untouched — its buckets back the p50/p95/p99 latency panels.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent de5cc53 commit e762e37
1 file changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
144 | 166 | | |
145 | 167 | | |
146 | 168 | | |
| |||
0 commit comments