|
@@ -25,7 +25,7 @@ import Tag from 'sentry/components/tag';
|
|
import {IconSearch} from 'sentry/icons';
|
|
import {IconSearch} from 'sentry/icons';
|
|
import {t} from 'sentry/locale';
|
|
import {t} from 'sentry/locale';
|
|
import {space} from 'sentry/styles/space';
|
|
import {space} from 'sentry/styles/space';
|
|
-import {MetricsTag, PageFilters, TagCollection} from 'sentry/types';
|
|
|
|
|
|
+import {MetricsTag, PageFilters, SavedSearchType, TagCollection} from 'sentry/types';
|
|
import {
|
|
import {
|
|
defaultMetricDisplayType,
|
|
defaultMetricDisplayType,
|
|
formatMetricsUsingUnitAndOp,
|
|
formatMetricsUsingUnitAndOp,
|
|
@@ -247,6 +247,7 @@ function MetricSearchBar({tags, mri, disabled, onChange, query}: MetricSearchBar
|
|
onSearch={handleChange}
|
|
onSearch={handleChange}
|
|
placeholder={t('Filter by tags')}
|
|
placeholder={t('Filter by tags')}
|
|
defaultQuery={query}
|
|
defaultQuery={query}
|
|
|
|
+ savedSearchType={SavedSearchType.METRIC}
|
|
/>
|
|
/>
|
|
);
|
|
);
|
|
}
|
|
}
|