Skip to main content
GET
/
v1
/
metrics
/
{metricName}
cURL
curl --request GET \
  --url https://api.qyl.dev/v1/metrics/{metricName}
{
  "name": "<string>",
  "type": "gauge",
  "label_keys": [
    "<string>"
  ],
  "services": [
    "<string>"
  ],
  "description": "<string>",
  "unit": "<string>"
}

Path Parameters

metricName
string
required

Response

The request has succeeded.

Metric metadata

name
string
required

Metric name

type
enum<string>
required

Metric type

Available options:
gauge,
sum,
histogram,
exponential_histogram,
summary
label_keys
string[]
required

Available label keys

services
string[]
required

Services reporting this metric

description
string

Metric description

unit
string

Metric unit