summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-17 07:58:42 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-10-17 07:58:42 +0200
commit5c3d6ac10ae3591cb2f5dab2a49227303e47e74b (patch)
treec59ddf001f7902a06b4c3896c9341298b638b28d
parentadded tags to sample runit script for s6-nginx-lua (diff)
bugfix for grahpite forwardingv0.1.00.1.0
-rw-r--r--ChangeLog5
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f4cdba..b1f541f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015.10.17 -- Version 0.1.0
+
+* first minor release
+* bugfix for graphite forwaring of hub
+
2015.10.17 -- Version 0.0.8
* hub learned forwarding to graphite
diff --git a/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go b/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go
index 1f5d16c..e24142c 100644
--- a/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go
+++ b/src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go
@@ -57,7 +57,8 @@ tryResync:
metrics := make([]graphite.Metric, len(updates) * 3)
for i, update := range updates {
- path := basePath + "." + update.StreamId.ContentId
+ path := basePath + "." + update.Hostname
+ path = path + "." + update.StreamId.ContentId
path = path + "." + update.StreamId.Format
path = path + "." + update.StreamId.Quality