This project has been archived by its maintainers, and is no longer receiving any updates.
telegraph-pgbouncer
Poll pgBouncer for stats to submit to Telegraf using the Exec Input Plugin.
Usage
The application is meant to be used via the Exec Input Plugin
Example Telegraf Configuration
[[inputs.exec]]
## Commands array
commands = [
"telegraf-pgbouncer -h localhost -p 6432 -U monitor all"
]
timeout = "5s"
name_suffix = "_pgbouncer"
data_format = "json"
CLI Usage
$ telegraf-pgbouncer --help
usage: pgBouncer Stats Collector for Telegraf
positional arguments:
COMMAND The SHOW command to run for extracting stats. Choices:
all, lists, databases, mem, pools, stats
optional arguments:
-h HOST, --host HOST database server host or socket directory (default: localhost)
-p PORT, --port PORT database server port number (default: 5432)
-U USERNAME, --username USERNAME
The PostgreSQL username to operate as (default: pgbouncer)
-W, --password Force password prompt (should happen automatically)
(default: False)
-v, --version output version information, then exit
-?, --help show this help, then exit
Authentication
Specify the password in a .pgpass file for the application to connect properly without specifying a password.
Metadata
Release files for telegraf-pgbouncer 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telegraf_pgbouncer-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for telegraf_pgbouncer-0.3.0-py2.py3-none-any.whl |
Release files / telegraf_pgbouncer-0.3.0-py2.py3-none-any.whl
| Download URL | telegraf_pgbouncer-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c85a06ef08fc3eef11b1a2a47b102e4b68caeec36bc8cc6eab1a37a33a6159b7
|
|
BLAKE2b-256 checksum How to use checksums |
7a8725636adc3fc5f77e4497aa7f2e59fef0729ee38782edd070a2db3df989c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for telegraf-pgbouncer 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.