45facbba11
Alerting: Remove url based external alertmanagers config ( #57918 )
...
* Remove URL-based alertmanagers from endpoint config
* WIP
* Add migration and alertmanagers from admin_configuration
* Empty comment removed
* set BasicAuth true when user is present in url
* Remove Alertmanagers from GET /admin_config payload
* Remove URL-based alertmanager configuration from UI
* Fix new uid generation in external alertmanagers migration
* Fix tests for URL-based external alertmanagers
* Fix API tests
* Add more tests, move migration code to separate file, and remove possible am duplicate urls
* Fix edge cases in migration
* Fix imports
* Remove useless fields and fix created_at/updated_at retrieval
Co-authored-by: George Robinson <george.robinson@grafana.com>
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2022-11-10 16:34:13 +01:00
5c710a5590
Alerting: Add Alertmanager choice warning ( #55311 )
2022-10-21 11:01:07 +02:00
64bbb7a7ce
Chore: Update and enforce usage of typed react-redux hooks ( #55349 )
...
* Chore: Update and enforce usage of typed react-redux hooks
2022-09-19 10:49:35 +01:00
4c7732ad17
Chore: Upgrade Typescript to 4.8.2 ( #54901 )
...
* Chore: Upgrade typescript to 4.8.2
2022-09-09 16:17:58 +01:00
54f2c056f5
Alerting: Configure alert manager data source as an external AM ( #52081 )
...
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2022-08-01 10:20:43 +02:00
9da41140aa
Alerting: Fix external alertmanager duplication ( #49980 )
...
* Fix external alertmanager duplication
* Add tests
2022-06-01 15:38:23 +02:00
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
0502a84922
Alerting: Add choice to external alertmanagers ( #45157 )
...
* implement alertmanagersChoice
* return empty array and remove non null assertion
2022-02-17 12:47:38 +01:00
b2d7162168
Alerting: Add external Alertmanagers ( #39183 )
...
* building ui
* saving alertmanager urls
* add actions and api call to get external ams
* add list to add modal
* add validation and edit/delete
* work on merging results
* merging results
* get color for status heart
* adding tests
* tests added
* rename
* add pollin and status
* fix list sync
* fix polling
* add info icon with actual tooltip
* fix test
* Accessibility things
* fix strict error
* delete public/dist files
* Add API tests for invalid URL
* start redo admin test
* Fix for empty configuration and test
* remove admin test
* text updates after review
* suppress appevent error
* fix tests
* update description
Co-authored-by: gotjosh <josue@grafana.com>
* fix text plus go lint
* updates after pr review
* Adding docs
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: gotjosh <josue@grafana.com>
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: gotjosh <josue@grafana.com>
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: gotjosh <josue@grafana.com>
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: gotjosh <josue@grafana.com>
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: gotjosh <josue@grafana.com>
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: gotjosh <josue@grafana.com>
* Update docs/sources/alerting/unified-alerting/fundamentals/alertmanager.md
Co-authored-by: gotjosh <josue@grafana.com>
* prettier
* updates after docs feedback
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue@grafana.com>
2021-11-12 22:19:16 +01:00