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 Resource Metrics missing metrics after upgrade from 8.11.1 to 8.11.3 #37642

Closed
zmoog opened this issue Jan 16, 2024 · 2 comments · Fixed by #37643
Closed

Azure Resource Metrics missing metrics after upgrade from 8.11.1 to 8.11.3 #37642

zmoog opened this issue Jan 16, 2024 · 2 comments · Fixed by #37643
Assignees
Labels
bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Comments

@zmoog
Copy link
Contributor

zmoog commented Jan 16, 2024

The Azure Monitor metricset does not correctly store metrics using the max and min aggregation types in Elasticsearch.

For confirmed bugs, please report:

  • Version: 8.11.2, 8.11.3, 8.11.4, and 8.12.0
  • Operating System: any

Steps to Reproduce

Set up the Azure Monitor metricset with the following Metricbeat module configuration:

- module: azure
  metricsets:
  - monitor
  enabled: true
  period: 300s
  client_id: '...'
  client_secret: '...'
  tenant_id: '...'
  subscription_id: '...'
  refresh_list_interval: 600s
  resources:
  - resource_query: resourceType eq 'Microsoft.Cache/redis'
     metrics:
      - dimensions:
          - name: ShardId
            value: '*'
          - name: Port
            value: '*'
          - name: Primary
            value: '*'
        ignore_unsupported: true
        name:
          - allcachehits
          - allcachemisses
          - allcacheRead
          - allcacheWrite
          - allconnectedclients
          - allevictedkeys
          - allexpiredkeys
          - allgetcommands
          - alloperationsPerSecond
          - allpercentprocessortime
          - allserverLoad
          - allsetcommands
          - alltotalcommandsprocessed
          - alltotalkeys
          - allusedmemory
          - allusedmemorypercentage
          - allusedmemoryRss
          - ConnectedClientsUsingAADToken
        namespace: Microsoft.Cache/redis
        timegrain: PT1M

Run the metricset to collect some metrics.

The collected documents do not contain metrics having min and max aggregation types.

@zmoog zmoog self-assigned this Jan 16, 2024
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 16, 2024
@zmoog zmoog added bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jan 16, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services)

@zmoog zmoog changed the title [Azure] Metrics with max and min aggregations are not saved in Elasticsearch Azure Metrics with max and min aggregations are not saved in Elasticsearch Jan 16, 2024
@zmoog zmoog changed the title Azure Metrics with max and min aggregations are not saved in Elasticsearch Azure Resource Metrics missing metrics after upgrade from 8.11.1 to 8.11.3 Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants