Callum027 / ansible-collection-palworld-dedicated-server

Ansible collection for Palworld Dedicated Server
GNU General Public License v3.0
0 stars 0 forks source link

Add support for the Palworld Prometheus exporter #11

Closed Callum027 closed 4 months ago

Callum027 commented 4 months ago

This PR adds support for orchestrating a Prometheus exporter alongside the Palworld Dedicated Server. The exporter is developed by palworld.lol, and the tag on Docker Hub is bostrt/palworld-exporter.

Enable it by setting palworld_dedicated_server_exporter_enable to true, and configure the bind IP address and port with palworld_dedicated_server_exporter_bind_address (defaults to 0.0.0.0) and palworld_dedicated_server_exporter_bind_port (defaults to 9877).

There are a number of related changes that were necessary for this PR, unfortunately many of them are breaking. In the future the necessity of breaking changes like this should decrease.

Breaking changes:

Other changes: