diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/core/stats.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/core/stats.h b/include/osmocom/core/stats.h index beeee16e..68c2e016 100644 --- a/include/osmocom/core/stats.h +++ b/include/osmocom/core/stats.h @@ -30,6 +30,7 @@ struct rate_ctr_desc; enum stats_reporter_type { STATS_REPORTER_STATSD, + STATS_REPORTER_LOG, }; struct stats_reporter { @@ -83,7 +84,9 @@ int stats_set_interval(int interval); struct stats_reporter *stats_reporter_alloc(enum stats_reporter_type type, const char *name); void stats_reporter_free(struct stats_reporter *srep); + struct stats_reporter *stats_reporter_create_statsd(const char *name); +struct stats_reporter *stats_reporter_create_log(const char *name); struct stats_reporter *stats_reporter_find(enum stats_reporter_type type, const char *name); |