From fc7a94fa66f49b6581dc981c1a416455a7fdb1f3 Mon Sep 17 00:00:00 2001 From: Vishal Sharma Date: Thu, 19 Sep 2024 18:48:37 +0530 Subject: [PATCH] chore: update dashboard contributing doc and issue template (#6029) * chore: update dashboard contributing doc and issue template * chore: update issue template --- .github/ISSUE_TEMPLATE/request_dashboard.md | 49 +++++++++------------ CONTRIBUTING.md | 13 +++++- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/request_dashboard.md b/.github/ISSUE_TEMPLATE/request_dashboard.md index 7972f4062547..ba68449103c5 100644 --- a/.github/ISSUE_TEMPLATE/request_dashboard.md +++ b/.github/ISSUE_TEMPLATE/request_dashboard.md @@ -1,58 +1,49 @@ --- name: Request Dashboard about: Request a new dashboard for the SigNoz Dashboards repository -title: '' +title: '[Dashboard Request] ' labels: 'dashboard-template' assignees: '' --- -## 📝 Dashboard Request Template + -*Use this template to request a new dashboard for the SigNoz Dashboards repository. Please provide as much detail as possible to help us understand your needs.* +## Dashboard Name ---- + -### 1. Dashboard Name +## Expected Dashboard Sections and Panels -Name of the requested dashboard (e.g., MySQL Monitoring Dashboard): +(Can be tweaked (add or remove panels/sections) according to available metrics) ---- +### Section Name -### 2. Expected Dashboard Sections and Panels + -#### Section Name +### Panel Name -Brief description of the section (e.g., "Resource usage metrics for MySQL database"). + -#### Panel Name - -Panel description (e.g., "Value-type panels displaying current CPU usage, memory usage, etc."). - -- **Example:** + -(Repeat this format for additional sections and panels) + ---- +## Expected Dashboard Variables -### 3. Expected Variables + -List any variables you expect to use in the dashboard (e.g., `deployment.environment`, `hostname`, etc.). +## Additional Comments or Requirements ---- + -### 4. Additional Comments or Requirements +## References or Screenshots -Any additional details or special requirements for the dashboard? + ---- - -### 📋 Notes +## 📋 Notes Please review the [CONTRIBUTING.md](https://github.com/SigNoz/dashboards/blob/main/CONTRIBUTING.md) for guidelines on dashboard structure, naming conventions, and how to submit a pull request. - ---- -Thank you for your request! We will review it and provide feedback or guidance as necessary. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cc1c4399d84f..632a4e98e8dd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,6 +30,7 @@ Also, have a look at these [good first issues label](https://github.com/SigNoz/s - [To run ClickHouse setup](#41-to-run-clickhouse-setup-recommended-for-local-development) - [Contribute to SigNoz Helm Chart](#5-contribute-to-signoz-helm-chart-) - [To run helm chart for local development](#51-to-run-helm-chart-for-local-development) +- [Contribute to Dashboards](#6-contribute-to-dashboards-) - [Other Ways to Contribute](#other-ways-to-contribute) # 1. General Instructions 📝 @@ -369,6 +370,17 @@ curl -sL https://github.com/SigNoz/signoz/raw/develop/sample-apps/hotrod/hotrod- --- +# 6. Contribute to Dashboards 📈 + +**Need to Update: [https://github.com/SigNoz/dashboards](https://github.com/SigNoz/dashboards)** + +To contribute a new dashboard template for any service, follow the contribution guidelines in the [Dashboard Contributing Guide](https://github.com/SigNoz/dashboards/blob/main/CONTRIBUTING.md). In brief: + +1. Create a dashboard JSON file. +2. Add a README file explaining the dashboard, the metrics ingested, and the configurations needed. +3. Include screenshots of the dashboard in the `assets/` directory. +4. Submit a pull request for review. + ## Other Ways to Contribute There are many other ways to get involved with the community and to participate in this project: @@ -379,7 +391,6 @@ There are many other ways to get involved with the community and to participate - Help answer questions on forums such as Stack Overflow and [SigNoz Community Slack Channel](https://signoz.io/slack). - Tell others about the project on Twitter, your blog, etc. - Again, Feel free to ping us on [`#contributing`](https://signoz-community.slack.com/archives/C01LWQ8KS7M) or [`#contributing-frontend`](https://signoz-community.slack.com/archives/C027134DM8B) on our slack community if you need any help on this :) Thank You!