Commit 88ad971
authored
Exporter/Prometheus: Append +Inf to histogram buckets. (census-instrumentation#490)
Prometheus requires buckets to be sorted, and +Inf present. Append +Inf to the bucket boundary list. Prometheus client comment is https://github.com/prometheus/client_python/blob/master/prometheus_client/metrics_core.py#L204.1 parent beb70f7 commit 88ad971
File tree
2 files changed
+6
-2
lines changed- opencensus/stats/exporters
- tests/unit/stats/exporter
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments