summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c50422)
raw | patch | inline | side by side (parent: 4c50422)
author | Michael Schenck <mschenck@digitalocean.com> | |
Tue, 21 Oct 2014 17:31:40 +0000 (13:31 -0400) | ||
committer | Michael Schenck <mschenck@digitalocean.com> | |
Tue, 21 Oct 2014 17:31:40 +0000 (13:31 -0400) |
src/write_tsdb.c | patch | blob | history |
diff --git a/src/write_tsdb.c b/src/write_tsdb.c
index aeed635097bff8ad183cade11e07baaafb831304..efc71467f39145238adc281ce2285d309c476ae2 100644 (file)
--- a/src/write_tsdb.c
+++ b/src/write_tsdb.c
ssnprintf(ret, ret_len, "%s%s.%s.%s",
prefix, vl->plugin, vl->plugin_instance, vl->type);
} else {
- ssnprintf(ret, ret_len, "%s%s.%s.%s",
- prefix, vl->plugin, vl->plugin_instance, vl->type_instance);
+ ssnprintf(ret, ret_len, "%s%s.%s.%s.%s",
+ prefix, vl->plugin, vl->plugin_instance, vl->type, vl->type_instance);
}
sfree(temp);