Skip to content

Extract CRI instrument into separate package#8093

Merged
dmcgowan merged 1 commit intocontainerd:mainfrom
mxpv:instrument
Feb 13, 2023
Merged

Extract CRI instrument into separate package#8093
dmcgowan merged 1 commit intocontainerd:mainfrom
mxpv:instrument

Conversation

@mxpv
Copy link
Copy Markdown
Member

@mxpv mxpv commented Feb 12, 2023

CRI is probably one of the largest plugins/packages in containerd.
It'd preferable to move towards a set of smaller / easier to maintain packages/plugins, same as the majority of the other plugins we currently maintain in containerd project.

This PR extracts instrumentation code from cri/ into a separate go package, so both CRI and sandboxes CRI can depend and reuse it.

Signed-off-by: Maksym Pavlenko [email protected]

@mxpv mxpv added area/cri Container Runtime Interface (CRI) kind/refactor labels Feb 12, 2023
@mxpv mxpv changed the title Extract CRI instrumen into separate package Extract CRI instrument into separate package Feb 12, 2023
@mxpv
Copy link
Copy Markdown
Member Author

mxpv commented Feb 12, 2023

/test pull-containerd-sandboxed-node-e2e

Comment thread pkg/cri/instrument/instrumented_service.go Outdated
Signed-off-by: Maksym Pavlenko <[email protected]>
@dmcgowan dmcgowan merged commit c6cf6b2 into containerd:main Feb 13, 2023
@mxpv mxpv deleted the instrument branch February 13, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) kind/refactor

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants