Code

timeseries: Add support for fetching specific data-sources.
[sysdb.git] / src / include / core / timeseries.h
index 3a50dc6c57d269ee05f3b285d09b5a3bb132267a..ab74a11b35863c6cf75025ccfa6cca47312f1f81 100644 (file)
@@ -97,6 +97,10 @@ typedef struct {
 typedef struct {
        sdb_time_t start;
        sdb_time_t end;
+
+       /* If specified, only fetch time-series with these names. */
+       const char * const *data_names;
+       size_t data_names_len;
 } sdb_timeseries_opts_t;
 
 /*