docs(alerting): fix Grafana Play links due to provisioning (#106816)
(cherry picked from commit 286a6638b8)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
docs(alerting): Add Tutorials directory page under Best Practices (#106159)
* docs(alerting): Add Tutorials directoy page under Best Practices
* run prettier
* Include latest tutorials
* fix tutorial list
(cherry picked from commit 79ff67268f)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Lint Frontend / Verify i18n (push) Has been cancelledDetails
Lint Frontend / Lint (push) Has been cancelledDetails
Lint Frontend / Typecheck (push) Has been cancelledDetails
Lint Frontend / Betterer (push) Has been cancelledDetails
End-to-end tests / Build & Package Grafana (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (1) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (2) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (3) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (4) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (5) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (6) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (7) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (1/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (2/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (3/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (4/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (5/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (6/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (7/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (8/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (1/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (2/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (3/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (4/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (5/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (6/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (7/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (8/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (1/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (2/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (3/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (4/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (5/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (6/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (7/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (8/8) (push) Has been cancelledDetails
publish-technical-documentation-release / sync (push) Has been cancelledDetails
Dispatch sync to mirror / dispatch-job (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (dashboards-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (panels-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (smoke-tests-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (various-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/dashboards-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/panels-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/smoke-tests-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/various-suite) (push) Has been cancelledDetails
docs(alerting): add a short new guideline for handling NoData scenarios. (#106412)
docs(alerting): add consideration for handling NoData scenarios
(cherry picked from commit 0d0aa35ba7)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Lint Frontend / Verify i18n (push) Has been cancelledDetails
Lint Frontend / Lint (push) Has been cancelledDetails
Lint Frontend / Typecheck (push) Has been cancelledDetails
Lint Frontend / Betterer (push) Has been cancelledDetails
End-to-end tests / Build & Package Grafana (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (1) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (2) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (3) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (4) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (5) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (6) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (7) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (1/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (2/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (3/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (4/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (5/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (6/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (7/8) (push) Has been cancelledDetails
Integration Tests / Sqlite (${{ matrix.shard }}) (8/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (1/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (2/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (3/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (4/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (5/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (6/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (7/8) (push) Has been cancelledDetails
Integration Tests / MySQL (${{ matrix.shard }}) (8/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (1/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (2/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (3/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (4/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (5/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (6/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (7/8) (push) Has been cancelledDetails
Integration Tests / Postgres (${{ matrix.shard }}) (8/8) (push) Has been cancelledDetails
publish-technical-documentation-release / sync (push) Has been cancelledDetails
Dispatch sync to mirror / dispatch-job (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (dashboards-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (panels-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (smoke-tests-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (various-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/dashboards-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/panels-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/smoke-tests-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/various-suite) (push) Has been cancelledDetails
docs(alerting): updates Missing series evaluations to resolve option (#106319)
docs(alerting): correct detailed process of the missingSeriesToEval option
(cherry picked from commit be8d153dc3)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
publish-technical-documentation-release / sync (push) Waiting to runDetails
Dispatch sync to mirror / dispatch-job (push) Waiting to runDetails
docs(alerting): new notification template example: link to a dashboard with time range (#106254)
* docs(alerting): new notification template example: link to a dashboard with time range
* remind configuring the `MyDashboardURL` annotation
* Update docs/sources/alerting/configure-notifications/template-notifications/examples.md
---------
(cherry picked from commit f36d5c5206)
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
docs(alerting): updates link to outdated tutorial (#106178)
* docs(alerting): remove admonition to an outdated tutorial
* amended note and link to new tutorial
* link
* minor copy changes
* run prettier
* update copy
---------
(cherry picked from commit cce28ec351)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Co-authored-by: tonypowa <tonypowa@gmail.com>
docs(alerting): add notes for Redis HA setup (#106144)
* docs(alerting): add note for Redis HA setup
* run prettier
(cherry picked from commit b2d317cc23)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
docs(alerting): OpsGenie instructions for other alertmanagers (#106049)
* docs(alerting): OpsGenie instructions for other alertmanagers
* run prettier
(cherry picked from commit 8de013c7e6)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
* docs: edits for alerting learning content (#105500)
* docs: edits for alerting learning content
edits for alerting learning content
* vale'd
* left nav change
* final adjustments
link fixes and the like
* Update _index.md
(cherry picked from commit bf87c6f774)
* docs: edits for alerting learning content (#105500)
* docs: edits for alerting learning content
edits for alerting learning content
* vale'd
* left nav change
* final adjustments
link fixes and the like
* Update _index.md
(cherry picked from commit bf87c6f774)
* docs: edits for alerting learning content (#105500)
* docs: edits for alerting learning content
edits for alerting learning content
* vale'd
* left nav change
* final adjustments
link fixes and the like
* Update _index.md
(cherry picked from commit bf87c6f774)
docs(alerting): MissingSeriesEvalsToResolve and New `Stale alert instances` docs page (#105415)
* docs(alerting): New `Stale alert instances` docs page and document the `Missing series evaluations to resolve` option.
* update meta description
(cherry picked from commit bb04b9c55b)
docs(alerting): Add two common examples in `Learn` section (#105325)
* docs(alerting): Add two common examples in `Learn` section
* Update docs/sources/alerting/learn/examples/multi-dimensional-alerts.md
* Update docs/sources/alerting/learn/examples/multi-dimensional-alerts.md
* mention `summary` annotation in multi-dimensional alerts example
* Remove note about alert grouping
* minor edits to section: `Differences with time series`
* minor grammar change
---------
(cherry picked from commit 4ae91715df)
Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
Lint Frontend / Verify i18n (push) Has been cancelledDetails
Lint Frontend / Lint (push) Has been cancelledDetails
Lint Frontend / Typecheck (push) Has been cancelledDetails
Lint Frontend / Betterer (push) Has been cancelledDetails
End-to-end tests / Build & Package Grafana (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (1) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (2) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (3) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (4) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (5) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (6) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (7) (push) Has been cancelledDetails
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (8) (push) Has been cancelledDetails
Integration Tests / Sqlite (push) Has been cancelledDetails
Integration Tests / MySQL (push) Has been cancelledDetails
Integration Tests / Postgres (push) Has been cancelledDetails
publish-technical-documentation-release / sync (push) Has been cancelledDetails
Dispatch sync to mirror / dispatch-job (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (dashboards-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (panels-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (smoke-tests-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (various-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/dashboards-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/panels-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/smoke-tests-suite) (push) Has been cancelledDetails
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/various-suite) (push) Has been cancelledDetails
docs(alerting): fix broken links due to using shared md files (#105195)
* docs(alerting): fix broken links due to using shared md files
* fix prettier errors
* fix aliased links
(cherry picked from commit a1b1de584c)
docs(alerting): Add a note about sequential evaluation (#104224)
* docs(alerting): Add a note about sequential evaluation
* Update docs
(cherry picked from commit 42028a1b03)
docs(alerting): clarify recovery threshold for pending state (#102780)
Alerting docs: clarify recovery threshold on pending state
(cherry picked from commit 536ff2fc3d)
Docs: Remove mention of alertingApiServer flag from alerting documentation (#104131)
(cherry picked from commit 1bafd5c807)
# Conflicts:
# docs/sources/alerting/set-up/configure-rbac/_index.md
* Template editor syntax highlighting when preview is json-like
* Add new template editor language examples, snippets, and functions
* Use updated NewTemplate function
* Add new fields to webhook notifier
- CustomPayload
- ExtraHeaders
* Documentation
* Update grafana/alerting to in-progress PR (needs updating after merge)
* Fix integration test
* Remove docs reference to .Extra template context
No longer exists, was part of a previous iteration
* make update-workspace
* Update grafana/alerting to actual merged commit
* docs: add documentation for keep_firing_for and Recovering state
add documentation for keep_firing_for and Recovering state
* updated image, added procedure step, added new state info
updated image, added procedure step, added new state info
* vale'd
* Update docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
* edits with gratitude to pepe
* impage update
image
---------
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
* alerting docs: update alert rules history limit documentation
the documentation for the alert rules version history has been updatedto specify that the rules apply to enterprise/OSS customers.
the rules should also be explicated for cloud documentation.
* Update view-alert-rules.md
* docs: add note about alert migration
added note about alert migration in 11.6.0.
* docs: add note about alert migration
adding documentation about the migrations to the performance limitation docs
* title edit
<-- vale = NO -->
What is this feature?
This PR changes the behavior of the $value and .Value variables in alerting templating to be more compatible with Prometheus templating. When a single datasource is used in the alerting rule, these variables will now return the numeric value from the query instead of the evaluation string.
Why do we need this feature?
It makes Grafana templating more compatible with Prometheus templates. In Prometheus, $value returns the numeric value of the query, but in Grafana it's the evaluation string: [ var='A' labels={instance=instance1} value=81.234 ]. This is because in Grafana multiple datasources can be used in the alert rule, and it's not always possible to get a single value.
This change makes Grafana's behavior consistent with Prometheus when a single datasource is used, and in case when multiple datasources are used in the query, it keeps the old behaviour.
Both $value and .Value are not recommended to use (documentation), and it's better to use .Values instead.
* Alerting docs: additional details for `No Data` and `Error` alerts
* add Error in the list of possible values
---------
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
Adds HMAC-SHA256 signature support to webhook notifications, providing a way to verify the authenticity and integrity of webhook requests. The implementation allows to specify the header in which the signature will be sent. The signature is calculated from the request body.
An optional timestamp header name can be provided. If set, the HMAC signature will be generated by concatenating the timestamp, a ":" and the request body: {timestamp}:{body}. The timestamp will also be sent in the provided header name.