Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gaps in data scraped from Azure Monitor #112

Open
anoop2503 opened this issue Mar 22, 2022 · 1 comment
Open

Gaps in data scraped from Azure Monitor #112

anoop2503 opened this issue Mar 22, 2022 · 1 comment

Comments

@anoop2503
Copy link

Hi,

I am trying to scrape Virtual Machine metrics from Azure monitor using this exporter. But I can see a lot of gaps in the graph. I am running the exporter in kubernetes environment and using the metric "percentage_cpu_percent_average" to plot the graph in Grafana/Prometheus. Please find my exporter configuration below.

   active_directory_authority_url: "https://login.microsoftonline.com/"
    resource_manager_url: "https://management.azure.com/"
    credentials:
      subscription_id: ******-****-******-*****-******
    resource_groups:
      - resource_group: "***********"
        resource_types:
          - "Microsoft.Compute/virtualMachines"
        metrics:
          - name: "Percentage CPU"
          - name: "Available Memory Bytes"
          - name: "Network In Total"
          - name: "Network Out Total"
          - name: "Disk Read Bytes"
          - name: "Disk Write Bytes"
          - name: "Disk Read Operations/Sec"
          - name: "Disk Write Operations/Sec"
          - name: "Inbound Flows"
          - name: "Outbound Flows"

The prometheus is scraping metrics from the exporter in every 30 seconds and I believe there is no scrape interval configuration required for the exporter itself to scrape metrics from Azure Monitor.

The data is matching to the actual data in Azure monitor data. However, there is no gap if we directly check the Azure Monitor dashboards. Please share the details, if anyone has any idea why I am seeing the gaps in the data received from exporter?

Thank You,

@ruyuan101
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants