Ziqi Zhao
e8023fab22
prometheus exporter convert instrumentation scope to otel_scope_info metric ( #3357 )
...
* prometheus exporter convert instrumentation scope to otel_scope_info metric
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
* fix for commits
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
* fix for ci failed
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
* add multi scopes test
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
* fix ci failed
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2022-11-02 07:50:37 -07:00
David Ashpole
1d9d4b2124
add _total suffixes to prometheus counters ( #3360 )
2022-10-19 11:23:34 -07:00
Gustavo Paiva
2d02a2f126
converts Resource
into a target_info
metric on the prometheus exporter ( #3285 )
...
* converts `Resource` into a `target_info` metric on the prometheus exporter
2022-10-19 11:22:46 -05:00
David Ashpole
430f55878b
Convert UpDownCounters to Prometheus gauges ( #3358 )
...
* updown counters are now converted to prometheus gauges
* Update CHANGELOG.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-10-19 09:07:53 -07:00
Albert
1e72af45a9
promtheus exporter will sum hist buckets ( #3281 ) ( #3282 )
...
Signed-off-by: albertlockett <albert.lockett@gmail.com>
2022-10-14 09:13:35 -05:00
Damien Mathieu
697d245b9c
Update bucket default bounds ( #3222 )
...
* update bucket default bounds to match the specification
* add changelog entry
* test custom boundaries with valid histogram
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-10-04 15:41:18 -07:00
Damien Mathieu
bfaff3a097
Sanitize metric names in the prometheus exporter ( #3212 )
...
* sanitize metric names in the prometheus exporter
* add changelog entry
* fix now invalid comment
* replace sanitizeName algorithm with one based on strings.Map
* check that digits as first characters are replaced
* Update exporters/prometheus/exporter.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* add missing utf8 import
* add explicit tests for sanitizeName
* fix testdata with digit prepend
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2022-09-22 07:23:16 -07:00