Present external alerting webhook receiver configuration without a URL
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem statement
Currently we require you to provide a Prometheus URL, before we expose the ability to configure receiving alerts from a Prometheus instance. For most use cases, this isn't a problem, as the integration works best when GitLab can communicate with Prometheus. We can query the data, render charts, etc.
In some edge cases, like for example currently for GitLab.com in production, GitLab cannot talk directly to Prometheus. This prevents us from having a working integration, but communication the other direction may be possible. In these cases, it would be nice to not require the user to have to input a URL that doesn't work, just to enable alerts to be sent to GitLab.
Proposed solution
We should consider presenting the alerting configuration, without requiring a Prometheus URL to be entered. Note that this may require you to be able to turn on the integration without providing the URL as well. As a secondary effect of this, we should probably ensure other pages (metrics, etc.) render correctly in this new potential state. (Integration enabled, but no URL)