mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Hide error messages for failing HTTP calls to Grafana OnCall (#78919)
This commit is contained in:
parent
243c7583c9
commit
69e1046ed3
@ -43,6 +43,7 @@ export const onCallApi = alertingApi.injectEndpoints({
|
||||
// legacy_grafana_alerting is necessary for OnCall.
|
||||
// We do NOT need to differentiate between these two on our side
|
||||
params: { filters: true, integration: [GRAFANA_ONCALL_INTEGRATION_TYPE, 'legacy_grafana_alerting'] },
|
||||
showErrorAlert: false,
|
||||
}),
|
||||
transformResponse: (response: AlertReceiveChannelsResult) => {
|
||||
if (isPaginatedResponse(response)) {
|
||||
@ -71,6 +72,7 @@ export const onCallApi = alertingApi.injectEndpoints({
|
||||
features: build.query<OnCallFeature[], void>({
|
||||
query: () => ({
|
||||
url: getProxyApiUrl('/api/internal/v1/features/'),
|
||||
showErrorAlert: false,
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user