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

Metrics not shown in prometheus for Backup Vault #60

Open
cvallesi-kainos opened this issue Aug 15, 2023 · 1 comment
Open

Metrics not shown in prometheus for Backup Vault #60

cvallesi-kainos opened this issue Aug 15, 2023 · 1 comment

Comments

@cvallesi-kainos
Copy link

cvallesi-kainos commented Aug 15, 2023

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:
image

Browsing metrics:
image

Is there anything that I maybe stupidly missing here? :|

@mblaschke
Copy link
Member

is there any output on the probe url?

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