GoogleCloudPlatform / GoogleCloudPlatform/k8s-stackdriver
[prometheus-to-sd] Gauges are always interpreted as int64
Open
- Dominant language
- Go
- Stars
- 409
- Forks
- 236
- Avg merge
- 2h 34m
- Merged PRs (30d)
- 9
Description
For example, if I import the following
```
# HELP jenkins_health_check_count Generated from Dropwizard metric import (metric=jenkins.health-check.count, type=jenkins.metrics.api.Metrics$HealthChecker$1)
# TYPE jenkins_health_check_count gauge
jenkins_health_check_count 4.0
```
And then the imported metric looks like the following in stackdriver

I believe this can be fixed with a slight tweak to `extractValueType()`. But maybe there is a smarter way to fix this.
Contributor guide
Assessment
This issue has not been assessed yet.