From 9f5bdce25c6ae65902d5e69c60ef6949e36d5fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 16 Oct 2020 16:49:55 +0200 Subject: [PATCH] IssueTriage: Needs more info automation and messages (#28137) * IssueTriage: Needs more info automation and messages * Updated * Updated * Updated wording --- .github/commands.json | 15 +++++++++++ CONTRIBUTING.md | 13 +++++++++- .../dashboards/grafana-overview.json | 26 ++++--------------- 3 files changed, 32 insertions(+), 22 deletions(-) diff --git a/.github/commands.json b/.github/commands.json index 0f1d30198ecd3..b27bc440f512e 100644 --- a/.github/commands.json +++ b/.github/commands.json @@ -17,6 +17,21 @@ "name": "type/duplicate", "action": "close", "comment": "Thanks for creating this issue! It looks like this has already been reported by another user. We’ve closed this in favor of the existing one. Please consider adding any details you think is missing to that issue.\n\nTo avoid having your issue closed in the future, please read our [CONTRIBUTING](https://github.com/grafana/grafana/blob/master/CONTRIBUTING.md) guidelines.\n\nHappy graphing!" + }, + { + "type": "comment", + "name": "needsMoreInfo", + "allowUsers": [], + "action": "updateLabels", + "addLabel": "~needs more info" + }, + { + "type": "label", + "name": "~needs more info", + "action": "updateLabels", + "addLabel": "needs more info", + "removeLabel": "~needs more info", + "comment": "Thanks for creating this issue! We figured it's missing some basic information. \r\n\r\nFor data visualization issues: \r\n- Query results from the inspect drawer (data tab & query inspector)\r\n- Panel settings can be extracted in the panel inspect drawer JSON tab\r\n\r\nFor a dashboard related issues: \r\n- Dashboard JSON can be found in the dashboard settings JSON model view\r\n\r\nFor authentication and alerting Grafana server logs are useful. \r\n\r\nHappy graphing!" }, { "type": "label", diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 057977da13bb8..9d2182246f399 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,20 @@ For more ways to contribute, check out the [Open Source Guides](https://opensour ### Report bugs +Before submitting a new issue, try to make sure someone hasn't already reported the problem. Look through the [existing issues](https://github.com/grafana/grafana/issues) for similar issues. + Report a bug by submitting a [bug report](https://github.com/grafana/grafana/issues/new?labels=type%3A+bug&template=1-bug_report.md). Make sure that you provide as much information as possible on how to reproduce the bug. -Before submitting a new issue, try to make sure someone hasn't already reported the problem. Look through the [existing issues](https://github.com/grafana/grafana/issues) for similar issues. +Follow the issue template and add additional information that will help us replicate the problem. + +For data visualization issues: +- Query results from the inspect drawer (data tab & query inspector) +- Panel settings can be extracted in the panel inspect drawer JSON tab + +For a dashboard related issues: +- Dashboard JSON can be found in the dashboard settings JSON model view + +For authentication and alerting Grafana server logs are useful. #### Security issues diff --git a/grafana-mixin/dashboards/grafana-overview.json b/grafana-mixin/dashboards/grafana-overview.json index 839e272ab0af6..de50454d33eef 100644 --- a/grafana-mixin/dashboards/grafana-overview.json +++ b/grafana-mixin/dashboards/grafana-overview.json @@ -55,9 +55,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "mean" - ], + "calcs": ["mean"], "fields": "", "values": false } @@ -112,9 +110,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "mean" - ], + "calcs": ["mean"], "fields": "", "values": false } @@ -453,9 +449,7 @@ "selected": true, "tags": [], "text": "All", - "value": [ - "$__all" - ] + "value": ["$__all"] }, "datasource": "$datasource", "definition": "label_values(grafana_build_info, job)", @@ -509,20 +503,10 @@ "to": "now" }, "timepicker": { - "refresh_intervals": [ - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] + "refresh_intervals": ["10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"] }, "timezone": "", "title": "Grafana Overview", "uid": "6be0s85Mk", "version": 4 -} \ No newline at end of file +}