-
Notifications
You must be signed in to change notification settings - Fork 202
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
Generalize instrumentation manager #1980
Conversation
instrumentation/manager.go
Outdated
// The manager will apply the configuration to all instrumentations that match the config group. | ||
type ConfigUpdate[configGroup ConfigGroup] map[configGroup]Config | ||
|
||
type instrumentationDetails[details Details, configGroup ConfigGroup] struct { |
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.
Since we already have Details
, and now instrumentationDetails
with a property details
inside it, can we have better names so it's less confusing?
This creates code like details.details
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.
Renamed Details
to ProcessGroup
and added comments explaining the meaning behind it
A follow up to #1776:
odiglet/pkg/ebpf