add PromQL keyword for adhoc filter (#16426)

This commit is contained in:
Mitsuhiro Tanda 2019-04-09 16:51:15 +09:00 committed by David
parent b46b84f156
commit d2968c73e6

View File

@ -1,6 +1,6 @@
import _ from 'lodash';
const keywords = 'by|without|on|ignoring|group_left|group_right';
const keywords = 'by|without|on|ignoring|group_left|group_right|bool|or|and|unless';
// Duplicate from mode-prometheus.js, which can't be used in tests due to global ace not being loaded.
const builtInWords = [