-
Notifications
You must be signed in to change notification settings - Fork 451
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
Change instrumentation feature gates into normal command-line flags #2582
Comments
Hi @swiatekm-sumo I am interested to helping this out, so far I'm planning to add flags to |
I think it's fine if they're part of the operator's main config struct for now. We can refactor this later if it's unwieldy. Right now we don't have a lot of configuration for any individual instrumentation. |
I've updated the issue with a checklist for the flags that need to be migrated. I'd like to keep this issue open to track the procedure across all the flags. |
@swiatekm-sumo i opened up issues for each of these so we don't need to worry about closing the parent issue |
Feature gate |
With #2834 merged, we are done. |
Component(s)
operator
Describe the issue you're reporting
We currently use operator feature gates to control which instrumentations are enabled. The intent is to keep this configurable forever, so cluster operators can make this decision for the whole operator deployment. Feature gates are a suboptimal choice for this, however, as they assume a strict stage progression from
Alpha
toStable
, and eventually are intended to be removed completely.We should change these into normal command-line flags for the operator while it's still a relatively painless change for our users.
As an aside, we also can't upgrade to newer versions of the otel featuregate package, as some of our gate names contain dashes, which the package now forbids. This is starting to block upgrades of other packages which depend on the featuregate package, for example #2570. In this case, the responsible gates are
operator.autoinstrumentation.apache-httpd
andoperator.autoinstrumentation.multi-instrumentation
, so we should start with those.Flags migrated:
operator.autoinstrumentation.multi-instrumentation
operator.autoinstrumentation.apache-httpd
#2670operator.autoinstrumentation.dotnet
#2671operator.autoinstrumentation.python
#2672operator.autoinstrumentation.java
#2673operator.autoinstrumentation.nodejs
#2674operator.autoinstrumentation.go
#2675operator.autoinstrumentation.nginx
#2676The text was updated successfully, but these errors were encountered: