logstash-input-perfmon 0.1.4 → 0.1.5

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: da5408d570f346b92be0025f5dd90e4b3f8c507f
4
- data.tar.gz: b1fbda74d2668639848521a8d566e4167d64c6d1
3
+ metadata.gz: ce15adf592fe00372c2a7a6ce1096061e3ec3eeb
4
+ data.tar.gz: 8089cc9ae91769a6cd7302718a842ed8e7ec1896
5
5
  SHA512:
6
- metadata.gz: 10590030edf6d9c413b32735bd792109fdb6d4cc4bf7787d0001d33e9714aa76fab9f1aef237fa3af2b351a1f96fe3c4b664568b76b658f22bf9ce8584e2adb4
7
- data.tar.gz: 871bea6e2696241047add7160998cf8cc47dbf52a20cc909adc3ba50e6bdd21d6fe847e3f11031c32b7a1db9483a0441be6a5a867d363ec1e7c440c87df05982
6
+ metadata.gz: e9e551be0c097c1c7354c7ad2a12ea7a586a434e8ef0a489ee69f47c1512ff55d628ab4eba0d667dbb7fba7c06afb0044dfeed1afb8f44f8cb0766427cafa43d
7
+ data.tar.gz: f18d9108332f3cfd195f6b776c67d77ed11d6b68aa0259f6a5b444e28bbc25b0aa493ac3a37525caf40f5b06018d5cfc6d2d084031874a6bf5c9365580b07fa3
data/Gemfile CHANGED
@@ -1,2 +1,6 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+ gemspec
3
+
4
+ gem 'logstash-core', '~> 2.1'
5
+ gem 'logstash-codec-plain', '~> 2.0'
6
+ gem 'logstash-devutils', '~> 0'
data/README.md CHANGED
@@ -28,6 +28,12 @@ To install the gem to logstash:
28
28
  cd path\to\logstash\bin
29
29
  plugin install path\to\gem
30
30
  ```
31
+
32
+ If you aren't building the gem yourself, you can install it directly from rubygems.org:
33
+ ```
34
+ cd path\to\logstash\bin
35
+ plugin install logstah-input-perfmon
36
+ ```
31
37
 
32
38
  Create a configuration file. The following collects three metrics every ten seconds:
33
39
  ```ruby
@@ -84,4 +90,5 @@ You have requested:
84
90
  The bundle currently has logstash-devutil locked at 0.0.13.
85
91
  Try running 'bundle update logstash-devutils'
86
92
  ```
87
- The JRuby -S parameter looks at your PATH and it may be defaulting to another version of Ruby.
93
+ The JRuby -S parameter looks at your PATH and it may be defaulting to another version of Ruby.
94
+ You can temporarily add the JRuby bin folder to the beginning of your PATH to fix this.
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- require 'logstash/devutils/rake'
1
+ # require 'logstash/devutils/rake'
2
2
  require 'rspec/core/rake_task'
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec) do |t|
@@ -1,12 +1,12 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-perfmon'
3
- s.version = '0.1.4'
3
+ s.version = '0.1.5'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Logstash input for Windows Performance Monitor"
6
6
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program. Logstash input for Windows Performance Monitor metrics."
7
7
  s.authors = ["Nick Ramirez"]
8
8
  s.email = 'nickram44@hotmail.com'
9
- s.homepage = "https://github.com/logstash-plugins/logstash-input-perfmon"
9
+ s.homepage = "https://github.com/NickMRamirez/logstash-input-perfmon"
10
10
  s.require_paths = ["lib"]
11
11
 
12
12
  # Files
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
19
19
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
20
20
 
21
21
  # Gem dependencies
22
- s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
23
- s.add_runtime_dependency 'logstash-codec-plain'
22
+ s.add_runtime_dependency 'logstash-core', '~> 2.1'
23
+ s.add_runtime_dependency 'logstash-codec-plain', '~> 2.0'
24
24
 
25
- s.add_development_dependency 'logstash-devutils'
25
+ s.add_development_dependency 'logstash-devutils', '~> 0'
26
26
  end
@@ -71,7 +71,7 @@ describe 'UnitTests' do
71
71
  wrapper.start_monitor
72
72
 
73
73
  # Should be seen by get_next
74
- sleep 2
74
+ sleep 10
75
75
  expect(msg).to eq "Test msg 1"
76
76
  end
77
77
  end
metadata CHANGED
@@ -1,53 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-perfmon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Ramirez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-29 00:00:00.000000000 Z
11
+ date: 2015-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
16
+ - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 1.4.0
19
- - - "<"
20
- - !ruby/object:Gem::Version
21
- version: 2.0.0
18
+ version: '2.1'
22
19
  name: logstash-core
23
20
  prerelease: false
24
21
  type: :runtime
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 1.4.0
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: 2.0.0
26
+ version: '2.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  requirement: !ruby/object:Gem::Requirement
35
29
  requirements:
36
- - - ">="
30
+ - - "~>"
37
31
  - !ruby/object:Gem::Version
38
- version: '0'
32
+ version: '2.0'
39
33
  name: logstash-codec-plain
40
34
  prerelease: false
41
35
  type: :runtime
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
- - - ">="
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '0'
40
+ version: '2.0'
47
41
  - !ruby/object:Gem::Dependency
48
42
  requirement: !ruby/object:Gem::Requirement
49
43
  requirements:
50
- - - ">="
44
+ - - "~>"
51
45
  - !ruby/object:Gem::Version
52
46
  version: '0'
53
47
  name: logstash-devutils
@@ -55,7 +49,7 @@ dependencies:
55
49
  type: :development
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
- - - ">="
52
+ - - "~>"
59
53
  - !ruby/object:Gem::Version
60
54
  version: '0'
61
55
  description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program. Logstash input for Windows Performance Monitor metrics.
@@ -81,7 +75,7 @@ files:
81
75
  - spec/inputs/perfmon_proc_getter_spec.rb
82
76
  - spec/inputs/perfmon_spec.rb
83
77
  - spec/inputs/typeperf_wrapper_spec.rb
84
- homepage: https://github.com/logstash-plugins/logstash-input-perfmon
78
+ homepage: https://github.com/NickMRamirez/logstash-input-perfmon
85
79
  licenses:
86
80
  - Apache License (2.0)
87
81
  metadata: