netuitive_ruby_api 0.9.6 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4be2ee18b4aa67452d617dfd912979446b50549
4
- data.tar.gz: c1c82ec7016a9a68d390b8e1079f2a7fdd148612
3
+ metadata.gz: b7b29c40aea1a4c43c3a7046e55a4d645557c8e1
4
+ data.tar.gz: 128d494eead1223a819ecc9d670e2b473163abca
5
5
  SHA512:
6
- metadata.gz: 211338a2a10de2eca5c94fc895f5fda8a4b6329039e64da57956633392d269bb44637ee760cc588cd71c5f1312cd4ceea0c034cdf01c6b8cb308c7b572492d74
7
- data.tar.gz: 5273c836c5c478bc30082b9fd8118c5f716ee10430e9289f0d5e91fc4787fde5d6370f2182b69b69ca0ecb985fc4d08911b6f3014c39a24bac0f920ca3eab8f9
6
+ metadata.gz: 025b7c944245f3c407e96a6f01183d43ae50104ba727b3e573e5fc92ac9107b123126d36ddd1538db5a016edaa2568f0d794f904cfa4d6958d6ccf9818b9dd76
7
+ data.tar.gz: 717c078a0864a8a1df6b62d827ac8881c82be11aaea8f2e554dc422d1e7947b92aae9789677da9d99b3174b8718b473c5b48e7d3b7305d2a4f18bf5306efa7cd
data/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # netuitive_ruby_api
2
+ An easy interface to communicate with the netuitive ruby daemon netuitived(https://rubygems.org/gems/netuitived)
3
+
4
+ Requirements:
5
+ netuitived must be running
6
+
7
+ How to install using gem:
8
+
9
+ run the command:
10
+
11
+ gem install netuitive_ruby_api
12
+
13
+ How to use:
14
+
15
+ Single sample example:
16
+ NetuitiveRubyAPI::netuitivedServer.addSample("metric.name", [metric value])
17
+
18
+ Add the aggregation value to the existing value for the metric for this interval:
19
+ NetuitiveRubyAPI::netuitivedServer.aggregateMetric("metric.name", [aggregation value])
20
+
21
+ Aggregation may be confusing but at its heart it's a simple concept. It's basically a sum of the aggregation values over the course of a single interval; it's useful for datasets like the number of requests per minute.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netuitive_ruby_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - John King
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-20 00:00:00.000000000 Z
11
+ date: 2015-12-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Allows for easy submittion of metrics to Netuitive
14
14
  email: jking@netuitive.com
@@ -22,6 +22,7 @@ files:
22
22
  - config/agent.yml
23
23
  - "./LICENSE"
24
24
  - log/netuitive.log
25
+ - "./README.md"
25
26
  homepage: http://rubygems.org/gems/netuitive_ruby_api
26
27
  licenses:
27
28
  - Apache v2.0