Skip to content

ProgEsteves/postgresql_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgresql_exporter

A Prometheus exporter for some postgresql metrics.

You can add as many database connections as you like to the config.yml file, and run it with:

./postgresql_exporter -config=my/config.yml

Then you can add hostname:9111 to the prometheus scrapes config:

- job_name: 'postgresql'
  static_configs:
    - targets: ['localhost:9111']

And voilá, metrics should be there and you should be able to query, graph and alert on them.

Running it within Docker

docker run -p 9111 -v /path/to/my/config.yml:/config.yml caninjas/postgresql_exporter

About

A Prometheus exporter for some postgresql metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published