fix(monitoring): exporter auth and reload fixes

- postgres: use lib/pq conninfo DATA_SOURCE_NAME; the postgresql:// URL
  form broke on special chars in the password (net/url: invalid userinfo)
- nginx: flush handlers after deploying stub_status so nginx reloads
  before the exporter starts scraping
- valkey: drop invalid +arcount command from the exporter ACL set
  (Valkey aborted startup parsing the ACL file)
This commit is contained in:
Clément Désiles
2026-09-06 23:47:13 +02:00
parent ed5d0c68f1
commit 65fdb4face
4 changed files with 8 additions and 8 deletions
@@ -1,3 +1,3 @@
# Managed by Ansible - DO NOT EDIT MANUALLY
{{ postgres_exporter_args_var }}="--web.listen-address={{ postgres_exporter_listen_address }}"
DATA_SOURCE_NAME="postgresql://{{ postgres_exporter_user }}:{{ postgres_exporter_password }}@{{ postgres_exporter_pg_host }}:{{ postgres_exporter_pg_port }}/{{ postgres_exporter_pg_dbname }}?sslmode=disable"
DATA_SOURCE_NAME="user={{ postgres_exporter_user }} password={{ postgres_exporter_password }} host={{ postgres_exporter_pg_host }} port={{ postgres_exporter_pg_port }} dbname={{ postgres_exporter_pg_dbname }} sslmode=disable"