diff --git a/public/app/plugins/datasource/prometheus/querybuilder/shared/LabelFilterItem.tsx b/public/app/plugins/datasource/prometheus/querybuilder/shared/LabelFilterItem.tsx index dec8b2c6431..e2eccbf9045 100644 --- a/public/app/plugins/datasource/prometheus/querybuilder/shared/LabelFilterItem.tsx +++ b/public/app/plugins/datasource/prometheus/querybuilder/shared/LabelFilterItem.tsx @@ -120,4 +120,5 @@ const operators = [ { label: '=~', value: '=~' }, { label: '=', value: '=' }, { label: '!=', value: '!=' }, + { label: '!~', value: '!~' }, ]; diff --git a/public/app/plugins/datasource/prometheus/querybuilder/shared/OperationParamEditor.tsx b/public/app/plugins/datasource/prometheus/querybuilder/shared/OperationParamEditor.tsx index 55433edd8fc..4f07523e2d1 100644 --- a/public/app/plugins/datasource/prometheus/querybuilder/shared/OperationParamEditor.tsx +++ b/public/app/plugins/datasource/prometheus/querybuilder/shared/OperationParamEditor.tsx @@ -76,6 +76,7 @@ function SelectInputParamEditor({ value={valueOption} options={selectOptions} placeholder={paramDef.placeholder} + allowCustomValue={true} onChange={(value) => onChange(index, value.value!)} /> );