We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a50b4e commit 72d0293Copy full SHA for 72d0293
lib/salus/renderer/zabbixsender.rb
@@ -8,6 +8,7 @@ def render(data)
8
unless metric.timestamp.nil?
9
timestamp = metric.timestamp.to_i
10
name = name.gsub(/\.\[/, '[')
11
+ name = name.to_json if (name.match(/\s/))
12
value = metric.value
13
value = '""' if value.nil?
14
value = value.to_json if (!value.nil? && metric.is_a?(Salus::Text))
lib/salus/version.rb
@@ -1,3 +1,3 @@
1
module Salus
2
- VERSION = "0.1.2"
+ VERSION = "0.1.3"
3
end
0 commit comments