1+++ 2title = "What's new in Grafana v2.1" 3description = "Feature and improvement highlights for Grafana v2.1" 4keywords = ["grafana", "new", "documentation", "2.1", "release notes"] 5aliases = ["/docs/grafana/latest/guides/whats-new-in-v2-1/"] 6weight = -2 7[_build] 8list = false 9+++ 10 11# What's new in Grafana v2.1 12 13Grafana 2.1 brings improvements in three core areas: dashboarding, authentication, and data sources. 14As with every Grafana release, there is a whole slew of new features, enhancements, and bug fixes. 15 16## More Dynamic Dashboards 17 18The Templating system is one of the most powerful and well-used features of Grafana. 19The 2.1 release brings numerous improvements that make dashboards more dynamic than ever before. 20 21### Multi-Value Template Variables 22 23A template variable with Multi-Value enabled allows for the selection of multiple values at the same time. 24These variables can then be used in any Panel to make them more dynamic, and to give you the perfect view of your data. 25Multi-Value variables are also enabling the new `row repeat` and `panel repeat` feature described below. 26 27![Multi-Value Select](/static/img/docs/v2/multi-select.gif 'Multi-Value Select') 28<br/><br/> 29 30### Repeating Rows and Panels 31 32It’s now possible to create a dashboard that automatically adds (or removes) both rows and panels based 33on selected variable values. Any row or any panel can be configured to repeat (duplicate itself) based 34on a multi-value template variable.</p> 35 36![Repeating Rows and Panels](/static/img/docs/v2/panel-row-repeat.gif 'Repeating Rows and Panels') 37<br/><br/> 38 39### Dashboard Links and Navigation 40 41To support better navigation between dashboards, it's now possible to create custom and dynamic links from individual 42panels to appropriate Dashboards. You also have the ability to create flexible top-level links on any 43given dashboard thanks to the new dashboard navigation bar feature. 44 45![Dashboard Links](/static/img/docs/v2/dash_links.png 'Dashboard Links') 46 47Dashboard links can be added under dashboard settings. Either defined as static URLs with a custom icon or as dynamic 48dashboard links or dropdowns based on custom dashboard search query. These links appear in the same 49row under the top menu where template variables appear. 50 51--- 52 53### Better local Dashboard support 54 55Grafana can now index Dashboards saved locally as JSON from a given directory. These file based dashboards 56will appear in the regular dashboard search along regular DB dashboards. 57 58> **Note:** Saving local dashboards back the folder is not supported; this feature is meant for statically generated JSON dashboards. 59 60--- 61 62## New Authentication Options 63 64New authentication methods add numerous options to manage users, roles and organizations. 65 66### LDAP support 67 68This highly requested feature now allows your Grafana users to login with their LDAP credentials. 69You can also specify mappings between LDAP group memberships and Grafana Organization user roles. 70 71### Basic Auth Support 72 73You can now authenticate against the Grafana API utilizing a simple username and password with basic HTTP authentication. 74 75> **Note:** This can be useful for provisioning and configuring management systems that need 76> to utilize the API without having to create an API key. 77 78### Auth Proxy Support 79 80You can now authenticate utilizing a header (eg. X-Authenticated-User, or X-WEBAUTH-USER) 81 82> **Note:** this can be useful in situations with reverse proxies. 83 84### New “Read-only Editor” User Role 85 86There is a new User role available in this version of Grafana: “Read-only Editor”. This role behaves just 87like the Viewer role does in Grafana 2.0. That is you can edit graphs and queries but not save dashboards. 88The Viewer role has been modified in Grafana 2.1 so that users assigned this role can no longer edit panels. 89 90--- 91 92## Data source Improvements 93 94### InfluxDB 0.9 Support 95 96Grafana 2.1 now comes with full support for InfluxDB 0.9. There is a new query editor designed from scratch 97for the new features InfluxDB 0.9 enables. 98 99![InfluxDB Editor](/static/img/docs/v2/influx_09_editor_anim.gif 'InfluxDB Editor') 100 101<br/> 102 103### OpenTSDB Improvements 104 105Grafana OpenTSDB data source now supports template variable values queries. This means you can create 106template variables that fetches the values from OpenTSDB (for example metric names, tag names, or tag values). 107The query editor is also enhanced to limiting tags by metric. 108 109> **Note:** OpenTSDB config option tsd.core.meta.enable_realtime_ts must enabled for OpenTSDB lookup API) 110 111### New Data Source: KairosDB 112 113The Cassandra backed time series database KairosDB is now supported in Grafana out of the box. Thank you to 114<a href="https://github.com/masaori335" target="_blank">masaori335</a> for his hard work in getting it to this point. 115 116--- 117 118## Panel Improvements 119 120Grafana 2.1 gives you even more flexibility customizing how individual panels render. 121Overriding the colors of specific series using regular expressions, changing how series stack, 122and allowing string values will help you better understand your data at a glance. 123 124### Graph Panel 125 126Define series color using regex rule. This is useful when you have templated graphs with series names 127that change depending selected template variables. Using a regex style override rule you could 128for example make all series that contain the word **CPU** `red` and assigned to the second y axis. 129 130![Define series color using regex rule](/static/img/docs/v2/regex_color_override.png 'Define series color using regex rule') 131 132New series style override, negative-y transform and stack groups. Negative y transform is 133very useful if you want to plot a series on the negative y scale without affecting the legend values like min or max or 134the values shown in the hover tooltip. 135 136![Negative-y Transform](/static/img/docs/v2/negative-y.png 'Negative-y Transform') 137 138![Negative-y Transform](/static/img/docs/v2/negative-y-form.png 'Negative-y Transform') 139 140### Singlestat Panel 141 142Now support string values. Useful for time series database like InfluxDB that supports 143string values. 144 145### Changelog 146 147For a detailed list and link to github issues for everything included in the 2.1 release please 148view the [CHANGELOG.md](https://github.com/grafana/grafana/blob/master/CHANGELOG.md) file. 149