Datadog Metrics

Get timeseries points

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Query timeseries points for a given metric.

Inputs

Champ

Type

Description

time [required]

The queried time period range

query [required]

string

Query string.

limit

number

Maximum number of time series points to return from the beginning of the time range.

Outputs

Expand All

Champ

Type

Description

status

string

Status of the query.

res_type

string

Type of response.

series

[object]

List of timeseries queried.

metric

string

Metric name.

display_name

string

Display name of the metric.

unit

[object]

Detailed information about the metric unit.

family

string

Unit family, allows for conversion between units of the same family, for scaling.

scale_factor

number

Factor for scaling between units of the same family.

name

string

Unit name.

short_name

string

Abbreviation of the unit.

plural

string

Plural form of the unit name.

pointlist

[array]

List of points of the timeseries.

end

number

End of the time window, milliseconds since Unix epoch.

start

number

Start of the time window, milliseconds since Unix epoch.

interval

number

Number of seconds between data samples.

length

number

Number of data samples.

aggr

string

scope

string

Metric scope, comma separated list of tags.

expression

string

Metric expression.

query_index

number

The index of the series' query within the request.

tag_set

[string]

Unique tags identifying this series.

to_date

number

End of requested time window, milliseconds since Unix epoch.

from_date

number

Start of requested time window, milliseconds since Unix epoch.

group_by

[string]

List of tag keys on which to group.

query

string

Query string.

message

string

Message indicating success if status is ok.

error

string

Message indicating the errors if status is not ok.