-
Notifications
You must be signed in to change notification settings - Fork 16
Add data sources writing guidelines #1221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 21 commits
24fb4bd
dd46dd8
a5af771
73ab727
ef5e5e6
588687a
a1c5fa5
359d7c9
46e509a
31a1c9e
354ffde
8f6c9c1
3f83d8a
df0544e
3432b7e
bbaa1f3
668726e
17bf136
7ecc4c3
c342184
67eb949
9b0bebc
9a4de08
d801f26
45f31b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,325 @@ | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
| date: "2025-09-10T00:00:00+01:00" | ||||||||||||||||||||||
| description: | ||||||||||||||||||||||
| Learn what is required to document data sources at Grafana. | ||||||||||||||||||||||
| keywords: | ||||||||||||||||||||||
| - data source | ||||||||||||||||||||||
| - plugin | ||||||||||||||||||||||
| menuTitle: Data sources writing guide | ||||||||||||||||||||||
| review_date: "2025-09-15" | ||||||||||||||||||||||
| title: Data sources writing guide | ||||||||||||||||||||||
| weight: 500 | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # Data sources writing guide | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Grafana offers almost 400 data sources to Grafana users, both open source and enterprise. | ||||||||||||||||||||||
| While many are maintained by Grafana, others are maintained by Grafana Champions and other users or companies that partner with Grafana Labs. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Enterprise plugins reside in the [`grafana/plugins-private`](https://github.com/grafana/plugins-private) repository, which is a private repository. | ||||||||||||||||||||||
| Other plugins have their own separate repos, and you need to clone each repo to work on data source documentation updates. | ||||||||||||||||||||||
Check warningCode scanning / Vale Use 'repository' instead of 'repo'.. For more information, refer to https://grafana.com/docs/writers-toolkit/write/style-guide/word-list/. To fix this, Replace the matched content with one of the following: repository. Warning documentation
Use 'repository' instead of 'repo'.. For more information, refer to https://grafana.com/docs/writers-toolkit/write/style-guide/word-list/.
To fix this, Replace the matched content with one of the following:
repository.
|
||||||||||||||||||||||
| These repositories are sometimes also private. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## General writing guidance | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Use active voice and present tense. Refer to [Voice and tone guidelines](https://grafana.com/docs/writers-toolkit/write/style-guide/voice-tone-guidelines/) for more information. | ||||||||||||||||||||||
| - Refer to [Style conventions](https://grafana.com/docs/writers-toolkit/write/style-guide/style-conventions/) for guidance on writing techniques. | ||||||||||||||||||||||
| - Refer to the [Style guide](https://grafana.com/docs/writers-toolkit/write/style-guide/) for content style guidelines. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Docs by topic | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| In the past, a data source document tended to be one long document containing background, requirements, configuration options, query editor options and templates and variables. To make information easier to find, the technical writing team, with agreement from product management and engineering, decided to refactor the documentation into separate topics. The idea behind this refactor was to better serve our users. If a customer wants to know how to configure the data source, it’s easier to go directly to that topic page rather than wade through one long document where lots of scrolling is required. This refactor has gotten positive feedback from the user community. | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Introduction document | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document introduces the data source and serves as the "landing page" that users encounter first. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **File structure:** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - **File name:** _index.md | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - **Location:** Main data source folder | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document should include the following information: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - What is this data source? | ||||||||||||||||||||||
| - Provide a clear, concise description of the data source. | ||||||||||||||||||||||
| - Include some primary use cases and capabilities. | ||||||||||||||||||||||
| - What’s unique about this data source in general? Introduce these features or concepts. (Example: Prometheus uses exemplars). | ||||||||||||||||||||||
|
||||||||||||||||||||||
| - What’s unique about working with this data source in Grafana? | ||||||||||||||||||||||
|
||||||||||||||||||||||
| - Is there native support for this data source or do I need to install a plugin? | ||||||||||||||||||||||
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Show fixed
Hide fixed
|
||||||||||||||||||||||
| - What are the best practices when working with this data source? | ||||||||||||||||||||||
| - Are there any requirements or prerequisites for adding the data source. | ||||||||||||||||||||||
| - Example of a prerequisite: Salesforce requires a Salesforce Connected App. | ||||||||||||||||||||||
| - Include minimum version requirements. | ||||||||||||||||||||||
| - What are any known limitations the user needs to be aware of? | ||||||||||||||||||||||
| - Link to configure, query editor, etc, | ||||||||||||||||||||||
| - configure the data source topic | ||||||||||||||||||||||
| - query editor topic | ||||||||||||||||||||||
| - templates and variable topic | ||||||||||||||||||||||
| - other data source-related topics | ||||||||||||||||||||||
| - What can I do once I’ve configured this data source? | ||||||||||||||||||||||
|
||||||||||||||||||||||
| - Add links to relevant documentation, such as for using variables or annotations, or configuring alerting. | ||||||||||||||||||||||
| - Any details regarding pre-made dashboards for the data source, and how to find these dashboards | ||||||||||||||||||||||
| - Add a "next steps" section at the bottom with link to the following: | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - Add annotations | ||||||||||||||||||||||
| - Add transformations | ||||||||||||||||||||||
| - Set up alerting | ||||||||||||||||||||||
| - Additional things you can do with the specific data source | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## "Get the most out of the data source | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Once you have connected the <INSERT NAME> data source, you can: | ||||||||||||||||||||||
Check warningCode scanning / Vale Use 'After' instead of 'Once'.. For more information, refer to https://grafana.com/docs/writers-toolkit/write/style-guide/word-list/. To fix this, Replace the matched content with one of the following: After. Warning documentation
Use 'After' instead of 'Once'.. For more information, refer to https://grafana.com/docs/writers-toolkit/write/style-guide/word-list/.
To fix this, Replace the matched content with one of the following:
After.
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Use the [query editor](add link tot he data source's query editor doc) to create and edit queries. | ||||||||||||||||||||||
| - Create a wide variety of [visualizations](https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/). | ||||||||||||||||||||||
| - Configure and use [Templates and variables](https://grafana.com/docs/grafana/latest/variables/). | ||||||||||||||||||||||
| - Add [Transformations](https://grafana.com/docs/grafana/latest/panels/transformations/). | ||||||||||||||||||||||
| - Set up alerting; refer to [Alerts overview](https://grafana.com/docs/grafana/latest/alerting/). | ||||||||||||||||||||||
| - Add [Annotations](https://grafana.com/docs/grafana/latest/dashboards/annotations/). | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| If the data source requires plugin installation, add this to the end of this introduction document. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| Always ensure your plugin version is up-to-date to access all current features. Navigate to **Plugins and data > Plugins** to check for updates. | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Configure document | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| The Configure document describes how to configure the data source and should serve as a comprehensive setup guide for users. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **File structure:** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - **File name:** configure.md | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - **Location:** configure folder within the main data source folder | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - **menuTitle:** Configure | ||||||||||||||||||||||
| - **title:** Configure the (insert data source name) data source | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document should include: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Introduction paragraph. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| This document provides instructions for configuring the (data_source_name) data source and explains available configuration options. For general information on managing data sources, refer to [Data source management](ref:data-source-management). | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - "Before you begin" section. Include any prerequisites necessary before configuring the data source. | ||||||||||||||||||||||
| - Native support availability. | ||||||||||||||||||||||
| - Plugin installation requirements with a link to installation instructions. This applies to any non-core data source. | ||||||||||||||||||||||
| - Note that the `Organization administrator` role is required to add a data source. | ||||||||||||||||||||||
| - Is a separate account needed for the data source? | ||||||||||||||||||||||
| - Any prerequisites that may be unique to the data source. (example: Salesforce requires that a specific account be created prior to connecting to Grafana.) | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - Know your authentication method (e.g., API key, OAuth, certificates). Have your security keys and certificates handy. | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Explain how to configure the specific data source using the UI section. | ||||||||||||||||||||||
| - Step-by-step setup instructions using the UI. | ||||||||||||||||||||||
| - Describe each configuration option or setting. | ||||||||||||||||||||||
| - Include examples (e.g., connection strings). | ||||||||||||||||||||||
|
||||||||||||||||||||||
| - If the data source supports PDC: | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| - **Private data source connect** - _Only for Grafana Cloud users._ Private data source connect, or PDC, allows you to establish a private, secured connection between a Grafana Cloud instance, or stack, and data sources secured within a private network. Click the drop-down to locate the URL for PDC. For more information regarding Grafana PDC, refer to [Private data source connect (PDC)](ref:private-data-source-connect) and [Configure Grafana private data source connect (PDC)](ref:configure-pdc) for instructions on setting up a PDC connection. | ||||||||||||||||||||||
| Click **Manage private data source connect ** to open your PDC connection page and view your configuration details. | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Describe the success message or expected validation outcome. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - How to provision the data source with YAML section. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| You can define and configure the data source in YAML files as part of the Grafana provisioning system. For more information about provisioning and available configuration options, refer to [Provision Grafana](ref:provisioning-data-sources). | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Add instructions for provisioning via YAML. | ||||||||||||||||||||||
| - Include a working example or examples. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - How to provision the data source with Terraform section (if applicable). | ||||||||||||||||||||||
| - Reference the Grafana Terraform Provider. | ||||||||||||||||||||||
| - Provide an example Terraform configuration. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Troubleshooting configuration issues section. | ||||||||||||||||||||||
| - List common issues and how to resolve them. | ||||||||||||||||||||||
| - What can users try before contacting support? | ||||||||||||||||||||||
| - How to confirm a working connection in Explore. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Query editor document | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| The query editor is part of the Explore page. It is the section where you create the query, either by a visual query builder or via a field where you add your query and some additional query options. Some query editors do not include a visual query builder, such as MongoDB or Jira. Datadog and Prometheus have very detailed query builders. | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **File structure:** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - **File name:** query-editor.md | ||||||||||||||||||||||
| - **Location:** query-editor folder within the ain data source folder | ||||||||||||||||||||||
| - **menuTitle:** Query editor | ||||||||||||||||||||||
| - **title:** | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document should include: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Where to access the query editor. For example, in Grafana Explore or dashboard panels. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| Grafana provides a query editor for the <INSERT NAME> data source, which allows you to query, visualize, and alert on logs and metrics stored in Amazon CloudWatch. | ||||||||||||||||||||||
| It's located on the [Explore](/docs/grafana/latest/explore/) page. | ||||||||||||||||||||||
| For general documentation on querying data sources in Grafana, refer to [Query and transform data](/docs/grafana/latest/panels-visualizations/query-transform-data/). | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Available query modes. | ||||||||||||||||||||||
| - Visual query builder or raw query (Builder and Code mode). | ||||||||||||||||||||||
| - What query types are supported? | ||||||||||||||||||||||
| - Table | ||||||||||||||||||||||
| - Time series | ||||||||||||||||||||||
| - Explain how to build queries using the editor. | ||||||||||||||||||||||
| - Describe each query editor option. This should include a description of each query type, an explanation of what each component or field is, and include examples where appropriate. | ||||||||||||||||||||||
| -Highlight data source-specific components or syntax. Provide examples for each component where applicable. | ||||||||||||||||||||||
| - Include example queries of different complexities. | ||||||||||||||||||||||
| - Any other information useful when working with the query editor, such as information on aggregations or aggregating data. | ||||||||||||||||||||||
| - Are Grafana macros supported? | ||||||||||||||||||||||
| - Provide a table of supported macros with examples. | ||||||||||||||||||||||
| - Provide an example of a query with a macro. | ||||||||||||||||||||||
| - Recorded queries | ||||||||||||||||||||||
| - Does this data source support recorded queries? | ||||||||||||||||||||||
| - If yes, how to configure and use them. | ||||||||||||||||||||||
| - Validating and troubleshooting queries | ||||||||||||||||||||||
| - How to check syntax and test queries. | ||||||||||||||||||||||
| - What to do when queries fail. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Template variables document | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document explains templates and variables associated with the data source. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **File structure:** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - **File name:** `template-variables.md` | ||||||||||||||||||||||
| - **Location:** Main data source directory | ||||||||||||||||||||||
| - **menuTitle:** Template variables | ||||||||||||||||||||||
| - **title:** <DATA SOURCE NAME> template variables | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document should include the following information: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - What are variables? | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| Instead of hard-coding details such as server, application, and sensor names in metric queries, you can use variables. | ||||||||||||||||||||||
| Grafana lists these variables in drop-down selection boxes at the top of the dashboard to help you change the data displayed in your dashboard. | ||||||||||||||||||||||
| Grafana refers to such variables as template variables. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| For an introduction to templating and template variables, refer to [Template variables](https://grafana.com/docs/grafana/latest/dashboards/variables/#templates) and [Add variables](https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#add-variables). | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - What types of variables are supported with this data source? | ||||||||||||||||||||||
| - Query variables, custom variables, interval variables, or any other kinds of variables. | ||||||||||||||||||||||
| - Provide syntax and examples. | ||||||||||||||||||||||
| - Provide usage tips and options. | ||||||||||||||||||||||
| - Common issues with variables and how to fix them. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Annotations document | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Add annotations, graphs, and dashboards to provide contextual information about specific points in time. This document describes how annotations work with this data source. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **File structure:** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - **File name:**` annotations.md` | ||||||||||||||||||||||
| - **Location:** Main data source directory | ||||||||||||||||||||||
| - **menuTitle:** Annotations | ||||||||||||||||||||||
| - **title:** Annotations and <DATA SOURCE NAME> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document should include the following information: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Overview - What are annotations in Grafana? | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| Annotations in Grafana are visual markers that you can add to your graphs and dashboards to provide context about specific events or time periods. They appear as vertical lines or regions on your time-series charts, helping you correlate metrics with real-world events. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| For general information on annotations, refer to [Annotate visualizations](ref:annotations). | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - What types of annotations can you create for this data source? | ||||||||||||||||||||||
| - Are there any limitations to using annotations with this data source? | ||||||||||||||||||||||
| - Querying for annotations | ||||||||||||||||||||||
| - Field requirements: time, text, tags, optional timeEnd | ||||||||||||||||||||||
|
||||||||||||||||||||||
| - Provide one or two example annotation queries. | ||||||||||||||||||||||
| - Configuration | ||||||||||||||||||||||
| - How to add annotation queries to a dashboard. | ||||||||||||||||||||||
| - UI steps and important settings. | ||||||||||||||||||||||
| - Troubleshooting | ||||||||||||||||||||||
| - Common problems and how to resolve them. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Grafana Alerting document | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Can you use this data source for alerting? Create alerts to incoming metrics data or log entries and set up your Grafana Alerting system to watch for specific events or circumstances. | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **File structure:** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - **File name:** alerting.md | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - **Location:** Alerting folder within the main data source folder | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - **menuTitle:** Alerting | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - **title:** Alerting and (insert data source) | ||||||||||||||||||||||
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document should include the following information: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Standard text: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||
| Grafana alerting is a powerful system for monitoring your metrics and receiving notifications when certain conditions are met. It's designed to help you proactively identify and respond to issues in your infrastructure and applications. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| For general information on alerting in Grafana refer to [Grafana alerting](ref:aleting). | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
Comment on lines
289
to
293
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - What kinds of alerts can you create with this data source? | ||||||||||||||||||||||
| - Setup | ||||||||||||||||||||||
| - Describe how to create an alert rule using this data source. | ||||||||||||||||||||||
| - List all query types compatible with alerts. | ||||||||||||||||||||||
| - Describe UI steps for creating and configuring alerts. | ||||||||||||||||||||||
| - List any notification types unique to the data source. | ||||||||||||||||||||||
| - Special considerations for this data source. | ||||||||||||||||||||||
| - Troubleshooting | ||||||||||||||||||||||
| - Known limitations or common alerting issues. | ||||||||||||||||||||||
| - Tips for debugging alert rules. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Troubleshoot document | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This document provides troubleshooting steps users can try before opening a support case. If support is still needed, users can reference this list to show what they've already attempted. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **File structure:** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - **File name:** troubleshooting.md | ||||||||||||||||||||||
|
||||||||||||||||||||||
| - **File name:** troubleshooting.md | |
| - **File name:** `troubleshooting.md` |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **Location:** troubleshooting folder within the main data source folder | |
| - **Location:** Main data source directory |
lwandz13 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **title:** Troubleshooting issues with the (insert data source name) data source | |
| - **title:** Troubleshoot issues with the <DATA SOURCE NAME> data source |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our style convention encourages capitalized placeholder variables
| This document provides troubleshooting guidance for the <data source name> data source, covering common configuration problems, error messages, and other frequently encountered issues. | |
| This document provides troubleshooting guidance for the <DATA SOURCE NAME> data source, covering common configuration problems, error messages, and other frequently encountered issues. |
Check warning
Code scanning / Vale
Use 'repositories' instead of 'repos'.. For more information, refer to https://grafana.com/docs/writers-toolkit/write/style-guide/word-list/. To fix this, Replace the matched content with one of the following: repositories. Warning documentation