summaryrefslogtreecommitdiffstats
path: root/web/api/formatters/value/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/formatters/value/value.h')
-rw-r--r--web/api/formatters/value/value.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/api/formatters/value/value.h b/web/api/formatters/value/value.h
index 3f7f51cc..072ca14f 100644
--- a/web/api/formatters/value/value.h
+++ b/web/api/formatters/value/value.h
@@ -13,6 +13,8 @@ typedef struct storage_value {
size_t points_read;
size_t storage_points_per_tier[RRD_STORAGE_TIERS];
size_t result_points;
+ STORAGE_POINT sp;
+ usec_t duration_ut;
} QUERY_VALUE;
struct rrdmetric_acquired;
@@ -22,7 +24,7 @@ struct rrdcontext_acquired;
QUERY_VALUE rrdmetric2value(RRDHOST *host,
struct rrdcontext_acquired *rca, struct rrdinstance_acquired *ria, struct rrdmetric_acquired *rma,
time_t after, time_t before,
- RRDR_OPTIONS options, RRDR_GROUPING group_method, const char *group_options,
+ RRDR_OPTIONS options, RRDR_TIME_GROUPING time_group_method, const char *time_group_options,
size_t tier, time_t timeout, QUERY_SOURCE query_source, STORAGE_PRIORITY priority
);