fluent-plugin-dogstatsd 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 720990658efe162d621603439ed23c42c1a33d10
4
- data.tar.gz: 833b1d832baac38547c51d6a85ae5d1d8baf3399
3
+ metadata.gz: 04a21db3f7b24f05e4504476bdf11f56bff45287
4
+ data.tar.gz: 9de196e181aac40ce0c1928cab5edad14ddd0399
5
5
  SHA512:
6
- metadata.gz: 4ae2a9c06f733f780a378e1e10ba44388a424821aa72686862ae982e63a0b8987fd7d6c668597b147f7ec1dd9520bb13416cf3454a87806d848662e49e735d68
7
- data.tar.gz: 7927f3abfec4a14cf3c3bbc6f1bcfcb1752419c9cdf4d1a2dd480dba5b9646bdec7738534c74ec57c8f55f61b1a44cb0e1785d52fdbfa21d79c720e418f7ef4c
6
+ metadata.gz: 8ab6c772546b7f074a186fd94ad508adb121a1306129b2cf71f974a9f7a482efb5c6dbb0ebadf7cfa215c2f53e2e2925134b02f11e3e684cbf0e99067ae50aed
7
+ data.tar.gz: 81ef9e8e2c9ebc3f5141298136244be970c45832612ce037a0bd76be1d46124cc8d00e2e8e81f41d54fea3777a603109e73078983b2e8e091c8ee5de7e02bcd5
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.6"
24
24
  spec.add_development_dependency "rake"
25
+ spec.add_development_dependency "test-unit"
25
26
  end
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module Dogstatsd
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
@@ -94,6 +94,7 @@ module Fluent
94
94
  when 'set'
95
95
  s.set(key, value, options)
96
96
  when 'event'
97
+ options[:alert_type] = record['alert_type']
97
98
  s.event(title, text, options)
98
99
  when nil
99
100
  log.warn "type is not provided (You can provide type via `metric_type` in config or `type` field in a record."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-dogstatsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: test-unit
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description:
70
84
  email:
71
85
  - ryota.arai@gmail.com
@@ -104,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
118
  version: '0'
105
119
  requirements: []
106
120
  rubyforge_project:
107
- rubygems_version: 2.4.5
121
+ rubygems_version: 2.5.1
108
122
  signing_key:
109
123
  specification_version: 4
110
124
  summary: Fluent plugin for Dogstatsd, that is statsd server for Datadog.