We have a new version of this API—Metrics API v2. Check it out!
Lists all metric definitions, along with parameters of each metric available within your environment.
The full list can be lengthy, but you can narrow it down by specifying filter parameters such as the source of the metric. See the Parameters expandable section for more details.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/timeseries |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/timeseries |
To execute this request, you need an access token with DataExport
scope.
To learn how to obtain and use it, see Tokens and authentication.
The type of the metric, such as BUILTIN or CUSTOM.
ALL
BUILTIN
CUSTOM
PLUGIN
REMOTE_PLUGIN
The feature where metrics originates, such as Synthetic or RUM.
detailedSource
element:You can find allowed values for the detailedSource
element in the subheadings of the Built-in metrics and Plugin metrics sections of the available metrics pages for SaaS and Managed. Use them exactly as in headings—spaces included.
The result is JSON containing the array of objects, with each object representing a metric.
ResponseBody
objectTimeseriesDefinition
objectThe configuration of a metric with all its parameters.
The list of allowed aggregations for this metric.
AVG
COUNT
MAX
MEDIAN
MIN
PERCENTILE
SUM
The feature, where the metric originates.
The fine metric division, for example process group and process ID for some process-related metric.
The name of the metric in the user interface.
The feature, where the metric originates.
ALL
BUILTIN
CUSTOM
PLUGIN
REMOTE_PLUGIN
The ID of the plugin, where the metric originates.
The ID of the metric.
Technology type definition. Used to group metrics under a logical technology name.
The unit of the metric.
Ampere (A)
Billion (Gcount)
Bit (bit)
BitPerHour (bit/h)
BitPerMinute (bit/min)
BitPerSecond (bit/s)
Byte (B)
BytePerHour (B/h)
BytePerMinute (B/min)
BytePerSecond (B/s)
Cores
Count (count)
Day (ds)
DecibelMilliWatt (dBm)
G
GibiByte (GiB)
GibiBytePerHour (GiB/h)
GibiBytePerMinute (GiB/min)
GibiBytePerSecond (GiB/s)
GigaByte (GB)
GigaBytePerHour (GB/h)
GigaBytePerMinute (GB/min)
GigaBytePerSecond (GB/s)
Hertz (Hz)
Hour (hs)
KibiByte (KiB)
KibiBytePerHour (KiB/h)
KibiBytePerMinute (KiB/min)
KibiBytePerSecond (KiB/s)
KiloByte (kB)
KiloBytePerHour (kB/h)
KiloBytePerMinute (kB/min)
KiloBytePerSecond (kB/s)
M
MSU
MebiByte (MiB)
MebiBytePerHour (MiB/h)
MebiBytePerMinute (MiB/min)
MebiBytePerSecond (MiB/s)
MegaByte (MB)
MegaBytePerHour (MB/h)
MegaBytePerMinute (MB/min)
MegaBytePerSecond (MB/s)
MicroSecond (µs)
MilliSecond (ms)
MilliSecondPerMinute (ms/min)
Million (Mcount)
Minute (mins)
Month (mos)
N/A
NanoSecond (ns)
NanoSecondPerMinute (ns/min)
PerHour (count/h)
PerMinute (count/min)
PerSecond (count/s)
Percent (%)
Pixel (px)
Promille (‰)
Ratio
Second (s)
State
Trillion (Tcount)
Unspecified
Volt (V)
Watt (W)
Week (ws)
Year (ys)
k
km/h
m/h
m/s
mCores
The warnings that occurred while creating the metric.
[{"aggregationTypes": ["AVG","SUM","MIN","MAX"],"detailedSource": "Infrastructure","dimensions": ["HOST"],"displayName": "CPU idle","filter": "BUILTIN","timeseriesId": "com.dynatrace.builting:host.cpu.idle","types": ["Test"],"unit": "Percent","warnings": []}]
In this example, the request lists the metric of the PLUGIN type, where the detailed source is PHP-FPM.
The API token is passed in the Authorization header.
The result is truncated to two entries.
curl -X GET \'https://mySampleEnv.live.dynatrace.com/api/v1/timeseries?source=plugin&detailedsource=PHP-FPM' \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v1/timeseries?api-token&source=plugin&detailedsource=PHP-FPM
[{"timeseriesId": "beta.python.phpfpm.dev:accepted conn","displayName": "accepted conn","dimensions": ["PROCESS_GROUP_INSTANCE","pool"],"aggregationTypes": ["AVG","SUM","MIN","MAX"],"unit": "Count (count)","filter": "PLUGIN","detailedSource": "PHP-FPM","pluginId": "beta.python.phpfpm.dev","types": []},{"timeseriesId": "beta.python.phpfpm.dev:active processes","displayName": "active processes","dimensions": ["PROCESS_GROUP_INSTANCE","pool"],"aggregationTypes": ["AVG","SUM","MIN","MAX"],"unit": "Count (count)","filter": "PLUGIN","detailedSource": "PHP-FPM","pluginId": "beta.python.phpfpm.dev","types": []}]
200
The list of known process types we monitor with Dynatrace is continuously growing. If you don't see the process type you want in the list below, please refer to the Dynatrace processes page to see whether the process is included there.
|
|
|
|
The list of known operating systems that we monitor with Dynatrace is continuously growing. If you don't see the OS type you want listed below, please refer to the Dynatrace hosts page to see whether the OS type is included there.
|
|
|
|
|
|
|
|