You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Promitor.Integrations.AzureMonitor.Exceptions.MetricNotFoundException: The metric 'storage_percent' was not found
at Promitor.Integrations.AzureMonitor.AzureMonitorQueryClient.QueryMetricAsync(String metricName, List`1 metricDimensions, PromitorMetricAggregationType aggregationType, TimeSpan aggregationInterval, String resourceId, String metricFilter, Nullable`1 metricLimit) in /src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs:line 88
at Promitor.Core.Scraping.AzureMonitorScraper`1.ScrapeResourceAsync(String subscriptionId, ScrapeDefinition`1 scrapeDefinition, TResourceDefinition resourceDefinition, PromitorMetricAggregationType aggregationType, TimeSpan aggregationInterval) in /src/Promitor.Core.Scraping/AzureMonitorScraper.cs:line 54
at Promitor.Core.Scraping.Scraper`1.ScrapeAsync(ScrapeDefinition`1 scrapeDefinition) in /src/Promitor.Core.Scraping/Scraper.cs:line 80
my yaml file
version: v1azureMetadata:
tenantId: abc123subscriptionId: 123456resourceGroupName: promitorcloud: GlobalmetricDefaults:
aggregation:
interval: 00:05:00scraping:
schedule: "*/5 * * * *"metrics:
- name: azure_sql_storage_percentdescription: "Data space used percent"resourceType: SqlDatabaseazureMetricConfiguration:
metricName: storage_percentaggregation:
type: Averageresources:
- serverName: foodatabaseName: barsubscriptionId: 9876554321# AFAIK, you can overwrite this. See https://github.com/promitor/docs/blob/main/docs/scraping/overview.mdresourceGroupName: Default-SQL-EastUS # AFAIK, you can overwrite this. See https://github.com/promitor/docs/blob/main/docs/scraping/overview.md
version: v1azureMetadata:
tenantId: abc123subscriptionId: 123456resourceGroupName: promitorcloud: GlobalmetricDefaults:
aggregation:
interval: 00:05:00scraping:
schedule: "*/5 * * * *"metrics:
- name: azure_sql_storage_percentdescription: "Data space used percent"resourceType: SqlDatabaseazureMetricConfiguration:
metricName: storage_percentaggregation:
type: Averageresources:
- serverName: foodatabaseName: barsubscriptionId: 9876554321# AFAIK, you can overwrite this. See https://github.com/promitor/docs/blob/main/docs/scraping/overview.mdresourceGroupName: Default-SQL-EastUS # AFAIK, you can overwrite this. See https://github.com/promitor/docs/blob/main/docs/scraping/overview.md
Logs
Promitor.Integrations.AzureMonitor.Exceptions.MetricNotFoundException: The metric 'storage_percent' was not found
at Promitor.Integrations.AzureMonitor.AzureMonitorQueryClient.QueryMetricAsync(String metricName, List`1 metricDimensions, PromitorMetricAggregationType aggregationType, TimeSpan aggregationInterval, String resourceId, String metricFilter, Nullable`1 metricLimit) in /src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs:line 88
at Promitor.Core.Scraping.AzureMonitorScraper`1.ScrapeResourceAsync(String subscriptionId, ScrapeDefinition`1 scrapeDefinition, TResourceDefinition resourceDefinition, PromitorMetricAggregationType aggregationType, TimeSpan aggregationInterval) in /src/Promitor.Core.Scraping/AzureMonitorScraper.cs:line 54 at Promitor.Core.Scraping.Scraper`1.ScrapeAsync(ScrapeDefinition`1 scrapeDefinition) in /src/Promitor.Core.Scraping/Scraper.cs:line 80
Platform
Microsoft Azure
Contact Details
No response
The text was updated successfully, but these errors were encountered:
Report
From https://docs.promitor.io/v2.11/scraping/providers/sql-database/, "All supported metrics are documented in the official Azure Monitor documentation". AFAIK, the link
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported#microsoftsqlserversdatabases
no longer exists... I am assuming the supported metrics new URL is https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-sql-servers-databases-metrics ?Using https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-sql-servers-databases-metrics, I've tried scrape several metrics... like
storage_percent
...they all have the same error similar toPromitor.Integrations.AzureMonitor.Exceptions.MetricNotFoundException: The metric 'storage_percent' was not found
detail logs
my yaml file
Expected Behavior
Able to scrape metrics @ https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-sql-servers-databases-metrics
Actual Behavior
Error: The metric was not found
Steps to Reproduce the Problem
Component
Scraper
Version
2.11.2
Configuration
Configuration:
Logs
Platform
Microsoft Azure
Contact Details
No response
The text was updated successfully, but these errors were encountered: