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

Azure Monitor receiver doesn't honor time grain #37337

Open
an-mmx opened this issue Jan 20, 2025 · 1 comment · May be fixed by #37342
Open

Azure Monitor receiver doesn't honor time grain #37337

an-mmx opened this issue Jan 20, 2025 · 1 comment · May be fixed by #37342
Labels
bug Something isn't working needs triage New item requiring triage receiver/azuremonitor

Comments

@an-mmx
Copy link
Contributor

an-mmx commented Jan 20, 2025

Component(s)

receiver/azuremonitor

What happened?

Description

Azure monitor receiver has gaps in metrics when collecting PT1M metrics with 1 minute interval. It results in data points lost.

Steps to Reproduce

Configure Azure Monitor receiver to fetch any Azure metric with PT1M time grain

Expected Result

Metrics received for every minute without gaps: for 60 minutes receive 60 data points.

Actual Result

Some metrics are lost, for 60 minutes interval it collects roufly 40..45 data points.

Collector version

v0.117.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

exporters:
  debug:
    verbosity: detailed

processors:
  filter/azuremonitor/eventhub:
    error_mode: ignore
    metrics:
      metric:
        - 'not name == "azure_incomingmessages_total"'

receivers:
  azuremonitor/eventhub:
    subscription_id: "${env:AM_SUBSCRIPTION_ID}"
    tenant_id: "${env:AM_TENANT_ID}"
    client_id: "${env:AM_SP_CLIENT_ID}"
    client_secret: "${env:AM_SP_CLIENT_SECRET}"
    collection_interval: 1m
    initial_delay: 1s
    resource_groups:
      - ${env:AM_RESOURCE_GROUP}
    services:
      - microsoft.eventhub/namespaces

service:
  pipelines:
    metrics:
      exporters:
      - debug
      processors:
      - filter/azuremonitor/eventhub
      receivers:
      - azuremonitor/eventhub

Log output

Additional context

No response

@an-mmx an-mmx added bug Something isn't working needs triage New item requiring triage labels Jan 20, 2025
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage receiver/azuremonitor
Projects
None yet
1 participant