Returns the list of time series that match a certain label set.
GET/v1/metrics/prometheus/api/v1/series
Retrieve time series data by submitting a GET request with label matchers and time range parameters. Please ensure to change the region in the URL to match your account's region.
Request
Query Parameters
match[] string[]required
Series selector that selects the series to return. At least one must be provided.
start stringrequired
Start timestamp, inclusive, as an RFC3339 or Unix timestamp.
end stringrequired
End timestamp, inclusive, as an RFC3339 or Unix timestamp.
limit integer
Maximum number of returned series. Optional.
Responses
- 200
- 400
- 500
List of matching time series.
- application/json
- Schema
- Example (from schema)
Schema
status string
Status of the request (e.g., success, fail).
data object[]
{
"status": "string",
"data": [
{}
]
}
Invalid request parameters.
Internal server error.
Loading...