Fix filter issue for metrics. Closes #1268

This commit is contained in:
Mike Cao 2022-07-22 23:56:29 -07:00
parent 25d97fca95
commit ba1e28f082
4 changed files with 37 additions and 10 deletions

View file

@ -94,6 +94,8 @@ export const CLICKHOUSE_DATE_FORMATS = {
year: '%Y-01-01',
};
export const FILTER_IGNORED = Symbol.for('filter-ignored');
export const DOMAIN_REGEX =
/^(localhost(:[1-9]\d{0,4})?|((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63})$/;