projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7173100
)
src/daemon/utils_cache.c: Add debug message for lookup of missing metrics.
author
Florian Forster
<octo@collectd.org>
Fri, 19 May 2017 06:39:45 +0000
(08:39 +0200)
committer
Florian Forster
<octo@collectd.org>
Fri, 19 May 2017 06:39:45 +0000
(08:39 +0200)
Issue: #1234
src/daemon/utils_cache.c
patch
|
blob
|
history
diff --git
a/src/daemon/utils_cache.c
b/src/daemon/utils_cache.c
index
3386df9
..
aa8ce9e
100644
(file)
--- a/
src/daemon/utils_cache.c
+++ b/
src/daemon/utils_cache.c
@@
-422,6
+422,9
@@
int uc_get_rate_by_name(const char *name, gauge_t **ret_values,
/* remove missing values from getval */
if (ce->state == STATE_MISSING) {
+ DEBUG("utils_cache: uc_get_rate_by_name: requested metric \"%s\" is in "
+ "state \"missing\".",
+ name);
status = -1;
} else {
ret_num = ce->values_num;