@@ -36,9 +36,9 @@ <h4>Download and Run</h4>
36
36
< div class ="console ">
37
37
< span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> mkdir chronixShowcase</ span > < br >
38
38
< span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> cd chronixShowcase</ span > < br >
39
- < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> wget https://github.com/ChronixDB/chronix.server/releases/download/v0.4 /chronix-0.4 .zip</ span > < br >
40
- < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> unzip chronix-0.4 .zip</ span > < br >
41
- < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> cd chronix-solr-6.3.0 /</ span > < br >
39
+ < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> wget https://github.com/ChronixDB/chronix.server/releases/download/v0.5-beta /chronix-0.5-beta .zip</ span > < br >
40
+ < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> unzip chronix-0.5-beta .zip</ span > < br >
41
+ < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> cd chronix-solr-6.4.2 /</ span > < br >
42
42
< span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> chmod +x bin/solr</ span > < br >
43
43
< span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> export JAVA_HOME=/usr/lib/jvm/java-8-oracle/</ span > < br >
44
44
< span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> ./bin/solr start</ span > < br >
@@ -56,8 +56,8 @@ <h4>Download and Run</h4>
56
56
57
57
< div class ="console ">
58
58
< span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> cd chronixShowcase</ span > < br >
59
- < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> wget https://github.com/ChronixDB/chronix.examples/releases/download/0.3 /chronix-timeseries-exploration-0.3 .jar</ span > < br >
60
- < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> java -jar chronix-timeseries-exploration-0.3 .jar</ span > < br >
59
+ < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> wget https://github.com/ChronixDB/chronix.examples/releases/download/v0.5-beta /chronix-timeseries-exploration-0.5-beta .jar</ span > < br >
60
+ < span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-text "> java -jar chronix-timeseries-exploration-0.5-beta .jar</ span > < br >
61
61
< span class ="teletype-text "> Setting up Chronix with a remote solr to URL http://localhost:8983/solr/chronix/</ span > < br >
62
62
< span class ="teletype-text "> Checking connection to solr. Result true.</ span > < br >
63
63
< span class ="type-text teletype-prefix "> chronix@chronixDB:~$ </ span > < span class ="teletype-cursor "
@@ -66,18 +66,18 @@ <h4>Download and Run</h4>
66
66
67
67
< p >
68
68
With the running JavaFX application, you can query Chronix for time series data.
69
- For example, a simple query that delivers all time series data whose metric name contains
69
+ For example, a simple query that delivers all time series data whose name contains
70
70
< span style ="font-family: Courier "> Load</ span > is
71
- < span style ="font-family: Courier "> metric :*Load*</ span > .
71
+ < span style ="font-family: Courier "> name :*Load*</ span > .
72
72
Just enter the query term into the text box at the top and hit Shift + Enter to retrieve the result.
73
73
To compute the maximum, minimum, average of that result you add a filter query
74
- < span style ="font-family: Courier "> function= max;min;avg</ span > in the second text box and press
74
+ < span style ="font-family: Courier "> metric{ max;min;avg} </ span > in the second text box and press
75
75
again Shift +
76
76
Enter.
77
77
To check if the average load
78
- (< span style ="font-family: Courier "> metric :*Load*avg</ span > )
78
+ (< span style ="font-family: Courier "> name :*Load*avg</ span > )
79
79
has a positive trend you can use
80
- < span style ="font-family: Courier "> function= trend</ span > in the filter query text box.
80
+ < span style ="font-family: Courier "> metric{ trend} </ span > in the filter query text box.
81
81
You start the analysis by pressing Shift + Enter.
82
82
The queries described and shown in the screencast represent only a few simple queries, check out
83
83
our < a
0 commit comments