Chronograf 0.10.0 is here! A few quick housekeeping notes: Our last major release was 0.4, but we chose to bump our next major version to 0.10.0 to sync with the rest of the TICK stack. We’ve also tightened up our release cycles, so keep an eye out for future release candidates on the InfluxData downloads page. In this post we’ll take a glance at a few of the new features and improvements, and finish up with a look at what’s in store for Chronograf as 2016 unfolds.
Smarter Query Builder
We’ve radically improved our ability to parse raw InfluxDB queries. This means you’ll now be able to paste a query directly into Chronograf, and the elements of your query (measurement, tags, etc.) will be parsed out and available for use in the builder:
Template variables allow you to apply a value across multiple queries. 0.10.0 introduces a new concept to Chronograf: the
tmplTagValue() functions. These functions allow you to apply either a time or tag template to a query, and can be added via the UI as well as by manually editing the query text.
Use the clause
WHERE tmplTime() to apply the globally selected time range to a particular query. This works for queries that use the query builder as well as queries entered manually via copy/paste. Any new queries you add will use
tmplTime() by default.
Using template variables for tags prevents you from having to duplicate groups of visualizations across dashboards. Say you were running an application on multiple hosts and had a dashboard to monitor system metrics (cpu, memory, etc.). Instead of configuring a dashboard for each host via an API or by hand (neither option being ideal), you could use a template variable for the tag key
host. Simply head to the query builder, select a tag key, and choose the ‘Make Variable’ option to turn that tag pair into a template variable:
Check out our full documentation around templating here.
Here are a few things in store for Chronograf down the road:
- More tools for custom analytics
- New visualization types
- UI/Performance improvements