Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LabelFilter: proactively best-effort filter querries to downstreams #560

Merged
merged 10 commits into from
Mar 17, 2023

Conversation

jacksontj
Copy link
Owner

@jacksontj jacksontj commented Mar 16, 2023

This PR is an implementation for #558

TODO:

  • sync metrics
  • QueryRange
  • Series
  • GetValue
  • Metadata
  • tests
  • docs

@jacksontj jacksontj marked this pull request as ready for review March 17, 2023 17:42
@jacksontj jacksontj changed the title Hacked up labelfilter implementation LabelFilter: proactively best-effort filter querries to downstreams Mar 17, 2023
Today the CreateAndStart method starts the listener in a goroutine
async. This is not a problem for regular operations, but during testing
this creates a race condition. This changes the behavior so that listen
will for-sure be started when the method returns and the hanlder will be
in a background goroutine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant