projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.7'
[collectd.git]
/
src
/
write_prometheus.c
diff --git
a/src/write_prometheus.c
b/src/write_prometheus.c
index
de1c389
..
5264998
100644
(file)
--- a/
src/write_prometheus.c
+++ b/
src/write_prometheus.c
@@
-599,8
+599,8
@@
static int metric_family_update(Io__Prometheus__Client__MetricFamily *fam,
if (m == NULL)
return -1;
if (m == NULL)
return -1;
- return metric_update(m, vl->values[ds_index], ds->ds[ds_index].type,
vl->time,
- vl->interval);
+ return metric_update(m, vl->values[ds_index], ds->ds[ds_index].type,
+ vl->
time, vl->
interval);
}
/* metric_family_destroy frees the memory used by a metric family. */
}
/* metric_family_destroy frees the memory used by a metric family. */
@@
-875,5
+875,3
@@
void module_register() {
/* user data = */ NULL);
plugin_register_shutdown("write_prometheus", prom_shutdown);
}
/* user data = */ NULL);
plugin_register_shutdown("write_prometheus", prom_shutdown);
}
-
-/* vim: set sw=2 sts=2 et fdm=marker : */