The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/public/app/features/alerting/components/DeprecationNotice.tsx

29 lines
958 B

import React from 'react';
import { Alert } from '@grafana/ui';
export const LOCAL_STORAGE_KEY = 'grafana.legacyalerting.unifiedalertingpromo';
const DeprecationNotice = () => (
<Alert severity="warning" title="Grafana legacy alerting is going away soon">
<p>
You are using Grafana legacy alerting, it has been deprecated and will be removed in the next major version of
Grafana.
<br />
We encourage you to upgrade to the new Grafana Alerting experience.
</p>
<p>
See{' '}
<a href="https://grafana.com/docs/grafana/latest/alerting/unified-alerting/difference-old-new/">
Whats New with Grafana Alerting
</a>{' '}
to learn more about what&lsquo;s new or learn{' '}
<a href="https://grafana.com/docs/grafana/latest/alerting/unified-alerting/opt-in/">
how to enable the new Grafana Alerting feature
</a>
.
</p>
</Alert>
);
export { DeprecationNotice };