Skip to content

Conversation

@slim-bean
Copy link
Collaborator

I don't love this solution, but I also don't love passing the log level through all the constructors just for the push target.
This seemed a bit better?

@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2020

Codecov Report

Merging #2475 into master will decrease coverage by 0.02%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2475      +/-   ##
==========================================
- Coverage   62.97%   62.95%   -0.03%     
==========================================
  Files         162      162              
  Lines       13988    13992       +4     
==========================================
- Hits         8809     8808       -1     
- Misses       4494     4497       +3     
- Partials      685      687       +2     
Impacted Files Coverage Δ
pkg/promtail/promtail.go 65.30% <25.00%> (-3.59%) ⬇️
pkg/logql/evaluator.go 92.47% <0.00%> (-0.41%) ⬇️

Copy link
Member

@owen-d owen-d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@owen-d owen-d merged commit 7418d42 into master Aug 10, 2020
@owen-d owen-d deleted the push-api-log-level branch August 10, 2020 20:03
cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Jun 11, 2021
* Regex set optimisation when looking series in ingester

Similar to cortexproject/cortex#2446

Super useful for templated grafana dashboards which send matchers such
as =~"a|b|c|d|e"

Signed-off-by: Goutham Veeramachaneni <[email protected]>

* Add CHANGELOG entry

Signed-off-by: Goutham Veeramachaneni <[email protected]>

* Add benchmark for set optimisation

Signed-off-by: Goutham Veeramachaneni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants