Open AndersonQ opened 8 months ago
Pinging @elastic/elastic-agent (Team:Elastic-Agent)
for components using older versions of the protocol, the version_info.version.
I would just always report the build_hash and not try to deal with when version is missing.
If version is missing it must always match that of the running agent because of the way our release process works, so if we want to populate it you can just populate the agent package version.
--outout full|json|yaml
, they will differ in the information they show:The
full
version of the status command output does not include the components version or build hash (do not mistakeversion_info.build_hash
withversion_info.meta.commit
).Components using the version 7.8.0+ of the control protocol the status command should report their
version_info.build_hash
, for components using older versions of the protocol, theversion_info.version
.output difference
elastic-agent status --output full
elastic-agent status --output yaml