Use this API to retrieve the definitions of the metrics that GitLab collects for Service Ping.
Download metric definitions
GET /api/v4/usage_data/metric_definitions
Downloads all metric definitions as a single YAML file.
Parameters
| Name | Type | Description |
|---|---|---|
include_Query | Boolean | Include file paths in the metric definitions Example: true |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | String (application/) |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |