Jigsaw-Code / outline-server

Outline Server, developed by Jigsaw. The Outline Server is a proxy server that runs a Shadowsocks instance and provides a REST API for access key management.
https://getoutline.org/
Apache License 2.0
5.85k stars 786 forks source link

Supporting adding new exporters to Prometheus #1216

Open iTem186 opened 2 years ago

iTem186 commented 2 years ago

Hello everyone.

Does anybody know how to add new exporter to Prometheus? I've changed config file /opt/outline/persisted-state/prometheus/config.yml, save it. Then run:

docker restart shadowbox

but config became as initial.

m0st26 commented 3 months ago

hi! don't know you solved this problem or not, but... If you add exporter in prometheus.yml and than kill process with prometheus PID in the shadowbox container, process will be automatically restart with modified config file