stats-metrics.h revision 9c675f5e259c19f9fdc40808439479131b32421e
#ifndef STATS_METRICS_H
#define STATS_METRICS_H
struct stats_settings;
struct metric_field {
const char *field_key;
};
struct metric {
const char *name;
/* Timing for how long the event existed */
struct timing *duration_timing;
unsigned int fields_count;
struct metric_field *fields;
};
/* Reset all metrics */
/* Returns event filter created from the stats_settings. */
struct event_filter *
/* Update metrics with given event. */
/* Iterate through all the tracked metrics. */
struct stats_metrics_iter *
#endif