signoz/frontend/src/constants/resourceAttributes.ts
Pranshu Chittora 7948bca710
feat: resource attributes based filter for metrics (#1022)
* feat: resource attributes based filtering enabled
2022-05-03 15:41:40 +05:30

19 lines
308 B
TypeScript

import { OperatorValues } from 'types/reducer/trace';
export const OperatorConversions: Array<{
label: string;
metricValue: string;
traceValue: OperatorValues;
}> = [
{
label: 'IN',
metricValue: '=~',
traceValue: 'in',
},
{
label: 'Not IN',
metricValue: '!~',
traceValue: 'not in',
},
];