v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Metrics

Get active metrics list

Get the list of actively reporting metrics from a given time until now.

get/api/v1/metrics

Query parameters

frominteger required

Seconds since the Unix epoch.

hoststring

Hostname for filtering the list of metrics returned. If set, metrics retrieved are those with the corresponding hostname tag.

tag_filterstring

Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions. Cannot be combined with other filters.

Response

OK

fromstring

Time when the metrics were active, seconds since the Unix epoch.

metricsstring[]

List of metric names.

Example response

{
  "from": "1571011200",
  "metrics": [
    "system.cpu.idle",
    "system.mem.free",
    "aws.ec2.cpuutilization"
  ]
}