Project: Grafana (Observability and Analysis / Observability)
File: CHANGELOG.2.md

Elasticsearch: Support for derivative unit option, closes Graph Panel: Fixed typehead when adding series style override, closes Elasticsearch: Support for pipeline aggregations Moving average and derivative, closes Elasticsearch: Support for inline script and missing options for metrics, closes Syslog: Support for syslog logging, closes Timepicker: Always show refresh button even with refresh rate, closes Login: Make it possible to change the login hint on the login page, closes metric editors: Fix for clicking typeahead auto dropdown option, fixes influxdb: Fixed issue showing Group By label only on first query, fixes logging: Add more verbose info logging for http requests, closes table: New powerful and flexible table panel, closes CloudWatch: Support for multiple AWS Credentials, closes , Elasticsearch: Support for dynamic daily indices for annotations, closes Elasticsearch: Support for setting mindoccount for date histogram, closes Graph Panel: Option to hide series with all zeroes from legend and tooltip, closes , cloudwatch: fix for handling of period for long time ranges, fixes dashboard: fix for collapse row by clicking on row title, fixes influxdb: fix for relative time ranges `last x months` and `last x years`, fixes graph: layout fix for color picker when right side legend was enabled, fixes elasticsearch: disabling elastic query (via eye) caused error, fixes elasticsearch: Manual json edited queries are not supported any more (They very barely worked in 2.5) New Feature: Mix data sources A built in data source is now available named `-- Mixed --`, When picked in the metrics tab, it allows you to add queries of different data source types & instances to the same graph/panel! New Feature: Elasticsearch Metrics Query Editor and Viz Support Feature rich query editor and processing features enables you to issues all kind of metric queries to Elasticsearch See for more info. New Feature: New and much improved time picker Support for quick ranges like `Today`, `This day last week`, `This week`, `The day so far`, etc. Improved UI and improved support for UTC, for more info. User Onboarding Org admin can now send email invites (or invite links) to people who are not yet Grafana users Sign up flow now supports email verification (if enabled) See for more info. Other new Features && Enhancements . Admin: Initial basic quota support (per Org) . Panel: Resize handles in panel bottom right corners for easy width and height change . Admin: admin page for all grafana organizations (list / edit view) . Time Picker: New option `today`, will set time range from midnight to now . InfluxDB: You can now set group by time interval on each query . InfluxDB: Improved alias support, you can now use the `AS` clause for each select statement . InfluxDB: You can now set math expression for select clauses. . Drilldown link: now you can click on the external link icon in the panel header to access drilldown links! . OpenTSDB: Fetch list of aggregators from OpenTSDB

Graph: More axis units (Length, Volume, Temperature, Pressure, etc), thanks @greglook . LDAP: Support for searching for groups memberships, i.e. POSIX (no memberOf) schemas, also multiple ldap servers, and root ca cert, thanks @abligh Fixes . InfluxDB 0.9: Fix for handling empty series object in response from influxdb . Snapshot: Fix for snapshot with expire 7 days option, 7 days option not correct, was 7 hours . AuthProxy: Fix for server side rendering of panel when using auth proxy . Graphite: Dashboard import was broken in 2.1 and 2.1.1, working now . TimePicker: Fix for when you applied custom time range it did not refresh dashboard . Annotations: Fixed issue when html sanitizer fails for title to annotation body, now fallbacks to html escaping title and text . Templating: Another attempt at fixing #2534 (Init multi value template var used in repeat panel from url) . Graph: multi series tooltip did no highlight correct point when stacking was enabled and series were of different resolution . InfluxDB: Do no show template vars in dropdown for tag keys and group by keys . InfluxDB: More alias options, can now use `$[0-9]` syntax to reference part of a measurement name (separated by dots) Breaking Changes Notice to makers/users of custom data sources, there is a minor breaking change in 2.2 that require an update to custom data sources for them to work in 2.2. for more on the data source api change. Data source api changes, The duplicate query function used in data source editors is changed, and moveMetricQuery function was renamed Tech (Note for devs) Started using Typescript (transpiled to ES5), uncompiled typescript files and less files are in public folder (in source tree) This folder is never modified by build steps. Compiled css and javascript files are put in public_gen, all other files that do not undergo transformation are just copied from public to publicgen, it is publicgen that is used by grafana-server if it is found. Grunt & Watch tasks: `grunt` : default task, will remove public_gen, copy over all files from public, do less & typescript compilation `grunt watch`: will watch for changes to less, and typescript files and compile them to publicgen, and for other files it will just copy them to publicgen Fixes . Packaging: ldap.toml was not marked as config file and could be overwritten in upgrade . Templating: Another attempt at fixing #2534 (Init multi value template var used in repeat panel from url) Fixes . DragDrop: Fix for broken drag drop behavior . Templating: fix for setting template variable value via url and having repeated panels or rows Fixes . Templating: Fix for buggy repeat row behavior when combined with with repeat panel due to recent change before 2.1 release . Templating: Fix text panel when using template variables in text in in repeated panel . InfluxDB: Fix for using template vars inside alias field (InfluxDB 0.9)

