Skip to content

/probe/metrics endpoint is not returning any metric but /probe/metrics/list does for the same configuration #105

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

Open
suryakantkk opened this issue Oct 31, 2024 · 0 comments

Comments

@suryakantkk
Copy link

suryakantkk commented Oct 31, 2024

Hi @mblaschke and team,

Issue - Although the response code is 200, /probe/metrics endpoint is not returning any metric but /probe/metrics/list does for the same configuration.
I have implemented the project using the /probe/metrics/list endpoint but it does not return any region tag with the metric data. I am trying to switch to the /probe/metrics endpoint to get the region in the returned metric data but didn't return any metric information.

Also, it would be helpful if /probe/metrics/list endpoint itself returns region tag as well with the metric data.

`
scrape_configs:

  • job_name: azure-metrics-example
    scrape_interval: 1m
    metrics_path: /probe/metrics
    params:
    name:
    - azure_metric
    template:
    - '{name}{metric}{aggregation}_{unit}'
    help:
    - Azure metric {metric} for {aggregation}
    subscription:
    - xxxxxxxxxxxxxxxxx
    resourceType:
    - Microsoft.ContainerService/managedClusters
    metric:
    - node_cpu_usage_percentage
    interval:
    - PT1M
    timespan:
    - PT1M
    aggregation:
    - average
    validateDimensions:
    - 'false'
    static_configs:
    • targets:
      • url-to-your-azure-metrics-exporter-instance`
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

1 participant