fluent-plugin-growthforecast 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-growthforecast.gemspec +1 -1
- data/lib/fluent/plugin/out_growthforecast.rb +2 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acfeed11b6339b8c71db7243345cc450331cee74
|
4
|
+
data.tar.gz: 85fab21b834d0bab221f9a240d5288192a3e2a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16be77249e84cf14281ce1d09c86916ad03763392990150dd61d4fb4c4cca83640e91994acec6e7caf554ec9144cf86219aafaf3554dc83c5fd0f8d187d9e564
|
7
|
+
data.tar.gz: 04ae48150d7878bd32f0644cc5fa62b1eccc80b2e912712310f6a071e85a81788691a98f099bd54f3eb766b09d5465e8fbe2ed99903a5531d99db248aa3e4d76
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "fluent-plugin-growthforecast"
|
5
|
-
gem.version = "1.0.
|
5
|
+
gem.version = "1.0.1"
|
6
6
|
gem.authors = ["TAGOMORI Satoshi"]
|
7
7
|
gem.email = ["tagomoris@gmail.com"]
|
8
8
|
gem.summary = %q{Fluentd output plugin to post numbers to GrowthForecast (by kazeburo)}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'fluent/plugin/output'
|
2
|
+
|
1
3
|
require 'net/http'
|
2
4
|
require 'uri'
|
3
5
|
require 'cgi/util'
|
@@ -6,10 +8,6 @@ require 'resolve/hostname'
|
|
6
8
|
class Fluent::Plugin::GrowthForecastOutput < Fluent::Plugin::Output
|
7
9
|
Fluent::Plugin.register_output('growthforecast', self)
|
8
10
|
|
9
|
-
def initialize
|
10
|
-
super
|
11
|
-
end
|
12
|
-
|
13
11
|
config_param :gfapi_url, :string, # growth.forecast.local/api/
|
14
12
|
desc: 'The URL of a GrowthForecast API endpoint.'
|
15
13
|
config_param :graph_path, :string, default: nil,
|