Is this a new feature request?
Wanted change
Add the ability to run ./bin/prometheus_exporter as a service
Reason for change
To expose Prometheus metrics when using multiple Puma processes, a separate process needs to be run to collect the metrics and re-expose them.
https://docs.joinmastodon.org/admin/config/#prometheus
Proposed code change
An environment variable (probably?) to configure starting the ./bin/prometheus_exporter process. Existing configuration can kick in from there.
Is this a new feature request?
Wanted change
Add the ability to run
./bin/prometheus_exporteras a serviceReason for change
To expose Prometheus metrics when using multiple Puma processes, a separate process needs to be run to collect the metrics and re-expose them.
https://docs.joinmastodon.org/admin/config/#prometheus
Proposed code change
An environment variable (probably?) to configure starting the
./bin/prometheus_exporterprocess. Existing configuration can kick in from there.