-
Notifications
You must be signed in to change notification settings - Fork 458
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
Add instrumentation state information to pods #1142
Comments
I totally agree. This is related to old issue #544 |
@noMoreCLI is name "otel.auto-instrumentation.state" for label final? |
@akhileshsingh85 |
Not an expert on K8s, but from an end user perspective it would be good to have a few kinds of information:
|
Would it be better for some of these to use the |
Correct, the information should be in the status field. |
As a starting point then, what about just adding status conditions to the crd? https://sdk.operatorframework.io/docs/building-operators/golang/advanced-topics/#manage-cr-status-conditions I see that CollectorStatus implemented its own fields, but I think at least the conditions @svrnm suggested could be expressed with the upstream type. Willing to help with this |
I opened a POC pr at #1228, happy to discuss other possibilities or suggestions |
Hi
when working with auto-instrumentation I found no quick way to verify which pods auto-instrumentation has taken place, applied successfully, ignored or failed.
I ended up describing pods and looking for init containers.
Having this information would greatly simplify operations & troubleshooting, if the operator would add state information to pods, when annotating namespace for auto-instrumentation.
For example listing all pods with successful instrumentation:
kubectl get pods --all-namespaces -l otel.auto-instrumentation.state=successful
@svrnm & @pavankrish123
The text was updated successfully, but these errors were encountered: