adp-fluent-plugin-graphite 0.0.12 → 0.0.13

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
  SHA256:
3
- metadata.gz: c3c6bf04e2986897933cc69157dd99b04ab407487de4c21d4199a3497dc6afe4
4
- data.tar.gz: 269daf2a466386e8b12b022e69661d97d092d8260ccd301911482df80fd0ae7d
3
+ metadata.gz: 2132e7a1254a424751d140529b61db59d0fb83b1a3f7832e3c1298274fca6d48
4
+ data.tar.gz: 22a3e8ca7de5f2b9c1b8e0ed765256b96955d3e6a9f28abb02a6e4fcf7223727
5
5
  SHA512:
6
- metadata.gz: 5c900a4339ba745ac7971a683d520f505c8ed4957775df8c2bbfd5b54226b3dd0c84483450f19306be0e169e90db60f22d3f23425a2255418083085ee3c947c2
7
- data.tar.gz: b785046cabb45dedee8ba4c791c0324e0484b6d1c289b207635e203a7775d140294e683edf59c0596549cc4c616e59f975df7ace61181100422fb9297599de66
6
+ metadata.gz: f87b59623230b6d2ac2b7d50cb3f2ef812fd8c0482697d3aa9484bfd673f1ee1e9d36d07415c64c4aa1f082b3559b85fe06866977c7c5cd757fd552e7174abe7
7
+ data.tar.gz: 5e39bee75a4c1d486be3fab422f92a0c71f7758c6ffd9ff4fde0b6a203c387a32bdbc5020681f89fb019c3f6cd5946122ba5573ba98c9cabcf41602198614518
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'adp-fluent-plugin-graphite'
6
- gem.version = '0.0.12'
6
+ gem.version = '0.0.13'
7
7
  gem.authors = ['Satoshi SUZUKI']
8
8
  gem.email = 'studio3104.com@gmail.com'
9
9
  gem.homepage = 'https://github.com/studio3104/fluent-plugin-graphite'
@@ -7,7 +7,7 @@ module Fluent::Plugin
7
7
  config_param :host, :string
8
8
  config_param :port, :integer, default: 2003
9
9
  config_param :tag_for, :string, default: 'prefix'
10
- config_param :name_keys, :string, default: nil
10
+ config_param :monitoring_key, :string
11
11
  config_param :name_key_pattern, :string, default: nil
12
12
  config_param :max_retries, :integer, default: 3
13
13
 
@@ -43,7 +43,7 @@ module Fluent::Plugin
43
43
 
44
44
  def format_metrics(tag, record)
45
45
  metrics = {}
46
- metrics[tag] = 1
46
+ metrics[@monitoring_key + tag] = 1
47
47
  metrics
48
48
  end
49
49
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adp-fluent-plugin-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi SUZUKI