prometheus_exporter | A framework for collecting and aggregating prometheus | Analytics library
kandi X-RAY | prometheus_exporter Summary
kandi X-RAY | prometheus_exporter Summary
A framework for collecting and aggregating prometheus metrics
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of prometheus_exporter
prometheus_exporter Key Features
prometheus_exporter Examples and Code Snippets
Community Discussions
Trending Discussions on prometheus_exporter
QUESTION
To collect Postgres metrics in prometheus, postgres_exporter is used. Containerization is not used, everything is done natively. Hardware metrics are collected in a prometheus through a job. To collect database metrics, I need to connect the prometheus_exporter to the database. Tell me how to configure the connection to the database. postgres_exporter has no configuration files. Шs it possible to do this via environment variables?
prometheus.yml:
...ANSWER
Answered 2021-Dec-16 at 08:45Is it possible to do this via environment variables?
Yes, it is possible. Here is the list of supported variables: https://github.com/prometheus-community/postgres_exporter#environment-variables
How to configure the connection to the database
A simple example to launch from console:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install prometheus_exporter
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page