netdata_tsrelay.nim
changeset 22 4250addd706f
parent 21 a2fe9ec4cdf2
child 23 89ba1d73b232
child 24 af18a10710be
--- a/netdata_tsrelay.nim	Thu Dec 10 17:20:37 2020 -0800
+++ b/netdata_tsrelay.nim	Sat Dec 12 21:46:39 2020 -0800
@@ -190,6 +190,9 @@
             pivot[ "hostname" ] = parsed[ "hostname" ]
             pivot[ "timestamp" ] = parsed[ "timestamp" ]
             pivot[ name ] = parsed[ "value" ]
+
+            if parsed.has_key( "labels" ):
+                pivot[ "labels" ] = parsed[ "labels" ]
         except:
             continue