m3db / m3

M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform

Home Page:https://m3db.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metrics filter incorrectly handles wildcard combined with range

abliqo opened this issue · comments

There is a bug in the filter implementation that is used in the aggregator rules: it incorrectly handles combination of wildcard and a range filter.

Reproduced in new unit tests: d2762b4

Example:

Create a filter "*ending.{bar,foobar}" and match it against two inputs:

some_ending.bar
some_ending.foobar

Expected result: it should match both inputs
Actual result: if fails to match the second input

Looks like the same issue as #1810 -- definitely a legitimate issue.

Closing as dupe.