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

parameter "subscription" is missing #59

Open
pavithra24 opened this issue Aug 10, 2023 · 2 comments
Open

parameter "subscription" is missing #59

pavithra24 opened this issue Aug 10, 2023 · 2 comments

Comments

@pavithra24
Copy link

Below is my configuration for azure metrics exporter, when I browse /probe/metrics/list
I get this error parameter "subscription" is missing

- job_name: azure-metrics-databases
   scrape_interval: 1m
   metrics_path: /probe/metrics/list
   params:
     name: ["azure-databases"]
     subscription:
     - xxx-xxx
     filter: ["resourceType eq 'Microsoft.DBforMySQL/servers'"]
     metric:
     - storage_used
     - storage_percent
     - connections_failed
     - cpu_percent
     - active_connections
     - network_bytes_egress
     - network_bytes_ingress
     interval: ["PT1M"]
     timespan: ["PT1M"]
     aggregation:
     - average
     - total
   static_configs:
   - targets: ["azure-metrics-exporter-webdevops.external-monitor.svc.cluster.local:8080"]

Please help me to fix this, I do see this on Prometheus dashboard

azure_databases{aggregation="average", instance="azure-metrics-exporter-webdevops.external-monitor.svc.cluster.local:8080", interval="PT1M", job="azure-metrics-databases", metric="active_connections", resourceGroup="databases-rg", resourceID="/subscriptions/xxx-xxx/resourcegroups/databases-rg/providers/microsoft.dbformysql/servers/shopware-mysql", resourceName="shopware-mysql", subscriptionID="xxx-xxx", subscriptionName="dedicated", timespan="PT1M", unit="Count"}

@pavithra24
Copy link
Author

Hello devs, could you please help on this issue

@mblaschke
Copy link
Member

you don't have any output? no metrics scraped?
what happens if you try the /query url and trigger the metrics probe (eg use portforward)?

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