12345678 |
- import {parseField, parseMRI} from 'sentry/utils/metrics/mri';
- /**
- * Currently we can tell if an alert is a custom metric alert by checking the aggregate for a MRI,
- */
- export function isCustomMetricAlert(aggregate: string): boolean {
- return !!parseMRI(parseField(aggregate)?.mri);
- }
|