# Time Series Functions

Last updated March 2020

Name | Description |
---|---|

time_series_add_data | Add data to all monitors in a time series |

time_series_add_data_at | Add data to all monitors in a time series |

time_series_clear | Remove a bucket (specified by bucket number) in a monitor and return the removed bucket |

time_series_del_data | Delete data from all monitors in a time series |

time_series_del_data_at | Delete data from all monitors in a time series |

time_series_destroy | Destroy a time series |

time_series_destroy_series | Destroy a monitor identified by a sequence number |

time_series_get | Return specified bucket of a monitor |

time_series_get_current_alpha | When getting the counts from current bucket of a monitor, the raw value does not reflect the truth since the value from current bucket is only partial value |

time_series_get_last | Remove the bucket before the current one |

time_series_has_data | Returns true if at least one monitor of a time series contains data |

time_series_init | Function to allocate and initialize a time series data structure |

time_series_init2 | Similar to time_series_init() and supporting deleting item from a bucket |

time_series_init_series | Add a monitor to the series |

time_series_maintain_arrays | Remove the staled data from all monitors of a time series |

time_series_series_has_data | Returns true if a given monitor in a time series contains data |

Was this page helpful?