mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Doc: Info about $__rate_interval for naive users <!-- Thank you for sending a pull request! Here are some tips: 1. If this is your first time, please read our contribution guide at https://github.com/grafana/grafana/blob/main/CONTRIBUTING.md 2. Ensure you include and run the appropriate tests as part of your Pull Request. 3. In a new feature or configuration option, an update to the documentation is necessary. Everything related to the documentation is under the docs folder in the root of the repository. 4. If the Pull Request is a work in progress, make use of GitHub's "Draft PR" feature and mark it as such. 5. If you can not merge your Pull Request due to a merge conflict, Rebase it. This gets it in sync with the main branch. 6. Name your PR as "<FeatureArea>: Describe your change", e.g. Alerting: Prevent race condition. If it's a fix or feature relevant for the changelog describe the user impact in the title. The PR title is used to auto-generate the changelog for issues marked with the "add to changelog" label. --> **What this PR does / why we need it**: For Prometheus newbies (i.e. most of us), it seems like $__rate_interval should be widely used, but the documentation doesn't tell us that. So I added more about why it's good, and an explicit recommendation that it can be a good default value for use if (like most of us) you don't really understand how to choose an interval. (Let me know if that's not actually the case, but that's what I took away from https://github.com/grafana/grafana/issues/21417) Also fixed a few typos in the existing doc. **Which issue(s) this PR fixes**: <!-- - Automatically closes linked issue when the Pull Request is merged. Usage: "Fixes #<issue number>", or "Fixes (paste link of issue)" --> Fixes # **Special notes for your reviewer**: * Edits based on suggestions from @beorn7 * Update docs/sources/datasources/prometheus.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: Ivana <ivana.huckova@gmail.com> |
||
---|---|---|
.. | ||
administration | ||
alerting | ||
auth | ||
basics | ||
best-practices | ||
dashboards | ||
datasources | ||
developers | ||
enterprise | ||
explore | ||
getting-started | ||
http_api | ||
installation | ||
linking | ||
live | ||
manage-users | ||
panels | ||
permissions | ||
plugins | ||
release-notes | ||
shared | ||
sharing | ||
troubleshooting | ||
variables | ||
whatsnew | ||
_index.md | ||
menu.yaml |