Nouvelles annonces sur les technologies sans serveur et réseau ainsi que sur le RUM (Real-User Monitoring) dévoilées à la conférence Dash ! Nouvelles annonces dévoilées à la conférence Dash !

Arithmetic

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.

Absolute

FunctionDescriptionExample
abs()Graph the absolute value of the metric.abs(<METRIC_NAME>{*})

Transforms this sinus timeseries sin{*}:

into this one abs(sin{*}):

Logarithm

log2

FunctionDescriptionExample
log2()Graph the Base-2 logarithm of the metric.log2(<METRIC_NAME>{*})

Example:

If we have a metric x{*} that just increments itself by 1 for each data point, then log2(x{*}) has the following shape:

log10

FunctionDescriptionExample
log10()Graph the Base-10 logarithm of the metric.log10(<METRIC_NAME>{*})

Example:

If we have a metric x{*} that just increments itself by 1 for each data point, then log10(x{*}) has the following shape:

Cumulative Sum

FunctionDescriptionExample
cumsum()Graph the cumulative sum of the metric over the visible time window.cumsum(<METRIC_NAME>{*})

Example:

If we have a metric const_1{*} that is a constant with the value of 1, then cumsum(const_1{*}) has the following shape:

Integral

FunctionDescriptionExample
integral()Graph the integral of the metric.integral(<METRIC_NAME>{*})

Note: Datadog’s integral() is the cumulative sum of [time delta] x [value delta] over all consecutive pairs of points in the visible time window for a given metric.

Other functions