metricsIngestionStopAlert.tsx 692 B

123456789101112131415161718192021
  1. import Alert from 'sentry/components/alert';
  2. import ExternalLink from 'sentry/components/links/externalLink';
  3. import {tct} from 'sentry/locale';
  4. export function MetricsStopIngestionAlert() {
  5. return (
  6. <Alert type="error" showIcon>
  7. {
  8. // the exact date will be provided later
  9. tct(
  10. "We've released a new API to submit metrics. Metrics using with the old API will stop being ingested soon. Read the [link:FAQs] for more details.",
  11. {
  12. link: (
  13. <ExternalLink href="https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Upcoming-API-Changes-to-Metrics" />
  14. ),
  15. }
  16. )
  17. }
  18. </Alert>
  19. );
  20. }