fluent-plugin-metricsense 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/fluent/plugin/backends/datadog_backend.rb +8 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0384f5c3b535a891f4bb0db095cc24f79e30f67
|
4
|
+
data.tar.gz: 4f19608ea60b9ad3f9d705e06d818a79237f64f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ec2daa77a70530eecbae3aab2e8e3c3dfaf11170f423ced04003061ab086b8f88b6accc07bac428a7e68a13be4644baf9178121eaace542dc2ee4fa6aa0fa2
|
7
|
+
data.tar.gz: cd20552ce0fe91dd253609126953cacbeb0bce7473c0457ab6053ac473a46bc16cac227ed43d0a7871f3aa6d66c2212c109a20b8b31c53e8847520cd2838dd98
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.9
|
@@ -72,11 +72,15 @@ module Fluent::MetricSenseOutput::Backends
|
|
72
72
|
end
|
73
73
|
|
74
74
|
options = {}
|
75
|
-
options[
|
76
|
-
options[
|
77
|
-
options[
|
75
|
+
options[:tags] = tags
|
76
|
+
options[:host] = @host if @host
|
77
|
+
options[:type] = "gauge"
|
78
78
|
|
79
|
-
|
79
|
+
log.debug("datadog emit points: metric=#{metric}, points=#{points.inspect}, options=#{options.inspect}")
|
80
|
+
code, response = @dog.emit_points(metric, points, options)
|
81
|
+
if code.to_i / 100 != 2
|
82
|
+
raise("datadog returns #{code}: #{response.inspect}")
|
83
|
+
end
|
80
84
|
end
|
81
85
|
end
|
82
86
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-metricsense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|