recognizer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.org +19 -12
- data/lib/recognizer/version.rb +1 -1
- metadata +3 -3
data/README.org
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
[[https://github.com/portertech/recognizer/raw/master/recognizer.gif]]
|
7
7
|
* Install
|
8
|
-
Executable Java JAR
|
8
|
+
Executable Java JAR (recommended)
|
9
9
|
: wget https://github.com/downloads/portertech/recognizer/recognizer.jar
|
10
10
|
RubyGems
|
11
11
|
: gem install recognizer
|
@@ -33,8 +33,12 @@
|
|
33
33
|
: -c, --config CONFIG The config file path
|
34
34
|
: -h, --help Show this message
|
35
35
|
* More
|
36
|
-
|
37
|
-
|
36
|
+
***** By default, Recognizer flushes metrics to Librato every =10= seconds
|
37
|
+
Set the interval to flush to Librato
|
38
|
+
: {
|
39
|
+
: "librato": {
|
40
|
+
: "flush_interval": 5
|
41
|
+
***** By default, Recognizer uses =recognizer= as the metric source
|
38
42
|
Example metric path: =production.i-424242.cpu.user=
|
39
43
|
|
40
44
|
Extract the metric source from the metric path using a regular expression
|
@@ -45,20 +49,23 @@
|
|
45
49
|
: {
|
46
50
|
: "librato": {
|
47
51
|
: "metric_source": 1
|
48
|
-
Or
|
52
|
+
Or set a static source
|
49
53
|
: {
|
50
54
|
: "librato": {
|
51
55
|
: "metric_source": "example"
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
Specify the number of TCP server threads
|
56
|
+
***** By default, The Recognizer TCP server uses =20= threads
|
57
|
+
Set the number of threads the TCP server uses
|
56
58
|
: {
|
57
59
|
: "tcp": {
|
58
60
|
: "threads": 30
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
61
|
+
***** By default, Recognizer binds the AMQP queue =recognizer= to the topic exchange =graphite= with the routing key =#=
|
62
|
+
Use a custom AMQP exchange
|
63
|
+
: {
|
64
|
+
: "amqp": {
|
65
|
+
: "exchange": {
|
66
|
+
: "name": "metrics",
|
67
|
+
: "type": "topic",
|
68
|
+
: "durable": true,
|
69
|
+
: "routing_key": "#"
|
63
70
|
* License
|
64
71
|
Recognizer is released under the [[https://github.com/portertech/recognizer/raw/master/MIT-LICENSE.txt][MIT license]].
|
data/lib/recognizer/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recognizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sean Porter
|