siteAdmin: include alerts data in bug report page
Created by: bobheadxi
Closes #7657 (closed)
This PR implements:
- a new GQL endpoint,
site.monitoringStatistics
- just returns alerts for now
- render monitoring statistics in bug report page
- adjust wording in bug report page and link directly to bug report template
Remaining TODOs:
-
fallback behaviour if prometheus admin API is not available -
update deploy-sourcegraph (https://github.com/sourcegraph/deploy-sourcegraph/pull/697) -
update deploy-sourcegraph-docker (https://github.com/sourcegraph/deploy-sourcegraph-docker/pull/108) -
fix CI complaints