-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Initial commit for setting up a new component: k8slog receiver #24439
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
Conversation
4858200
to
3e05fa1
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
remove stale |
3e05fa1
to
ea3a841
Compare
951c26c
to
04d4b40
Compare
receiver/k8slogreceiver/config.go
Outdated
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.
Are all of the configuration options required for the initial implementation? Can you remove them for now and add them along with the functionality using them going forward?
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 agree, starting small will make things easier to review and get started and we can always add them in the future.
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.
receiver/k8slogreceiver/config.go
Outdated
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.
Lets not introduce expr
filtering to start. The other filter options you've provided are quite extensive. For expression language filtering I'd prefer we use OTTL.
Description:
k8slog receiver provides full functionality to collect logs in k8s containers. It is an all-in-one solution, which supports to:
If we want to collect logs from k8s, we can use this component.
Link to tracking Issue:
#23339
Testing:
Tests for unmarshaling configuration have been added.
Documentation:
Docs for configurations and overall design has been added.