Skip to content

Report Agent Software Version #539

Open

Description

@rwuthric

Maybe it is already the case and I couldn't figure it out, but it would be useful if the Agent could report it's software version (for example as an Application.Version field).

In our use case we deploy several agents across a Docker Swarm Cluster and it would help to have available which version exactly of the agent is in use (we could use it to automate upgrades etc. ...).

Activity

  1. wsobel commented on May 6, 2025

    @wsobel
    Member
  2. rwuthric commented on May 7, 2025

    @rwuthric
    ContributorAuthor

    Thank you for the quick answer

    I was thinking a DataItem that would be in the Agent Device Stream, similar to the reporting of the Adapter Software version. For example:

    <Events>
        <AgentSoftwareVersion dataItemId="agent_software_version" sequence="31" timestamp="2025-05-07T00:54:11.223921Z">2.5.0.4</AgentSoftwareVersion >
    </Events>
    

    Indeed, the version is present in the header (for example version="2.5.0.4"). I didn't check that previously.

    The benefit we see in having the version further reported in a DataItem is that for the user it would be easy to inspect it from the WebApp of the Agent. Our software framework would as well be able to handle the DataItem in a straight forward way.

  3. added theissue type on May 20, 2025
  4. self-assigned this
    on May 20, 2025
  5. robot-ranger commented on May 30, 2025

    @robot-ranger
    Collaborator

    Thank you for the quick answer

    I was thinking a DataItem that would be in the Agent Device Stream, similar to the reporting of the Adapter Software version. For example:

    <Events>
        <AgentSoftwareVersion dataItemId="agent_software_version" sequence="31" timestamp="2025-05-07T00:54:11.223921Z">2.5.0.4</AgentSoftwareVersion >
    </Events>
    

    Indeed, the version is present in the header (for example version="2.5.0.4"). I didn't check that previously.

    The benefit we see in having the version further reported in a DataItem is that for the user it would be easy to inspect it from the WebApp of the Agent. Our software framework would as well be able to handle the DataItem in a straight forward way.

    it is shown in the webapp... is this not sufficient?

    Image

  6. wsobel commented on May 30, 2025

    @wsobel
    Member

    We would need to pass this by the Agent WG and have it approved as a new data item type. Not too hard, but may be in 2.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions