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

tracing: add parameters info to the trace instead of skipping them #853

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

Mossaka
Copy link
Member

@Mossaka Mossaka commented Feb 14, 2025

this commit also removes 'parent = ...' since it's already in the default


image

Notice how version, revision, and name are now included in the tags.

this commit also removes 'parent = ...' since it's already in the default

Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 12 changed files in this pull request and generated no comments.

Files not reviewed (7)
  • crates/containerd-shim-wasmtime/src/instance.rs: Evaluated as low risk
  • crates/containerd-shim-wasm/src/sandbox/shim/task_state.rs: Evaluated as low risk
  • crates/containerd-shim-wasm/src/sandbox/instance.rs: Evaluated as low risk
  • crates/containerd-shim-wasm/src/sandbox/instance_utils.rs: Evaluated as low risk
  • crates/containerd-shim-wasm/src/sys/unix/metrics.rs: Evaluated as low risk
  • crates/containerd-shim-wasm/src/sandbox/cli.rs: Evaluated as low risk
  • crates/containerd-shim-wasm/src/sandbox/shim/cli.rs: Evaluated as low risk
Comments suppressed due to low confidence (1)

crates/containerd-shim-wasm/src/sys/unix/container/executor.rs:48

  • The error message 'CantHandle' is unclear. Consider providing more context about why the executor cannot handle the container.
InnerExecutor::CantHandle => Err(LibcontainerExecutorError::CantHandle(E::name())),
@jprendes
Copy link
Collaborator

What is, if any, the impact on performance?

@Mossaka
Copy link
Member Author

Mossaka commented Feb 14, 2025

What is, if any, the impact on performance?

From the benchmarks, I can hardly see much negative impact on performance: https://github.com/containerd/runwasi/actions/runs/13321128097?pr=853

Copy link
Collaborator

@jprendes jprendes left a comment

Choose a reason for hiding this comment

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

LGTM

@Mossaka Mossaka merged commit 5990289 into containerd:main Feb 14, 2025
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants