powerpal_exporter

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

README

Prometheus Powerpal Exporter

This exporter is built to expose the live data from a Powerpal power consumption monitoring device into a format that can be pulled into Prometheus

CircleCI

Usage

Installation

Binaries can be downloaded from the Github releases and need no special installation.

Running

Start powerpal_exporter as a daemon or from CLI specifying your API token and device ID:

./powerpal_exporter --token "API_TOKEN" --device "DEVICE_ID" --refresh 30

Visit http://localhost:9915/metrics to get all the metrics exposed.

Command line parameters can be set using environment variables instead.

Option Default Environment Variable
--token POWERPAL_TOKEN
--device POWERPAL_DEVICE
--refresh 30 POWERPAL_REFRESH

Docker

Powerpal Exporter is available as a Docker image at https://hub.docker.com/r/adamashley/powerpal-exporter

The Docker image works with the same environment variables used by the daemon itself.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL