mirror of
https://github.com/netdata/netdata.git
synced 2025-04-30 15:40:05 +00:00

* expose the order of group by * key renames in json wrapper v2 * added group by context and group by units * added view_average_values * fix for view_average_values when percentage is specified * option group-by-labels is enabling the exposure of all the labels that are used for each of the final grouped dimensions * when executing group by queries, allocate one dimension data at a time - not all of them * respect hidden dimensions * cancel running data query on socket error * use poll to detect socket errors * use POLLRDHUP to detect half closed connections * make sure POLLRDHUP is available * do not destroy aral-by-size arals * completed documentation of /api/v2/data. * moved min, max back to view; updated swagger yaml and json * default format for /api/v2/data is json2
11 lines
300 B
C
11 lines
300 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#ifndef NETDATA_API_FORMATTER_JSON_H
|
|
#define NETDATA_API_FORMATTER_JSON_H
|
|
|
|
#include "../rrd2json.h"
|
|
|
|
void rrdr2json(RRDR *r, BUFFER *wb, RRDR_OPTIONS options, int datatable);
|
|
void rrdr2json_v2(RRDR *r, BUFFER *wb);
|
|
|
|
#endif //NETDATA_API_FORMATTER_JSON_H
|