projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_prometheus plugin: New plugin for exposing metrics to Prometheus.
[collectd.git]
/
src
/
daemon
/
plugin.c
diff --git
a/src/daemon/plugin.c
b/src/daemon/plugin.c
index
aa13378
..
8b84e6a
100644
(file)
--- a/
src/daemon/plugin.c
+++ b/
src/daemon/plugin.c
@@
-108,7
+108,7
@@
static c_avl_tree_t *data_sets;
static char *plugindir = NULL;
#ifndef DEFAULT_MAX_READ_INTERVAL
static char *plugindir = NULL;
#ifndef DEFAULT_MAX_READ_INTERVAL
-# define DEFAULT_MAX_READ_INTERVAL TIME_T_TO_CDTIME_T (86400)
+# define DEFAULT_MAX_READ_INTERVAL TIME_T_TO_CDTIME_T
_STATIC
(86400)
#endif
static c_heap_t *read_heap = NULL;
static llist_t *read_list;
#endif
static c_heap_t *read_heap = NULL;
static llist_t *read_list;