Gets the descriptor of the specified metric.

Parameters

ParameterDescription
Metric KeyThe key of the required metric.

You can set additional transformation operators, separated by a colon (:). See Metrics selector transformations in Dynatrace Documentation for additional information on available result transformations and syntax.

Example Output

{
	"aggregationTypes": [
		"auto",
		"value"
	],
	"created": 1597400123451,
	"dduBillable": false,
	"defaultAggregation": {
		"type": "value"
	},
	"description": "Percentage of user-space CPU time currently utilized, per host.",
	"dimensionCardinalities": [
		{
			"estimate": 20,
			"key": "dt.entity.host",
			"relative": 0.2
		}
	],
	"dimensionDefinitions": [
		{
			"displayName": "Host",
			"index": 0,
			"key": "dt.entity.host",
			"name": "Host",
			"type": "ENTITY"
		}
	],
	"displayName": "CPU user",
	"entityType": [
		"HOST"
	],
	"lastWritten": 1597400717783,
	"latency": 1,
	"metricId": "builtin:host.cpu.user:splitBy(\"dt.entity.host\"):max:fold",
	"metricValueType": {
		"type": "unknown"
	},
	"scalar": false,
	"tags": [],
	"transformations": [
		"filter",
		"fold",
		"limit",
		"merge",
		"names",
		"parents",
		"timeshift",
		"rate",
		"sort",
		"last",
		"splitBy"
	],
	"unit": "Percent"
}

Workflow Library Example

Get Metric with Dynatrace and Send Results Via Email

Preview this Workflow on desktop

Gets the descriptor of the specified metric.

Parameters

ParameterDescription
Metric KeyThe key of the required metric.

You can set additional transformation operators, separated by a colon (:). See Metrics selector transformations in Dynatrace Documentation for additional information on available result transformations and syntax.

Example Output

{
	"aggregationTypes": [
		"auto",
		"value"
	],
	"created": 1597400123451,
	"dduBillable": false,
	"defaultAggregation": {
		"type": "value"
	},
	"description": "Percentage of user-space CPU time currently utilized, per host.",
	"dimensionCardinalities": [
		{
			"estimate": 20,
			"key": "dt.entity.host",
			"relative": 0.2
		}
	],
	"dimensionDefinitions": [
		{
			"displayName": "Host",
			"index": 0,
			"key": "dt.entity.host",
			"name": "Host",
			"type": "ENTITY"
		}
	],
	"displayName": "CPU user",
	"entityType": [
		"HOST"
	],
	"lastWritten": 1597400717783,
	"latency": 1,
	"metricId": "builtin:host.cpu.user:splitBy(\"dt.entity.host\"):max:fold",
	"metricValueType": {
		"type": "unknown"
	},
	"scalar": false,
	"tags": [],
	"transformations": [
		"filter",
		"fold",
		"limit",
		"merge",
		"names",
		"parents",
		"timeshift",
		"rate",
		"sort",
		"last",
		"splitBy"
	],
	"unit": "Percent"
}

Workflow Library Example

Get Metric with Dynatrace and Send Results Via Email

Preview this Workflow on desktop