-
Notifications
You must be signed in to change notification settings - Fork 311
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
Event filtering using the backend #4831
Conversation
90d99de
to
012b05c
Compare
6afc80b
to
5127786
Compare
errUnknownEventName = errors.DefineInvalidArgument("unknown_event_name", "unknown event `{name}`") | ||
) | ||
|
||
func (srv *EventsServer) processNames(names ...string) ([]string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is clever.
'synthetic.status.filter_disabled:type': 'Filter disabled', | ||
'synthetic.status.filter_disabled:preview': 'The previously set event filter has been disabled', | ||
'synthetic.status.filter_disabled:details': | ||
'The event stream is will not be filtered any more. This means that you will see all events that come out of the event stream for this entity.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'The event stream is will not be filtered any more. This means that you will see all events that come out of the event stream for this entity.', | |
'The event stream will not be filtered any more. This means that you will see all events that come out of the event stream for this entity.', |
5127786
to
7b4835a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't really review the code-owned files here, since I wrote those changes myself....
7b4835a
to
8cd6eaf
Compare
8cd6eaf
to
d7e1025
Compare
@johanstokking Can you review in this case since this PR is co-authored by @htdvisser. I cannot merge otherwise. |
Summary
This PR introduces filtering logic for events in the backend, as well as the Console making use of the new feature. Client-side filtering is hence retired.
Referencing #2231
Changes
names
propTesting
Manual testing.
Regressions
Possible but hard to check right now. We should check this closely once on staging.
Checklist
README.md
for the chosen target branch.CHANGELOG.md
.CONTRIBUTING.md
, there are no fixup commits left.