Skip to content

Apigee metrics from GCP - bucket type prometheus metrics value is not increasing monotonically #336

Open
@sundar-ka

Description

@sundar-ka

We've been introduced to this stackdriver_exporter recently and started using it to export metrics from GCP infra to our prometheus. Specifically the metrics of Apigee proxy provided as a managed service in GCP. We found a specific type of metric which got exported through the stackdriver exporter is not increasing monotonically in its value over the time. This metric type is used to bucket the range of values in different buckets which then can be used to calculate quantiles using histogram_quantile function with prometheus.
Here is an example for metric which is used for calculating latency whose value didn't increase monotonically

test

Error got from prometheus while calculating histogram quantile using the above metric

test1

This is a helm based deployment in a kubernetes cluster.

Helm Chart version deployed - v4.5.0
Exporter app version deployed - v0.15.0

Expected:
The metric _bucket value has to be increasing always like a counter type metric

Help needed . Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions