0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-13 13:12:05 +00:00
netdata_netdata/web/api/queries/average/average.h
Costa Tsaousis c9234ccc8c
query code cleanup ()
* queries code cleanup; renaming of variables; user configurable; tuning for defaults

* reformatted main queries array

* added documentation about all queries

* empty doc

* changed resampling variable names

* added documentation to query module functions

* fixed typos

* renames

* identation

* more renames

* fixed a faulty function definition at backends
2018-10-24 23:06:46 +03:00

15 lines
505 B
C

// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef NETDATA_API_QUERY_AVERAGE_H
#define NETDATA_API_QUERY_AVERAGE_H
#include "../query.h"
#include "../rrdr.h"
extern void *grouping_create_average(RRDR *r);
extern void grouping_reset_average(RRDR *r);
extern void grouping_free_average(RRDR *r);
extern void grouping_add_average(RRDR *r, calculated_number value);
extern calculated_number grouping_flush_average(RRDR *r, RRDR_VALUE_FLAGS *rrdr_value_options_ptr);
#endif //NETDATA_API_QUERY_AVERAGE_H