GoogleCloudPlatform / GoogleCloudPlatform/k8s-stackdriver

[prometheus-to-sd] Gauges are always interpreted as int64

Open
#235 2 comments 0 reactions 0 assignees View on GitHub
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

screen shot 2019-03-01 at 11 49 12 am

I believe this can be fixed with a slight tweak to `extractValueType()`. But maybe there is a smarter way to fix this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.