All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added
BOOST
status to thenut_ups_status
state set.
- Added metrics (@uncleBorsch):
nut_temperature_celsius
(ups.temperature
)nut_delay_shutdown_seconds
(ups.delay.shutdown
)nut_delay_start_seconds
(ups.delay.start
)nut_battery_voltage_high_volts
(battery.voltage.high
)nut_battery_voltage_low_volts
(battery.voltage.low
)
- Added more UPS metadata (@uncleBorsch).
- Added support for binding to a specific IP address through the
HTTP_ADDRESS
environment variable (@nsapa). - Added metric
nut_ups_status
as a state set with support for many UPS statuses (OL
,OB
,LB
,CHRG
etc.). - Added labels
driver_version
,driver_version_internal
,driver_version_data
andmanufacturing_date
to thenut_ups_info
metric. - Added proper signal handling to shutdown gracefully and not hang.
- Added multi-architecture support (Docker images for different architectures will get published to Docker Hub).
- Changed default log level to
info
. - Made the target port default to 3493 instead of requiring one to be provided.
- Made the Prometheus/OpenMetrics output (more) OpenMetrics 1.0.0-compliant.
- Deprecated
nut_info
and addednut_server_info
as an identical but better named replacement. - Deprecated
nut_status
as it has very limited support for UPS statuses and doesn't always work as intended. Seenut_ups_status
for the replacement. - Deprecated the
type
andnut_version
labels from thenut_ups_info
metric. Usedevice_type
anddriver_version
instead. - Deprecated
nut_battery_volts
,nut_input_volts
andnut_output_volts
. Replacements were added in v1.1.0.
- Removed the tini init system from the Docker image, since signals are handled properly now.
- Fixed typo in the
device.mfr
variable (@nsapa).
- Added proper logging with adjustable log level.
- Added duplicate compatibility metrics to compensate for the renamed metrics in the previous release.
- Changed request logging to use log level
debug
instead of theLOG_REQUESTS_CONSOLE
environment variable.
- Fixed failing to parse non-semantic NUT versions.
- Added UPS description to
nut_ups_info
. - Added lots of more metrics.
- Replaced Docker image tags
stable
andbleeding
withlatest
,X
,X.Y
andX.Y.Z
(parts of the semantic version). - Renamed a few voltage-related metrics (slightly breaking).
- Added Tini as container entrypoint to handle signals properly (i.e. not stall when exiting).
- Fixed parsing error when multiple UPSes exist.
- Added metadata metrics
nut_info
for the NUT server andnut_exporter_info
for the exporter.
- Improved error messages sent to client.
- Fixed malformed labels for
nut_ups_info
.
Initial release.