azure-metrics-exporter
azure-metrics-exporter copied to clipboard
Metrics not shown in prometheus for Backup Vault
Hi there,
I have successfully configured jobs to get metrics from Frontdoor or App Service but when trying to get metrics from Backup Vault, they simply aren't shown.
I generated the job configuration using the query builder in /query
and verified that in prometheus the target is responding.
Checked the namespace logs for azure-metrics-exporter and cannot see any error, but when I try to see if the metrics generated by the job are there, the prometheus auto-complete is not showing up anything related to the job.
This is the configuration:
[...]
- job_name: azure-backup-vault
scrape_interval: 1m
metrics_path: /probe/metrics/list
params:
name:
- azurerm_backup_vault
template:
- '{name}_{metric}_{aggregation}_{unit}'
help:
- Azure Backup Vault {metric} for {aggregation}
subscription:
- OMITTED
resourceType:
- Microsoft.DataProtection/BackupVaults
metric:
- BackupHealthEvent
- RestoreHealthEvent
interval:
- PT1H
timespan:
- PT1H
aggregation:
- count
static_configs:
- targets:
- azure-metrics-exporter.azure-metrics-exporter.svc.cluster.local:8080
Prometheus endpoint:
Browsing metrics:
Is there anything that I maybe stupidly missing here? :|
is there any output on the probe url?