Skip to content

[RFE] Option to export timestamps with pcp2openmetrics in live mode too #2538

@natoscott

Description

@natoscott

There was a request on the mailing list relating to have pcp2openmetrics(1) export timestamps in live mode. Currently thats only supported for archive mode, but a decent case was made for live mode also.

Since support is already there for archive mode (where this defaults to enabled), it seems like it'd be pretty straightforward to add a command line option allowing this in live mode too.

In the PMWEBAPI(1) /metrics endpoint, there is a "times=true/false" parameter which switches this on/off there - perhaps a mirror command line option in pcp2openmetrics would be the way to go? (defaulting to on for archives and off for live mode for back-compat?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions