diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-05-04 13:59:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 13:59:58 +0300 |
commit | 4078661e3342d7b311b2ec314f5323b6229c689c (patch) | |
tree | e5fd1b6becdd256d0435d450d77a765f85592507 /database/metric_correlations.h | |
parent | e652e6054e6986cd1a6a5e91e5bf836a172955dc (diff) |
Metric correlations (#12582)
* initial attempt at metric correlations
* fix loop
* simplify struct
* change json
* get points from query
* comment
* dont lock the host as much
* add a configuration option to enable/disable metric correlations
* remove KSfbar from header file
* lock charts
* add timeout
* cast multiplication
* add licencing info
* better licencing
* use onewayalloc
* destroy owa
Diffstat (limited to 'database/metric_correlations.h')
-rw-r--r-- | database/metric_correlations.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/database/metric_correlations.h b/database/metric_correlations.h new file mode 100644 index 0000000000..73b246fde1 --- /dev/null +++ b/database/metric_correlations.h @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef NETDATA_METRIC_CORRELATIONS_H +#define NETDATA_METRIC_CORRELATIONS_H 1 + +extern int enable_metric_correlations; + +void metric_correlations (RRDHOST *host, BUFFER *wb, long long selected_after, long long selected_before, long long reference_after, long long reference_before, long long max_points); + +#endif //NETDATA_METRIC_CORRELATIONS_H |