powerapi-ng / hwpc-sensor

Hardware Performance Counters monitoring agent for containers.
BSD 3-Clause "New" or "Revised" License
14 stars 16 forks source link

Feat: Resolve network name for socket output #16

Closed PierreRustOrange closed 2 years ago

PierreRustOrange commented 2 years ago

When the address provided in the configuration is not an IPV4 address (such as w.x.y.z) we now try to resolve the network name before connecting. It allows using the socket output in environments where IP addresses are dynamically provided and not known when configuring the sensor (e.g. docker compose or k8s).

This fixes #14 and #15.