command
module
Version:
v0.0.0-...-f8e6a58
Opens a new window with list of versions in this module.
Published: Oct 7, 2016
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Postgres Exporter with own service discovery
Its SD does not depend on Prometheus SD. You only set the exporter address in prometheus config as a target,
then Exporter starts getting metric.
SD model
-
Get list of services names from consul
-
get service properties from consul
-
filter with tag specified in cli parameters
-
get parameters from the KV. Parameters' path are designed to be /kv/monitoring/service_name/tag
Advantages:
-
Only one service's monitoring agent instead of N agents for N services
-
Live service discovery w/o restarting/reloading
-
Metrics are exported in background and stored in the cache. So it prevents high resources utilization.
Usage
Use aksentyev/postgres_exporter docker image to easy deploy the app.
Add your own metrics to the queries.yaml file. See exporter/queries.yaml.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.