ListMetrics (GET /v1/dictionary/metrics)
The ListMetrics method returns a list of all metric definitions in use. This includes all the Zenoss Cloud default definitions (except those you have overridden), and all definitions you have created or overridden.
Status Codes
- 200 (definitions exist)
Examples
ListMetrics Request
curl https://api.zenoss.io/v1/dictionary/metrics \ -H "zenoss-api-key: YOUR-API-KEY" \ -X GET -s
ListMetrics Response (truncated)
{ "metrics": [ { "name": "sysUpTime_sysUpTime", "label": "Uptime", "description": "The time (in hundredths of a second) ...", "units": "centiseconds", "minimum": "0" }, { "name": "k8s.cluster.memory.bytes", "label": "Cluster Memory Usage", "description": "Total memory bytes used by all containers in the Kubernetes cluster.", "units": "bytes", "minimum": "0" }, { "name": "CPUUtilization_CPUUtilization", "label": "CPU Utilization", "description": "The percentage of allocated EC2 compute units ...", "minimum": "0", "maximum": "100" }, . . . ] }