Please can you provide some build instructions
squeeb opened this issue · 1 comments
squeeb commented
I don't have much Go experience, but trying to build this locally just ends up with all sorts of errors.
I'm definitely not doing something right.
Please can you provide some build instructions in your README?
mdlayher commented
✔ ~/src/github.com/mdlayher/apcupsd_exporter [main|…1]
16:57 $ go build ./cmd/apcupsd_exporter
✔ ~/src/github.com/mdlayher/apcupsd_exporter [main|…1]
16:57 $ ./apcupsd_exporter -h
Usage of ./apcupsd_exporter:
-apcupsd.addr string
address of apcupsd Network Information Server (NIS) (default ":3551")
-apcupsd.network string
network of apcupsd Network Information Server (NIS): typically "tcp", "tcp4", or "tcp6" (default "tcp")
-telemetry.addr string
address for apcupsd exporter (default ":9162")
-telemetry.path string
URL path for surfacing collected metrics (default "/metrics")