import { LinkButton, Stack, Text } from '@grafana/ui'; import { AlertingPageWrapper } from './components/AlertingPageWrapper'; import { WithReturnButton } from './components/WithReturnButton'; import { useEditConfigurationDrawer } from './components/settings/ConfigurationDrawer'; import { ExternalAlertmanagers } from './components/settings/ExternalAlertmanagers'; import InternalAlertmanager from './components/settings/InternalAlertmanager'; import { SettingsProvider, useSettings } from './components/settings/SettingsContext'; import { withPageErrorBoundary } from './withPageErrorBoundary'; function SettingsPage() { return ( ); } function SettingsContent() { const [configurationDrawer, showConfiguration] = useEditConfigurationDrawer(); const { isLoading } = useSettings(); return ( Add new Alertmanager } />, ]} > {/* Grafana built-in Alertmanager */} Built-in Alertmanager {/* other (external Alertmanager data sources we have added to Grafana such as vanilla, Mimir, Cortex) */} Other Alertmanagers {configurationDrawer} ); } export default withPageErrorBoundary(SettingsPage);