-
Notifications
You must be signed in to change notification settings - Fork 440
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
Not ignore the container-names annotation when the multi-instrumentation is enabled #3213
Conversation
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.
LGTM, with one nitpick.
@iblancasa could we deprecate/remove |
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.
Perhaps some documentation needs to be updated?
.chloggen/feature_3090.yaml
Outdated
component: auto-instrumentation | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: "Not ignore the container-names annotation when the multi-instrumentation is enabled" |
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.
Please put here the entire annotation or in the subtext. It will be clearer for end users.
I'll do it as part of other PR because I don't want this one to be really big. Just to make it easy to review. |
…ion is enabled Signed-off-by: Israel Blancas <iblancasa@gmail.com>
1b10e4b
to
8989fc3
Compare
I'm not sure. I read the |
Checking the errors in the E2E tests... |
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
…or into feature/3090
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.
LGTM, some minor nitpicks.
…rator into feature/3090
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
…or into feature/3090
This PR may have broken handling of language-specific annotations. I have deployment with the following pod annotations: instrumentation.opentelemetry.io/inject-sdk: otel-system/otel-instrumentation
instrumentation.opentelemetry.io/sdk-container-names: test-app This works fine with versions up to v0.107.0, but after upgrade to v0.108.0 it no longer injects variables. |
Description: previously, the
container-names
annotation was ignored when multi-instrumentation was enabled in the operator (even if for that Instrumentation object a single instrumentation was used). Now, it is not ignored.If that annotation is used simultaneously with the ones used for multi-instrumentation, the
areContainerNamesConfiguredForMultipleInstrumentations
will raise an error.Link to tracking Issue(s):
This is the first step to enable the multi-instrumentation by default.