-
Notifications
You must be signed in to change notification settings - Fork 90
Add Linux user_events Receiver #2717
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
Draft
lalitb
wants to merge
57
commits into
open-telemetry:main
Choose a base branch
from
lalitb:user-events-receiver
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 40 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
e5f5b34
fix
lalitb c224520
fix
lalitb 797f51c
Make the userevents receiver viable for VM demos
lalitb 255ca85
Move the Linux userevents receiver into contrib
lalitb ec0ecc6
Add multi-core orchestration to the userevents VM demo
lalitb 00ff4a5
Keep userevents timestamps and tracefs failures usable on Linux VMs
lalitb 67c3bd4
Share one_collect as the userevents collection backend
lalitb 3f69d41
Preserve record time without unsafe code in the one_collect adapter
lalitb 1f1a8e8
Co-locate userevents receiver tests with their owning crate
lalitb e3be486
Drop stale userevents dependencies from unrelated crates
lalitb f05d39a
Remove personal userevents demo scripts from the repo
lalitb f7fed98
Improve userevents receiver decode path and gating
lalitb ecdaad3
Refactor user-events collection modules
lalitb 473aa7b
Gate tracepoint_decode behind userevents feature
lalitb bd74167
Clean up userevents receiver docs and deps
lalitb f9280d5
Drain perf ring during receiver ingress drain
lalitb 39eb3bc
Fix rustfmt ordering in userevents modules
lalitb 206e077
Fix userevents receiver warnings and test gating
lalitb 0653e42
Allow missing docs on userevents e2e test
lalitb 9f87603
Clarify userevents batching loss note
lalitb 4d6dbe9
Revert collection common module split
lalitb dd0ff8e
Bound one-collect adapter drain budget
lalitb 394ba67
Restrict userevents receiver to supported decode mode
lalitb 5f52c8c
Move one_collect adapter under userevents receiver
lalitb 7868da1
Clean up userevents receiver output schema
lalitb 696aed3
Refine userevents receiver hot path and docs
lalitb 7130695
Clarify userevents encoder attribute comment
lalitb a3458fc
Simplify userevents CPU coverage docs
lalitb 9c8ec3f
Clarify userevents platform and locality docs
lalitb 28edfb7
Fix userevents review follow-ups
lalitb e84473a
Remove unused one-collect submodule wiring
lalitb c7f7903
Clamp userevents numeric conversions
lalitb e39f15e
Restore contrib receivers feature
lalitb c333782
Restore optional contrib dependencies
lalitb b7d2951
fmt
lalitb d534cfb
Use microsoft URN for userevents receiver
lalitb 46fa52b
Remove stale userevents decoder helpers
lalitb 3e9abe6
Remove unused decoded attr helper
lalitb bfb95d9
Make userevents receiver URN vendor neutral
lalitb 627bdf9
Merge branch 'main' into user-events-receiver
lalitb 42cb598
Merge branch 'main' into user-events-receiver
lalitb ac916af
fix
lalitb ac20b3e
Merge branch 'main' into user-events-receiver
lalitb 8ef54de
Merge branch 'main' into user-events-receiver
lalitb e8c2c98
Anchor user events timestamp conversion
lalitb 079efca
Anchor user events timestamp conversion
lalitb 15e42c2
Document user events receiver follow-ups
lalitb 483e660
Document user events receiver follow-ups
lalitb a87d54e
Merge branch 'user-events-receiver' of github.com:lalitb/otel-arrow i…
lalitb 22e4e64
Update ingestion backend comment wording
lalitb cd43173
Optimize userevents PartC decode staging
lalitb c1fff64
Clarify userevents decode staging TODO
lalitb 920c83c
fmt
lalitb a419d32
Merge branch 'main' into user-events-receiver
lalitb 2a045b2
Document kernel/distro requirements for userevents receiver
lalitb 99ed372
Merge branch 'main' into user-events-receiver
lalitb 2018652
review comments
lalitb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,11 +1,15 @@ | ||||||
| <!-- markdownlint-disable MD013 --> | ||||||
|
|
||||||
| # Contrib Nodes | ||||||
|
|
||||||
| This crate contains optional (feature-gated) contrib processors and exporters. | ||||||
| This crate contains contrib receivers, processors, and exporters. | ||||||
|
|
||||||
| ## Folder Layout | ||||||
|
|
||||||
| - `src/exporters/` | ||||||
| - Contrib exporters | ||||||
| - `src/receivers/` | ||||||
| - Contrib receivers | ||||||
| - `src/processors/` | ||||||
| - Contrib processors | ||||||
|
|
||||||
|
|
@@ -14,6 +18,18 @@ This crate contains optional (feature-gated) contrib processors and exporters. | |||||
| Feature flags are grouped into aggregate categories and individual node flags. | ||||||
| Aggregate flags enable all nodes in their category. | ||||||
|
|
||||||
| ### Receivers | ||||||
|
|
||||||
| | Node | URN | Module | | ||||||
| | ---- | --- | ------ | | ||||||
| | userevents_receiver | `urn:otel:receiver:userevents` | `src/receivers/userevents_receiver/` | | ||||||
|
|
||||||
| #### userevents_receiver | ||||||
|
|
||||||
| - Reads Linux `user_events` tracepoints through per-CPU perf sessions | ||||||
| - Supports single-tracepoint and multi-tracepoint configuration | ||||||
| - Supports the `common_schema_otel_logs` decode format for supported log payloads | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ### Exporters | ||||||
|
|
||||||
| - `contrib-exporters` (enables all contrib exporters) | ||||||
|
|
||||||
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| // Copyright The OpenTelemetry Authors | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| /// Linux userevents receiver. | ||
| #[cfg(feature = "userevents-receiver")] | ||
| pub mod userevents_receiver; |
Oops, something went wrong.
Oops, something went wrong.
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.
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.
nit: put the date of the commit here in comment, so it is to tell which date's version we are consuming here.