netuitived 1.1.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +14 -3
- data/lib/netuitived/netuitive_logger.rb +3 -6
- metadata +22 -24
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6ed1ef7009819a776ce7b04ba5cc94b39f6a46db
|
4
|
+
data.tar.gz: 31fd4cac443825b749e25c2341c5cf5f55631759
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1a6617ba4a03677cba4c8500a6e58956f095646a017c383b589f6f1418578477fb2c023864d0be4c7dbaa4df7541bc93e2128258a6e09f78a834e18bbed909db
|
7
|
+
data.tar.gz: 87e573a080768df75b733e1d74c389c038ee162c784b2bc628a7632b86b1bac4a5262020484b511b1a28b1a22b42751407dd157fbe6f53c91a008d50e2a36441
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Installing and Running NetuitiveD
|
|
14
14
|
|
15
15
|
### Run
|
16
16
|
|
17
|
-
1. Run the start script (make sure the user using the command has access rights to the
|
17
|
+
1. Run the start script (make sure the user using the command has access rights to the
|
18
18
|
gem's install directory):
|
19
19
|
|
20
20
|
netuitived start
|
@@ -25,7 +25,18 @@ gem's install directory):
|
|
25
25
|
my_app_name
|
26
26
|
please enter an api key:
|
27
27
|
DEMOab681D46bf5616dba8337c85DEMO
|
28
|
-
|
28
|
+
|
29
29
|
If you're unsure about what element name you should use, just use the name of your Ruby application.
|
30
30
|
|
31
|
-
>**Note:** The extra config information is found in config/agent.yml. Each field in the config file can also be set using environment variables.
|
31
|
+
>**Note:** The extra config information is found in config/agent.yml. Each field in the config file can also be set using environment variables.
|
32
|
+
|
33
|
+
### Test
|
34
|
+
|
35
|
+
To run the tests and code syntax validation run the following commands:
|
36
|
+
|
37
|
+
```
|
38
|
+
gem install bundle
|
39
|
+
bundle install
|
40
|
+
bundle exec rubocop
|
41
|
+
bundle exec rake test
|
42
|
+
```
|
@@ -1,14 +1,11 @@
|
|
1
1
|
module NetuitiveD
|
2
2
|
class CheaterLogger
|
3
3
|
attr_accessor :level
|
4
|
-
def debug(message)
|
5
|
-
end
|
4
|
+
def debug(message); end
|
6
5
|
|
7
|
-
def error(message)
|
8
|
-
end
|
6
|
+
def error(message); end
|
9
7
|
|
10
|
-
def info(message)
|
11
|
-
end
|
8
|
+
def info(message); end
|
12
9
|
end
|
13
10
|
|
14
11
|
class NetuitiveLogger
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netuitived
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- John King
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Collects metrics over a certain interval and then sends them to Netuitive
|
15
14
|
email: jking@netuitive.com
|
@@ -18,49 +17,48 @@ executables:
|
|
18
17
|
extensions: []
|
19
18
|
extra_rdoc_files: []
|
20
19
|
files:
|
20
|
+
- "./LICENSE"
|
21
|
+
- "./README.md"
|
22
|
+
- bin/netuitived
|
23
|
+
- config/agent.yml
|
21
24
|
- lib/netuitived.rb
|
22
|
-
- lib/netuitived/ingest_tag.rb
|
23
|
-
- lib/netuitived/ingest_element.rb
|
24
|
-
- lib/netuitived/ingest_attribute.rb
|
25
|
-
- lib/netuitived/metric_aggregator.rb
|
26
|
-
- lib/netuitived/netuitive_logger.rb
|
27
|
-
- lib/netuitived/ingest_event.rb
|
28
|
-
- lib/netuitived/scheduler.rb
|
29
25
|
- lib/netuitived/api_emissary.rb
|
30
|
-
- lib/netuitived/netuitived_server.rb
|
31
26
|
- lib/netuitived/config_manager.rb
|
32
|
-
- lib/netuitived/ingest_sample.rb
|
33
|
-
- lib/netuitived/ingest_metric.rb
|
34
27
|
- lib/netuitived/error_logger.rb
|
35
28
|
- lib/netuitived/event_handler.rb
|
36
|
-
-
|
37
|
-
-
|
29
|
+
- lib/netuitived/ingest_attribute.rb
|
30
|
+
- lib/netuitived/ingest_element.rb
|
31
|
+
- lib/netuitived/ingest_event.rb
|
32
|
+
- lib/netuitived/ingest_metric.rb
|
33
|
+
- lib/netuitived/ingest_sample.rb
|
34
|
+
- lib/netuitived/ingest_tag.rb
|
35
|
+
- lib/netuitived/metric_aggregator.rb
|
36
|
+
- lib/netuitived/netuitive_logger.rb
|
37
|
+
- lib/netuitived/netuitived_server.rb
|
38
|
+
- lib/netuitived/scheduler.rb
|
38
39
|
- log/netuitive.log
|
39
|
-
- ./README.md
|
40
|
-
- bin/netuitived
|
41
40
|
homepage: http://rubygems.org/gems/netuitived
|
42
41
|
licenses:
|
43
|
-
- Apache
|
42
|
+
- Apache-2.0
|
43
|
+
metadata: {}
|
44
44
|
post_install_message:
|
45
45
|
rdoc_options: []
|
46
46
|
require_paths:
|
47
47
|
- lib
|
48
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
49
|
requirements:
|
51
|
-
- -
|
50
|
+
- - ">="
|
52
51
|
- !ruby/object:Gem::Version
|
53
52
|
version: 1.9.0
|
54
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
-
none: false
|
56
54
|
requirements:
|
57
|
-
- -
|
55
|
+
- - ">="
|
58
56
|
- !ruby/object:Gem::Version
|
59
57
|
version: '0'
|
60
58
|
requirements: []
|
61
59
|
rubyforge_project:
|
62
|
-
rubygems_version:
|
60
|
+
rubygems_version: 2.4.5
|
63
61
|
signing_key:
|
64
|
-
specification_version:
|
62
|
+
specification_version: 4
|
65
63
|
summary: Metric collection druby server
|
66
64
|
test_files: []
|