Skip to content

Add process uptime in "vector top" view #23226

@johnhtodd

Description

@johnhtodd

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

I often have several different versions of vector running on a single system, on different API ports. There is are normal ansible-driven updates that cause vector to restart, but I am also interested to know if vector restarts abnormally. Understanding the number of seconds of "uptime" in the "vector top" view would be useful for operator debugging.

Attempted Solutions

The only other way to do this seems to be pulling something out of the Prometheus metrics, which requires some bash and is clunky.

Proposal

Add an: "Uptime:" field at the top of the "vector top" page, to the right of the "Connected" status data, with an integer number of seconds.

References

No response

Version

vector 0.48.0 (x86_64-unknown-linux-gnu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain: metricsAnything related to Vector's metrics eventstype: featureA value-adding code addition that introduce new functionality.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions