---
title: "GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}"
method: GET
path: "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}"
tags: ["Metrics"]
---

# GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}

`GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Gets the service related metrics information.

## Path parameters

- `serviceName` string, required
- `metricName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The metric metadata for a given metric.

- MetricMetadata: The metric meta data
  - `metricsProcessorClassName` string: The name of the class which retrieve and process the metric.
  - `metricName` string: The metric name
  - `groupings` MetricGroup[]: The groupings for the metrics.
    - `key` string: The key for the group.
    - `displayName` string: The display name for the group.
    - `invisibleForUi` boolean: indicates if the metric group is displayed in Azure Active Directory Connect Health UI.
  - `displayName` string: The display name for the metric.
  - `valueKind` string: Indicates if the metrics is a rate,value, percent or duration type.
  - `minValue` integer: The minimum value.
  - `maxValue` integer: The maximum value.
  - `kind` string: Indicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.
  - `isDefault` boolean: Indicates if the metric is a default metric or not.
  - `isPerfCounter` boolean: Indicates if the metric is a performance counter metric or not.
  - `isDevOps` boolean: Indicates if the metric is visible to DevOps or not.

---

[API](https://skmtc.dev/azure/apis/adhybridhealthservice.md) - [All operations](https://skmtc.dev/azure/apis/adhybridhealthservice/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/adhybridhealthservice/revisions/35cb734a789a?raw)
