Datadog Metrics

Submit metric

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.

The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards.

Inputs

Champ

Type

Description

metric_name [required]

string

The name of the timeseries.

type

enum

The type of the metric either unspecified, count, rate, and gauge. Allowed enum values: unspecified,count,rate,gauge

interval

number

If the type of the metric is rate or count, define the corresponding interval. The rate metric type takes the value and divides it by the length of the time interval. For example, this is useful if you’re interested in the number of hits per second.

value [required]

number

The value to be submitted for the metric.

timestamp

number

The timestamp should be in seconds and current. Current is defined as not more than 10 minutes in the future or more than 1 hour in the past.

tags

A list of tags associated with the metric.

unit

string

The unit of point value.

Outputs

Champ

Type

Description

errors [required]

[string]