Skip to content

Create a structured output format for cardamon stats (json/yaml) #88

@flyaruu

Description

@flyaruu

We're running cardamon in a CI environment. The CI run results in a cardamon.db sqlite database, which can be analyzed, but I'd like an easier way to for example detect energy usage regressions.

I think the easiest way to get there is to extend the 'cardamon stats' command with a JSON output option '-o json' so we can parse it with jq, and for example fail a build if the energy consumption is much higher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions