grafana/pkg/tests
Santiago 04d93751b8
Alerting: send alerts to external, internal, or both alertmanagers (#40341)
* (WIP) send alerts to external, internal, or both alertmanagers

* Modify admin configuration endpoint, update swagger docs

* Integration test for admin config updated

* Code review changes

* Fix alertmanagers choice not changing bug, add unit test

* Add AlertmanagersChoice as enum in swagger, code review changes

* Fix API and tests errors

* Change enum from int to string, use 'SendAlertsTo' instead of 'AlertmanagerChoice' where necessary

* Fix tests to reflect last changes

* Keep senders running when alerts are handled just internally

* Check if any external AM has been discovered before sending alerts, update tests

* remove duplicate data from logs

* update comment

* represent alertmanagers choice as an int instead of a string

* default alertmanagers choice to all alertmanagers, test cases

* update definitions and generate spec
2022-02-01 20:36:55 -03:00
..
api Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
testinfra Chore: Remove bus from ngalert (#44465) 2022-01-26 16:42:40 +01:00
web Chore: Implement OpenTelemtry in Grafana (#42674) 2022-01-20 11:10:12 +01:00
README.md Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00

Integration tests

This directory contains Grafana server integration tests.