promitor icon indicating copy to clipboard operation
promitor copied to clipboard

Total Metric cycling values including 0 instead of giving consistent result

Open daniel-anova opened this issue 2 years ago • 0 comments

Report

As reported in https://github.com/tomkerkhove/promitor/discussions/2149 when importing certain metrics like azure_cosmos_db_data_usage the values continuously cycle from real value to 0.

Expected Behavior

The value should be consistently showing the highest value on every point.

Actual Behavior

Value will cycle from 0 to real value.

Steps to Reproduce the Problem

...

Component

Resource Discovery, Scraper

Version

promitor-resource-discovery: 0.8.1 (helm release), 0.8.0 (container) promitor-scraper: 2.9.0 (helm release), 2.8.0 (container)

Configuration

Configuration:

    metricDefaults:
      aggregation:
        interval: 00:05:00
      scraping:
        schedule: "* * * * *"
    metrics:
      - name: azure_cosmos_db_data_usage
        description: Total data usage reported at 5 minutes granularity
        resourceType: CosmosDb
        azureMetricConfiguration:
          metricName: DataUsage
          aggregation:
            type: Total

Logs

No response

Platform

Microsoft Azure

Contact Details

[email protected]

daniel-anova avatar Oct 17 '22 15:10 daniel-anova