Get up and running with Chronix in 3 minutes with our quickstart guide:



Prerequisites

You need Java 8 installed on your system. That's it :-)

Download and Run

The Chronix showcase consists of two parts. Pick the latest releases of the Chronix Server (download) and an example JavaFX application (download) for time series exploration. Unzip the Chronix Server (it contains one week of operational time series data), the JavaFX application is an executable Java archive.

Just use the following instructions:



chronix@chronixDB:~$ mkdir chronixShowcase

chronix@chronixDB:~$ cd chronixShowcase

chronix@chronixDB:~$ wget https://github.com/ChronixDB/chronix.server/releases/download/v0.5-beta/chronix-0.5-beta.zip

chronix@chronixDB:~$ unzip chronix-0.5-beta.zip

chronix@chronixDB:~$ cd chronix-solr-6.4.2/

chronix@chronixDB:~$ chmod +x bin/solr

chronix@chronixDB:~$ export JAVA_HOME=/usr/lib/jvm/java-8-oracle/

chronix@chronixDB:~$ ./bin/solr start

Started Solr server on port 8983 (pid=3591). Happy searching!

chronix@chronixDB:~$ ▋

Chronix is now running on localhost:8983. Now we can start the JavaFX application. Download the executable jar from GitHub and start it from the console:



chronix@chronixDB:~$ cd chronixShowcase

chronix@chronixDB:~$ wget https://github.com/ChronixDB/chronix.examples/releases/download/v0.5-beta/chronix-timeseries-exploration-0.5-beta.jar

chronix@chronixDB:~$ java -jar chronix-timeseries-exploration-0.5-beta.jar

Setting up Chronix with a remote solr to URL http://localhost:8983/solr/chronix/

Checking connection to solr. Result true.

chronix@chronixDB:~$ ▋

With the running JavaFX application, you can query Chronix for time series data. For example, a simple query that delivers all time series data whose name contains Load is name:*Load*. Just enter the query term into the text box at the top and hit Shift + Enter to retrieve the result. To compute the maximum, minimum, average of that result you add a filter query metric{max;min;avg} in the second text box and press again Shift + Enter. To check if the average load (name:*Load*avg) has a positive trend you can use metric{trend} in the filter query text box. You start the analysis by pressing Shift + Enter. The queries described and shown in the screencast represent only a few simple queries, check out our examples repository for more details.