GET
/
system
/
metric
/
{name}
Get a metric's data
curl --request GET \
  --url https://{FUSION HOST}/api/system/metric/{name}
{
  "metricRegistry": {
    "metrics": {},
    "names": [
      "<string>"
    ],
    "gauges": {},
    "counters": {},
    "histograms": {},
    "meters": {},
    "timers": {}
  },
  "metricsList": {},
  "pretty": true,
  "rateUnit": "NANOSECONDS",
  "durationUnit": "NANOSECONDS",
  "showSamples": true
}

Path Parameters

name
string
required

The name of the metric to display.

Query Parameters

pretty
boolean

True to format the data for easier reading.

rateUnit
string

The time unit ('seconds', 'minutes', and so on) to display rates.

durationUnit
string

The time unit ('seconds', 'minutes', and so on) to display durations.

showSamples
boolean

True to display the data values used in calculations.

Response

200 - application/json

successful operation

The response is of type object.