riemann-cli 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/riemann-cli +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f26ab9e4f6cce08ac4d9535550ed39ab8a1787d4
|
4
|
+
data.tar.gz: 0edcaa5a16a98224d08acc8ae5ad05efb134d235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94ea81f110acc988c1c0db5db902d38df6dd40648eeff164ea12ebe38958a8283bb902a62ea7094795466857160859986ec6d06842dacdbeda8c026089d0a245
|
7
|
+
data.tar.gz: 6555373ad36738ac850efe6da6c745c057f2c9066fdd87ad7959cdf9167a924b26a98a4a12b93f3231eebef76140d25a5222261eaad065a0798dc7217087fa14
|
data/bin/riemann-cli
CHANGED
@@ -37,8 +37,9 @@ class MyCLI < Thor
|
|
37
37
|
c.udp << event
|
38
38
|
end
|
39
39
|
end
|
40
|
-
|
41
|
-
desc 'query', 'Queries the index
|
40
|
+
|
41
|
+
desc 'query', 'Queries the index'
|
42
|
+
long_desc 'Queries the index. The output can be controlled by the `--format` argument. The format string can contain placeholders of the form `%{name}` which will be substituted with the corresponding value. By default, query returns everything contained in the index'
|
42
43
|
option :string, :desc => 'Query string in Riemann query format', :default => 'true'
|
43
44
|
option :format, :desc => 'Format string for the output', :default => "{host:\"%{host}\", service:\"%{service}\", state:\"%{state}\", time:%{time}, description:\"%{description}\", tags:%{tags}, metric_f:%{metric_f}, metric_d:%{metric_d}, metric_sint64:%{metric_sint64}, ttl:%{ttl}}"
|
44
45
|
def query()
|