Add integrations dropdown to the alerts endpoint page
Problem to solve
Allow generic endpoint to receive alerts from external Prometheus will mean our generic alert endpoint will now be able to receive Prometheus-specific alerts. When this change happens, we can consolidate our existing UI, as well, so that the Prometheus URL and endpoint exist in the same place as the URL and endpoints for our other monitoring tools. As a reminder, Prometheus URLs and endpoints are currently found on Settings > Integrations > Prometheus:
...Whereas our generic endpoints are found on Settings > Integrations > Alert Endpoints.
This work supports the direction of the Alert Management product category.
User experience goal
To consolidate the configuration of alerts endpoints in the UI, from two into 1.
- Add a dropdown to the alerts endpoint configuration page:
The "upcoming integrations" promotional link could link to: &3362
- Add Prometheus to the dropdown (at this point, the dropdown will likely only contain Generic and Prometheus as options)
- When users select Prometheus from the dropdown, the URL and auth key will update for the Prometheus-specific options.
- Deprecate the current Prometheus alerts configuration section on Settings > Integrations > Prometheus. Generally, we do this by introducing an alert message letting users know where to find the new UI. This work may or may not already be complete, depending on the status of: #24651