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

Implement context backends for the contextualizer #3684

Merged
merged 47 commits into from Dec 1, 2023
Merged

Conversation

Dakostu
Copy link
Member

@Dakostu Dakostu commented Nov 28, 2023

This PR implements context backends for the contextualizer.

TODO: Tests.

Dakostu and others added 28 commits November 28, 2023 17:05
This context can be used to enrich events with constant fields that
are defined with the context create operator:

```
context create myconstants --type constants foo=bar
```
We do not want to count egress or ingress for discard, export, and
import. This makes it so their metrics are specifically annotated to be
internal, as they are technically not ingress or egress.
@Dakostu Dakostu added the feature New functionality label Nov 28, 2023
@Dakostu Dakostu requested a review from a team November 28, 2023 16:06
@Dakostu Dakostu marked this pull request as ready for review November 29, 2023 15:57
Copy link
Member

@dominiklohmann dominiklohmann left a comment

Choose a reason for hiding this comment

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

Just one last question, then I think this is ready to go.

libtenzir/builtins/aspects/lookup-tables.cpp Outdated Show resolved Hide resolved
@Dakostu Dakostu merged commit 4fb4bc1 into main Dec 1, 2023
44 checks passed
@Dakostu Dakostu deleted the topic/contextulization branch December 1, 2023 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
4 participants