From 10c0b4a030365da704f9d2e75857cdfbfa1fab74 Mon Sep 17 00:00:00 2001 From: lagooj Date: Thu, 12 Nov 2020 11:53:16 +0100 Subject: [PATCH] docs(archive): update pillar.example with unofficial exporter --- pillar.example | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pillar.example b/pillar.example index 462dc82..95fb33c 100644 --- a/pillar.example +++ b/pillar.example @@ -13,6 +13,8 @@ prometheus: - prometheus - alertmanager - node_exporter + - php-fpm_exporter + - postgres_exporter # - memcached_exporter # not in upstream repo, only archive exporters: @@ -171,6 +173,32 @@ prometheus: web.listen-address: ":9091" web.telemetry-path: "/metrics" + php-fpm_exporter: + version: v0.6.1 + archive: + official: false + tar: false + # yamllint disable-line rule:line-length + source: https://github.com/bakins/php-fpm-exporter/releases/download/v0.6.1/php-fpm-exporter.linux.amd64 + source_hash: 40e52d84f7decb5fdad9fadacf63cb2de26ebddce56e11b20651555e8d6c6130 + service: + args: + addr: ":9253" + fastcgi: "unix:///run/php/php-fpm.sock" + + postgres_exporter: + version: v0.8.0 + service: + env: + - 'DATA_SOURCE_NAME=foo:bar@/' + archive: + official: false + # yamllint disable-line rule:line-length + source: https://github.com/wrouesnel/postgres_exporter/releases/download/v0.8.0/postgres_exporter_v0.8.0_linux-amd64.tar.gz + skip_verify: true + + + linux: # 'Alternatives system' priority: zero disables (default) # yamllint disable-line rule:braces