SinglestatPanel: Fix to handle series with no data points . LDAP: Fix for ldap users with empty email address . Graphite: Fix bug when using series ref (#A-Z) and referenced series is hidden in query editor. . Postgres: Dashboard search is now case insensitive when using Postgres Enhancements . InfluxDB(0.9): Added more condition operators (`<`, `>`, `<>`, `!~`), thx @thuck . InfluxDB(0.9): Use \$col as option in alias patterns, thx @thuck Data sources . InfluxDB: Full support for InfluxDB 0.9 with new adapted query editor . KariosDB: Grafana now ships with a KariosDB data source plugin, thx @masaori335 . OpenTSDB: Limit tags by metric, OpenTSDB config option tsd.core.meta.enablerealtimets must enabled for OpenTSDB lookup api . OpenTSDB: Support for template variable values lookup queries New dashboard features . Templating: You can now select multiple template variables values at the same time. . Templating: Specify multiple variable values via URL params. . Templating: Repeat panel or row for each selected template variable value . Dashboard: Custom Navigation links & dynamic links to related dashboards . Graph: Define series color using regex rule . Graph: New series style override, negative-y transform and stack groups . Dashboard list panel: Now supports search by multiple tags . Singlestat: Now support string values User or Organization admin . Organization: You can now update the organization user role directly (without removing and readding the organization user). . Roles: New user role `Read Only Editor` that replaces the old `Viewer` role behavior Backend . Auth: You can now authenticate against api with username / password using basic auth . Search: Search now supports filtering by multiple dashboard tags . GitHub OAuth: You can now configure a GitHub team membership requirement, thx @dewski . GitHub OAuth: You can now configure a GitHub organization requirement, thx @indrekj . Security: New config option to disable the use of gravatar for profile images . Auth: Support for user authentication via reverse proxy header (like X-Authenticated-User, or X-WEBAUTH-USER) . Search: Backend can now index a folder with json files, will be available in search (saving back to folder is not supported, this feature is meant for static generated json dashboards) Breaking changes . User role 'Viewer' are now prohibited from entering edit mode (and doing other transient dashboard edits). A new role `Read Only Editor` will replace the old Viewer behavior . HTTP API: GET /api/dashboards/db/:slug response changed property `model` to `dashboard` to match the POST request naming Backend render URL changed from `/render/dashboard/solo` `render/dashboard-solo/` (in order to have consistent dashboard url `/dashboard/:type/:slug`) Search HTTP API response has changed (simplified), tags list moved to separate HTTP resource URI Data source HTTP api breaking change, ADD data source is now POST /api/datasources/, update is now PUT /api/datasources/:id Fixes . Graph: fixed PNG rendering of panels with legend table to the right . Backend: Load dashboards with capital letters in the dashboard url slug (url id) Fixes . Firefox/IE issue, invisible text in dashboard search fixed

/api/login/ping Fix for issue when behind reverse proxy and subpath . MySQL: Dashboard.data column type changed to mediumtext (sql migration added) Fixes . Graph Panel + Legend Table mode: Many series caused zero height graph, now legend will never reduce the height of the graph below 50% of row height. . Snapshots: Fixed issue with snapshotting dashboards with an interval template variable . Panel timeshift: You can now use panel timeshift without a relative time override Fixes . Data source proxy: Fixed issue with using data source proxy when grafana is behind nginx suburl . Graph Panel: Table legends are now visible when rendered to PNG . Graph Panel: Legend in table mode now aligns, graph area is reduced depending on how many series . Support for unicode / international characters in dashboard title (improved slugify) . GitHub OAuth: Now works with GitHub for Enterprise, thanks @williamjoy . Dashboard snapshot: Should not require login to view snapshot, Fixes #1780 RPM / DEB Package changes (to follow HFS) binary name changed to grafana-server does not install to `/opt/grafana` any more, installs to `/usr/share/grafana` binary to `/usr/sbin/grafana-server` init.d script improvements, renamed to `/etc/init.d/grafana-server` added default file with environment variables, `/etc/default/grafana-server` (deb/ubuntu) `/etc/sysconfig/grafana-server` (centos/redhat) added systemd service file, tested on debian jessie and centos7 config file in same location `/etc/grafana/grafana.ini` (now complete config file but with every setting commented out) data directory (where sqlite3) file is stored is now by default `/var/lib/grafana` no symlinking current to versions anymore For more info see . Config breaking change (setting rename) `[log] root_path` has changed to `[paths] logs` Enhancements . Share modal: Override UI theme via URL param for Share link, rendered panel, or embedded panel . OAuth: Specify allowed email address domains for google or and github oauth logins Fixes . HTTP API: grafana /render calls nows with api keys . Data source proxy & session timeout fix (caused 401 Unauthorized error after a while) . Unsaved changes: Do not show for snapshots, scripted and file based dashboards . Unsaved changes: Do not show for users with role `Viewer` . Data source proxy: Fixed issue with Gzip enabled and data source proxy . MySQL session: fixed problem using mysql as session store . Data sources: Fixed issue with changing default data source (should not require full page load to take effect, now fixed) . Search: Dashboard results should be sorted alphabetically . Basic auth: Fixed issue when using basic auth proxy infront of Grafana Important Note Grafana 2.x is fundamentally different from 1.x; it now ships with an integrated backend server. Please read the for more detailed about this SIGNIFICANT change to Grafana New features . Share Dashboard: Dashboard snapshot sharing (dash and data snapshot), save to local or save to public snapshot dashboard snapshots.raintank.io site

Share Panel: The share modal now has an embed option, gives you an iframe that you can use to embed a single graph on another web site . Dashboard: When saving a dashboard and another user has made changes in between the user is prompted with a warning if he really wants to overwrite the other's changes . Graph & Singlestat: New axis/unit format selector and more units (kbytes, Joule, Watt, eV), and new design for graph axis & grid tab and single stat options tab views . Timepicker: New option in timepicker (under dashboard settings), to change `now` to be for example `now-1m`, useful when you want to ignore last minute because it contains incomplete data . Panel: Different time periods, panels can override dashboard relative time and/or add a time shift . Dashboard: Clone dashboard / Save as . User: persisted user option for dark or light theme (no longer an option on a dashboard) . Graph: Adds logarithmic scale option for base 10, base 16 and base 1024 Enhancements . Graph & Singlestat: Support for additional units, Fahrenheit (F) and Celsius (C), Humidity (%H), kW, watt-hour (Wh), kilowatt-hour (kWh), velocities (m/s, km/h, mpg, knot) . Graph: Shared tooltip improvement, can now support metrics of different resolution/intervals . Graphite: Added cumulative and minimumBelow graphite functions . InfluxDB: Auto escape column names with special characters. Thanks @steven-aerts . SingleStatPanel: You can now use template variables in pre & postfix . Graph: Added right y axis label setting and graph support . Graph & Singlestat: Users can now set decimal precision for legend and tooltips (override auto precision) . Templating: Dashboard will now wait to load until all template variables that have refresh on load set or are initialized via url to be fully loaded and so all variables are in valid state before panels start issuing metric requests. . OpenTSDB: Alias patterns (reference tag values), syntax is: \$tagtagname or [[tagtagname]] Fixes . InfluxDB: Fix handling of empty array in templating variable query . Graph: Fixed issue when using zero as a grid threshold . UI: Fixed position of confirm modal when scrolled down . Graphite: Fix for nested complex queries, where a query references a query that references another query (ie the #[A-Z] syntax) . Templating: Fix to allow custom template variables to contain white space, now only splits on ',' . Graph: Fix for all series tooltip showing series with all null values when `Hide Empty` option is enabled . Dashboard: Fixed memory leak when switching dashboards Changes Dashboard title change & save will no longer create a new dashboard, it will just change the title. OpenTSDB breaking change . OpenTSDB: Automatic downsample interval passed to OpenTSDB (depends on timespan and graph width) NOTICE, Downsampling is now enabled by default, so if you have not picked a downsample aggregator in your metric query do so or your graphs will be misleading This will make Grafana a lot quicker for OpenTSDB users when viewing large time spans without having to change the downsample interval manually. Tech . Tech: Updated Font-Awesome from 3.2 to 4.2