GoogleCloudPlatform / GoogleCloudPlatform/k8s-stackdriver

[prometheus-to-sd] Metrics of Histogram type are exported with Stackdriver resource type: None

Open
#239 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
409
Forks
236
Avg merge
2h 34m
Merged PRs (30d)
9

Description

I am trying to export the following kind of metrics:
```
# HELP gitlab_cache_operation_duration_seconds Multiprocess metric
# TYPE gitlab_cache_operation_duration_seconds histogram
gitlab_cache_operation_duration_seconds_bucket{controller............} 11234
gitlab_cache_operation_duration_seconds_count{controller..............} 1234
gitlab_cache_operation_duration_seconds_sum{controller..............} 1234
```
While the metric `gitlab_cache_operation_duration_seconds_bucket` is exported it has SD resource type `None` and thus completely useless.
Metrics `gitlab_cache_operation_duration_seconds_count` and `gitlab_cache_operation_duration_seconds_sum` are not exported at all.
There are no related errors in the log

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.