-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Why not use "--version" to get the version of OTEL? #32049
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @mike9421, thanks for raising this. In short, using the OpAMP extension instead of the |
Do you mean that more information about the agent will be retrieved in getBootstrapInfo() in the future,
If that's the case, then I have no issues. Initially, I thought if we are just retrieving the version number, we could simply use --version instead of establishing an OpAMP connection and then disconnecting it. It seems that from version v0.93.0 onwards, the supervisor no longer retrieves the version number in getBootstrapInfo().
v0.92.0
@evan-bradley Thank you for your reply, I am about to close this issue. |
Component(s)
cmd/opampsupervisor
Describe the issue you're reporting
The way the version number is obtained in function getBootstrapInfo is by
opampextension
connecting toopampsupervisor
, thenopampsupervisor
traverses the data.Why not use "
--version
" to let otel return the version number? I think this method will be more convenient.The text was updated successfully, but these errors were encountered: