I am using Elastic Agent to collect Azure Monitor metrics using Azure Resource Metrics Integration
My configuration is as bellow:
- resource_query: resourceType eq 'Microsoft.ServiceBus/Namespaces'
metrics:
- name:
- Size
namespace: Microsoft.ServiceBus/Namespaces
ignore_unsupported: true
aggregations: ["Average", "Maximum", "Minimum"]
dimensions:
- name: "EntityName"
value: "*"
But there was only metric azure.metrics.size.avg
collected.
Indeed, I need to collect three metrics:
- azure.metrics.size.avg
- azure.metrics.size.min
- azure.metrics.size.max
Any idea about my misconfiguration?