From fbd6417c8abccbab063b92e66221c48175f681d3 Mon Sep 17 00:00:00 2001 From: Matt Toback Date: Thu, 12 Nov 2015 12:03:33 -0500 Subject: [PATCH 1/3] Updating singlestat article to include troubleshooting --- docs/sources/reference/singlestat.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/sources/reference/singlestat.md b/docs/sources/reference/singlestat.md index 6f7c9fbd965..7de047197f7 100644 --- a/docs/sources/reference/singlestat.md +++ b/docs/sources/reference/singlestat.md @@ -54,4 +54,21 @@ Value to text mapping allows you to translate the value of the summary stat into +## Troubleshooting +### Multiple Series Error + + + + +Grafana 2.5 introduced stricter checking for multiple-series on singlestat panels. In previous versions, the panel logic did not verify that only a single series was used, and instead, displayed the first series encountered. Depending on your data source, this could have lead to inconsistent data being shown and/or a general confusion about which metric was being displayed. + +To fix your singlestat panel: + +- Edit your panel by clicking the Panel Title and selecting *Edit*. + +- Do you have multiple queries in the metrics tab? + - Solution: Select a single query to vizualize. You can toggle whether a query is vizualized by clicking the eye icon on each line. If the error persists, continue to the next solution. + +- Do you have one query? + - Solution: This likely means your query is returning multiple series. You will want to reduce this down to a single series. This can be accomplished in many ways, depending on your data source. Some common practices include summing the series, averaging or any number of other functions. Consult the documentation for your data source for additional information. From b43315c36d51bef7685f6e89d2cce66402792340 Mon Sep 17 00:00:00 2001 From: Matt Toback Date: Thu, 12 Nov 2015 12:07:09 -0500 Subject: [PATCH 2/3] Update singlestat.md --- docs/sources/reference/singlestat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/reference/singlestat.md b/docs/sources/reference/singlestat.md index 7de047197f7..a982871a5cd 100644 --- a/docs/sources/reference/singlestat.md +++ b/docs/sources/reference/singlestat.md @@ -58,7 +58,7 @@ Value to text mapping allows you to translate the value of the summary stat into ### Multiple Series Error - + Grafana 2.5 introduced stricter checking for multiple-series on singlestat panels. In previous versions, the panel logic did not verify that only a single series was used, and instead, displayed the first series encountered. Depending on your data source, this could have lead to inconsistent data being shown and/or a general confusion about which metric was being displayed. From 7888c1c61429ea154e939a7d40b350f9bae07988 Mon Sep 17 00:00:00 2001 From: Matt Toback Date: Thu, 12 Nov 2015 12:35:45 -0500 Subject: [PATCH 3/3] Update singlestat.md --- docs/sources/reference/singlestat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/reference/singlestat.md b/docs/sources/reference/singlestat.md index a982871a5cd..91724e89882 100644 --- a/docs/sources/reference/singlestat.md +++ b/docs/sources/reference/singlestat.md @@ -68,7 +68,7 @@ To fix your singlestat panel: - Edit your panel by clicking the Panel Title and selecting *Edit*. - Do you have multiple queries in the metrics tab? - - Solution: Select a single query to vizualize. You can toggle whether a query is vizualized by clicking the eye icon on each line. If the error persists, continue to the next solution. + - Solution: Select a single query to visualize. You can toggle whether a query is visualized by clicking the eye icon on each line. If the error persists, continue to the next solution. - Do you have one query? - Solution: This likely means your query is returning multiple series. You will want to reduce this down to a single series. This can be accomplished in many ways, depending on your data source. Some common practices include summing the series, averaging or any number of other functions. Consult the documentation for your data source for additional information.