mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 09:05:45 -06:00
30 lines
974 B
TypeScript
30 lines
974 B
TypeScript
import React, { FC } from 'react';
|
||
|
||
import { Alert } from '@grafana/ui';
|
||
|
||
export const LOCAL_STORAGE_KEY = 'grafana.legacyalerting.unifiedalertingpromo';
|
||
|
||
const DeprecationNotice: FC<{}> = () => (
|
||
<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/">
|
||
What’s New with Grafana Alerting
|
||
</a>{' '}
|
||
to learn more about what‘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 };
|