summaryrefslogtreecommitdiff
path: root/src/hub
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 /src/hub
parentadded tags to sample runit script for s6-nginx-lua (diff)
bugfix for grahpite forwardingv0.1.00.1.0
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5srvForwardGraphite.go3
1 files changed, 2 insertions, 1 deletions
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