pgmoneta

home  
releases  
getting started  
tutorials  

github  
discussions  
issues  
license  
pgmoneta  

Configuration Metrics News About

Change the pgmoneta configuration

Change pgmoneta.conf to add
metrics = 5001
    
under the [pgmoneta] setting, like
[pgmoneta]
...
metrics = 5001
    
as pgmoneta user

Restart pgmoneta

Stop pgmoneta and start it again with
pgmoneta-cli -c pgmoneta.conf stop
pgmoneta -c pgmoneta.conf -u pgmoneta_users.conf
    
as pgmoneta user

Get Prometheus metrics

You can now access the metrics via
http://localhost:5001/metrics
    
as pgmoneta user