lexx-bright

Results 5 issues of lexx-bright

``` ~ $git clone https://github.com/grobian/carbon-c-relay.git; cd carbon-c-relay Cloning into 'carbon-c-relay'... remote: Enumerating objects: 5761, done. remote: Counting objects: 100% (88/88), done. remote: Compressing objects: 100% (65/65), done. remote: Total 5761...

When tag support is activated match rule regexp processing is performed up until last ";". So if metrics look like metric.example;tag1=value1;tag2=value2;tag3=value3 you can't route based on tag3=value3, because only "metric.example;tag1=value1;tag2=value2"...

For _seriesByTag("name=up", "job=~us")_ will be used ```match(x, '^job=.*us')``` matcher which contradicts with https://github.com/graphite-project/graphite-web/blob/e058266f8afc293250ee32fd30e3bce4b7ab3579/webapp/graphite/render/functions.py#L5735 ``` INFO [render] query {"request_id": "8bc07b855d62a36520b072379955ff25", "carbonapi_uuid": "6c6fc662-5c65-4ab2-8d19-de96e5be708e", "query": "SELECT Path FROM db001_monitoring_stats.graphite_tagged WHERE ((Tag1='__name__=up') AND (arrayExists((x)...

``` extra-prefix = "extra" # curl -s 'http://127.0.0.1:19010/metrics/find?query=*' | jq . [ { "allowChildren": 1, "expandable": 1, "leaf": 0, "id": "extra", "text": "extra", "context": {} } ] # curl -s...

Do not split empty string. Otherwise the result is a slice with one element - the empty string. The rest array length checks will consider we have tags to filter.