-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
in_ebpf: initial version of the plugin (experimental) #9576
Merged
+381,884
−5
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
niedbalski
force-pushed
the
in_ebpf_agent
branch
from
November 11, 2024 12:24
b48e23e
to
c636ec0
Compare
niedbalski
commented
Nov 11, 2024
niedbalski
commented
Nov 11, 2024
7 tasks
niedbalski
requested review from
patrick-stephens,
celalettin1286,
fujimotos,
leonardo-albertovich and
koleini
as code owners
November 11, 2024 12:40
niedbalski
force-pushed
the
in_ebpf_agent
branch
from
November 11, 2024 13:37
c636ec0
to
1272c6e
Compare
niedbalski
force-pushed
the
in_ebpf_agent
branch
from
November 11, 2024 13:39
1272c6e
to
cb98794
Compare
niedbalski
force-pushed
the
in_ebpf_agent
branch
from
November 11, 2024 13:50
cb98794
to
0a39dda
Compare
This is a proposal to implement a ebpf trace ingestor plugin to allow sending traces from in kernel functions and userland through uprobes. This initial implementation has 3 traces implemented: bind (tcp), malloc (uprobe) and signals (kernel trace). Events types are known and defined in the fluent-bit codebase and those has to be implemented by the ebpf program to follow when submitted into the ring buffer. Signed-off-by: Jorge Niedbalski <[email protected]>
niedbalski
force-pushed
the
in_ebpf_agent
branch
from
November 11, 2024 14:03
0a39dda
to
2cad449
Compare
niedbalski
removed request for
leonardo-albertovich,
patrick-stephens,
koleini,
fujimotos and
celalettin1286
November 11, 2024 14:03
This was referenced Nov 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a proposal to implement a ebpf trace input plugin to allow sending traces from in kernel functions and userland through userland probes.
This initial implementation has 3 traces implemented: bind (tcp), malloc (uprobe) and signals (kernel trace).
Events types are defined in the fluent-bit code base and those has to be implemented by the ebpf program to follow when submitted into the ring buffer.
An example configuration is as follows
This produces an output set of log entries as follows:
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.