Skip to content

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

@suryakantkk

Description

@suryakantkk

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions