Skip to content

Prometheus intergration #17

@spoulson

Description

@spoulson

To be able to monitor status, the runtime status should be optionally exported into Prometheus.

Since PiFan operates as CLI command, it is necessary for it to push metrics to a Prometheus Pushgateway. This will ensure metrics are accessible to Prometheus even after the CLI command completes.

As a side effect of CLI command structure, it will currently not be possible to maintain runtime state for counters or summary metrics that aggregate data. Only gauge metrics will be delivered.

Metrics:

  • Fan speeds RPM
  • Suggested fan speed %
  • CPU temperatures C

Enable Prometheus Pushgateway integration via CLI argument:

--prometheus-push <host>:<port>

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions