diff --git a/CHANGELOG.md b/CHANGELOG.md index 584f2e12492..d832a6e076d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ -# 1.9.0 (unreleased) +# 1.9.1 (unreleased) + +**Enhancements** +- [Issue #1028](https://github.com/grafana/grafana/issues/1028). Graph: New legend option ``hideEmtpy`` to hide series with only null values + +**Fixes** +- [Issue #1199](https://github.com/grafana/grafana/issues/1199). Graph: fix for series tooltip when one series is hidden/disabled +- [Issue #1207](https://github.com/grafana/grafana/issues/1207). Graphite: movingAverage / movingMedian parameter type impovement, now handles int and interval parameter + +# 1.9.0 (2014-12-02) **Enhancements** - [Issue #1130](https://github.com/grafana/grafana/issues/1130). SinglestatPanel: Added null point handling, and value to text mapping @@ -16,7 +25,7 @@ # 1.9.0-rc1 (2014-11-17) -**UI Improvements* +**UI Improvements** - [Issue #770](https://github.com/grafana/grafana/issues/770). UI: Panel dropdown menu replaced with a new panel menu **Graph** diff --git a/latest.json b/latest.json index 3573579f26f..1757a561809 100644 --- a/latest.json +++ b/latest.json @@ -1,4 +1,4 @@ { - "version": "1.9.0-rc1", - "url": "http://grafanarel.s3.amazonaws.com/grafana-1.9.0-rc1.tar.gz" + "version": "1.9.0", + "url": "http://grafanarel.s3.amazonaws.com/grafana-1.9.0.tar.gz" } diff --git a/package.json b/package.json index a6d7f0c905f..90983011688 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "company": "Coding Instinct AB" }, "name": "grafana", - "version": "1.9.0-rc1", + "version": "1.9.0", "repository": { "type": "git", "url": "http://github.com/torkelo/grafana.git" diff --git a/src/app/controllers/graphiteTarget.js b/src/app/controllers/graphiteTarget.js index 3d899ac152f..480d7023ed4 100644 --- a/src/app/controllers/graphiteTarget.js +++ b/src/app/controllers/graphiteTarget.js @@ -162,6 +162,11 @@ function (angular, _, config, gfunc, Parser) { return new MetricSegment({ value: segment.text, expandable: segment.expandable }); }); + if ($scope.altSegments.length === 0) { + return; + } + + // add template variables _.each(templateSrv.variables, function(variable) { $scope.altSegments.unshift(new MetricSegment({ type: 'template', @@ -170,6 +175,7 @@ function (angular, _, config, gfunc, Parser) { })); }); + // add wildcard option $scope.altSegments.unshift(new MetricSegment('*')); }) .then(null, function(err) { diff --git a/src/app/features/panellinkeditor/module.html b/src/app/features/panellinkeditor/module.html index 11558f7c90c..3d5eec5fc86 100644 --- a/src/app/features/panellinkeditor/module.html +++ b/src/app/features/panellinkeditor/module.html @@ -1,6 +1,6 @@
-
Drilldown / detail linkThese links appear in the dropdown menu in the panel menu
+
Drilldown / detail linkThese links appear in the dropdown menu in the panel menu.
@@ -32,7 +32,9 @@ -
  • params
  • +
  • params + Use var-variableName=value to pass templating variables. +
  • diff --git a/src/app/panels/graph/axisEditor.html b/src/app/panels/graph/axisEditor.html index 7c1b3d73b04..393453b2218 100644 --- a/src/app/panels/graph/axisEditor.html +++ b/src/app/panels/graph/axisEditor.html @@ -44,6 +44,7 @@ +
    diff --git a/src/app/panels/graph/graph.tooltip.js b/src/app/panels/graph/graph.tooltip.js index 4c5f727f919..9100fed47cf 100644 --- a/src/app/panels/graph/graph.tooltip.js +++ b/src/app/panels/graph/graph.tooltip.js @@ -99,9 +99,9 @@ function ($) { lasthoverIndex = hoverIndex; } - results.push({ value: value, hoverIndex: newhoverIndex }); + results.push({ value: value, hoverIndex: newhoverIndex, series: series }); } else { - results.push({ value: value, hoverIndex: hoverIndex }); + results.push({ value: value, hoverIndex: hoverIndex, series: series }); } } @@ -149,8 +149,8 @@ function ($) { timestamp = dashboard.formatDate(seriesHoverInfo.time); for (i = 0; i < seriesHoverInfo.length; i++) { - series = seriesList[i]; hoverInfo = seriesHoverInfo[i]; + series = hoverInfo.series; value = series.formatValue(hoverInfo.value); seriesHtml += '
    '; diff --git a/src/app/panels/graph/legend.js b/src/app/panels/graph/legend.js index f1367df8617..311bacab788 100644 --- a/src/app/panels/graph/legend.js +++ b/src/app/panels/graph/legend.js @@ -125,6 +125,12 @@ function (angular, app, _, kbn, $) { for (i = 0; i < seriesList.length; i++) { var series = seriesList[i]; + + // ignore empty series + if (panel.legend.hideEmpty && series.allIsNull) { + continue; + } + var html = '
    - +