Skip to content

Add Timestamp to JSON Output in Pipe Mode #23

Closed
@cwawak

Description

@cwawak

It would be helpful if macmon pipe included a timestamp in its JSON output. Right now, the output provides various system metrics like CPU temperature, memory usage, and power consumption, but there's no way to know exactly when each data point was recorded. Adding a timestamp would make it easier to correlate these metrics with other logs or time-based analysis.

I'd like to see something added like:

"timestamp": "2025-02-10T18:02:23.000Z"

to each JSON object.

This could helps with log correlation and time-series analysis and makes it easier to debug performance issues by seeing when events happened.

Thank you for considering my request! I'm not skilled at coding, but I am happy to help in any way I can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions