time_series_add_data_at

March 26, 2020 Contributors

Name

time_series_add_data_at — Add data to all monitors in a time series

Synopsis

#include "misc/time_series.h"

| void **time_series_add_data_at** ( | ts, |   |
|   | data, |   |
|   | whence); |   |

time_series * <var class="pdparam">ts</var>;
void * <var class="pdparam">data</var>;
time_t <var class="pdparam">whence</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Add data to all monitors in a time series.

The data will be added to the bucket corresponding to a given time stamp.

Parameters

ts
  • the time series.
data
  • the data to be added.
whence
  • the time stamp when data should be added. If 0 or in a future time, then current time is to used. If too old to be within a monitor windows, the request will be skiped for that monitor.

Return Values

void.