carbonator 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -5
- data/lib/carbonator/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://secure.travis-ci.org/gorsuch/carbonator.png)](http://travis-ci.org/gorsuch/carbonator)
|
4
4
|
|
5
|
-
Carbonator is an experimental line filter that transforms log lines into
|
5
|
+
Carbonator is an experimental line filter that transforms log lines into [graphte / carbon](https://graphite.readthedocs.org/en/latest/) compatable inputs.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -33,18 +33,20 @@ You may wish to adjust the prefix. As an example, you may want to add an API Ke
|
|
33
33
|
|
34
34
|
```bash
|
35
35
|
$ export HOSTED_GRAPHITE_TOKEN=some-random-key
|
36
|
-
$ echo
|
36
|
+
$ echo measure=foo.a value=1 | carbonator -p $HOSTED_GRAPHITE_TOKEN.measurements
|
37
37
|
some-random-key.measurements.foo.a 1 1348671211
|
38
|
-
some-random-key.foo.b 2 1348671211
|
39
|
-
some-random-key.foo.c 3 1348671211
|
40
38
|
```
|
41
39
|
|
42
40
|
And finally, since we're talking about command lines here, you can pipe this data straight to your Hosted Graphite installation like so:
|
43
41
|
|
44
42
|
```bash
|
45
|
-
$ echo
|
43
|
+
$ echo measure=foo.a value=1 | carbonator -p $HOSTED_GRAPHITE_TOKEN | nc carbon.hostedgraphite.com 2003
|
46
44
|
```
|
47
45
|
|
46
|
+
## Credit
|
47
|
+
|
48
|
+
Everyone stands on the shoulders of giants. I borrowed many of these conventions verbatim from [`ryandotsmith/l2met`](https://github.com/ryandotsmith/l2met).
|
49
|
+
|
48
50
|
## Contributing
|
49
51
|
|
50
52
|
1. Fork it
|
data/lib/carbonator/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carbonator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
segments:
|
114
114
|
- 0
|
115
|
-
hash: -
|
115
|
+
hash: -3619592744041821464
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
segments:
|
123
123
|
- 0
|
124
|
-
hash: -
|
124
|
+
hash: -3619592744041821464
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
127
|
rubygems_version: 1.8.23
|