Skip to content

[Feature]: Output Formatting #85

Description

@FelixRTU

Describe the feature request

Hi. Our checks use Prometheus queries that return a floating point number. This works, but especially percentages and time values are hard to interpret, see the given examples.

A format flag for the return values would be great to solve this. It does not have to be as complex as in Grafana, but some basics would be nice.

Formats that would be currently useful to us:

  • number (default)
  • percent (0-1)
  • time (seconds)
  • data (bytes [1000 bits])

Examples:
io-usage in percent

Image
certificate expiration in seconds

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions