Commit 947aa74
opentelemetry-sdk: fix OTLP exporting of histogram explicit buckets advisory (open-telemetry#4434)
* opentelemetry-sdk: fix OTLP exporting of histogram explicit buckets advisory
OTLP exporters don't rely on the default aggregation for histogram
instead they do it explicitly. So instead of setting boundaries at init
time of ExplicitBucketHistogramAggregation delay it in _create_aggregation
when we have the Histogram at hand.
Co-authored-by: Emídio Neto <[email protected]>
* Add changelog
* Update CHANGELOG.md
Co-authored-by: Emídio Neto <[email protected]>
---------
Co-authored-by: Emídio Neto <[email protected]>1 parent a7fe4f8 commit 947aa74
File tree
3 files changed
+39
-4
lines changed- opentelemetry-sdk
- src/opentelemetry/sdk/metrics/_internal
- tests/metrics/integration_test
3 files changed
+39
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | 1370 | | |
1375 | 1371 | | |
1376 | 1372 | | |
| |||
1391 | 1387 | | |
1392 | 1388 | | |
1393 | 1389 | | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
1394 | 1396 | | |
1395 | 1397 | | |
1396 | 1398 | | |
| |||
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
0 commit comments