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
I have Promitor deployed in my azure kubernetes cluster successfully sending metrics to my Prometheus deployment. I am successfully receiving most metrics from a Data Factory and Postgres flexible server. However I have an issue collecting a few metrics from both these applications. Both applications are supported according to the documentation.
For Data Factory I am attempting to scrape the integration runtime CPU and memory, which are available in the associated azure monitor. I have tried several different configurations but I keep getting no metrics, and variations of the same error: "BadRequest: Metric: IntegrationRuntimeCpuPercentage does not support requested dimension combination: name, supported ones are: IntegrationRuntimeName,NodeName, "
For the postgres server I actually receive the metric "cpu_credits_remaining" in Prometheus, but here, the value shows up as unavailable (-1).
I am not sure if I am defining these metrics correctly or if they are even supported. I have not been able to find anything regarding this in the documentation. I hope you can help or let me know if/how I should be able to get these metrics. :)
Thanks for your time.
Expected Behavior
I expected all metric values from supported azure resources to appear in Prometheus. However, these three metrics do not:
I keep getting no metrics, and variations of the same error: "BadRequest: Metric: IntegrationRuntimeCpuPercentage does not support requested dimension combination: name, supported ones are: IntegrationRuntimeName,NodeName, "
Steps to Reproduce the Problem
Deploy AKS in Azure. Deploy Promitor and integrate with Prometheus.
Write metric config for Promitor with metrics
Write resource discovery groups config
Open prometheus/promitor to search for the metrics
All my other configured metrics are working, but these two do not show up.
Component
Scraper
Version
Helm chart 2.11.0 (app version 2.10.1)
Configuration
Configuration:
metrics:
- name: promitor_azure_data_factory_integration_runtime_available_cpudescription: "The CPU usage (%) of ADF integration runtime"resourceType: DataFactoryazureMetricConfiguration:
metricName: IntegrationRuntimeCpuPercentageaggregation:
type: Averageinterval: 00:01:00resourceDiscoveryGroups:
- name: data-factory-landscape
- name: promitor_azure_data_factory_integration_runtime_available_memorydescription: "The available memory of the integration runtime"resourceType: DataFactoryazureMetricConfiguration:
metricName: IntegrationRuntimeAvailableMemoryaggregation:
type: Averageinterval: 00:01:00
- name: promitor_azure_postgresql_cpu_credits_remainingdescription: "Returns the amount of CPU credits remaining for burstable CPU resource"resourceType: PostgreSqlazureMetricConfiguration:
metricName: cpu_credits_remainingaggregation:
type: Averageinterval: 00:01:00resourceDiscoveryGroups:
- name: postgres-database-landscapetype: PostgreSql
- name: data-factory-landscapetype: DataFactory
- name: kubernetes-service-landscapetype: KubernetesService
- name: storage-account-landscapetype: StorageAccount
- name: container-registry-landscapetype: ContainerRegistry
Logs
`"BadRequest: Metric: IntegrationRuntimeCpuPercentage does not support requested dimension combination: name, supported ones are: IntegrationRuntimeName,NodeName, "`
I figured out why the cpu_credits_remaining metric was received as -1 or null value. After querying azure directly for the metric, I can see that the last 10 minutes of metrics are reported as null values. Simply changing the aggregation interval to 20 minutes resolved this issue for me.
- name: promitor_azure_postgresql_cpu_credits_remaining
description: "Returns the amount of CPU credits remaining for burstable CPU resource"
resourceType: PostgreSql
azureMetricConfiguration:
metricName: cpu_credits_remaining
aggregation:
type: Average
interval: 00:20:00
Report
Hi,
I have Promitor deployed in my azure kubernetes cluster successfully sending metrics to my Prometheus deployment. I am successfully receiving most metrics from a Data Factory and Postgres flexible server. However I have an issue collecting a few metrics from both these applications. Both applications are supported according to the documentation.
For Data Factory I am attempting to scrape the integration runtime CPU and memory, which are available in the associated azure monitor. I have tried several different configurations but I keep getting no metrics, and variations of the same error:
"BadRequest: Metric: IntegrationRuntimeCpuPercentage does not support requested dimension combination: name, supported ones are: IntegrationRuntimeName,NodeName, "
For the postgres server I actually receive the metric "cpu_credits_remaining" in Prometheus, but here, the value shows up as unavailable (-1).
I am not sure if I am defining these metrics correctly or if they are even supported. I have not been able to find anything regarding this in the documentation. I hope you can help or let me know if/how I should be able to get these metrics. :)
Thanks for your time.
Expected Behavior
I expected all metric values from supported azure resources to appear in Prometheus. However, these three metrics do not:
Actual Behavior
I keep getting no metrics, and variations of the same error:
"BadRequest: Metric: IntegrationRuntimeCpuPercentage does not support requested dimension combination: name, supported ones are: IntegrationRuntimeName,NodeName, "
Steps to Reproduce the Problem
Component
Scraper
Version
Helm chart 2.11.0 (app version 2.10.1)
Configuration
Configuration:
Logs
`"BadRequest: Metric: IntegrationRuntimeCpuPercentage does not support requested dimension combination: name, supported ones are: IntegrationRuntimeName,NodeName, "`
Platform
Microsoft Azure
Contact Details
[email protected]
The text was updated successfully, but these errors were encountered: