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:
@@ -42,12 +42,9 @@ valkey_exporter_listen_address: "127.0.0.1:9121"
|
||||
valkey_exporter_redis_addr: "redis://127.0.0.1:6379"
|
||||
valkey_exporter_user: valkey_exporter
|
||||
# valkey_exporter_password: "" # Intentionally undefined - required when enabled
|
||||
# Read-only command set recommended by redis_exporter for monitoring.
|
||||
valkey_exporter_commands: >-
|
||||
-@all +@connection +memory -readonly +strlen +config|get +xinfo +pfcount
|
||||
-quit +zcard +type +xlen -readwrite -command +client -wait +scard +llen
|
||||
+hlen +arcount +get +eval +slowlog +cluster|info +cluster|slots +cluster|nodes
|
||||
-hello -echo +info +latency +scan -reset -auth -asking
|
||||
# Read-only command set for monitoring: connection (auth/ping/client) + the
|
||||
# metrics the exporter scrapes (INFO, CONFIG GET maxmemory).
|
||||
valkey_exporter_commands: "-@all +@connection +info +config|get"
|
||||
|
||||
# Valkey log level (debug, verbose, notice, warning)
|
||||
valkey_loglevel: notice
|
||||
|
||||
Reference in New Issue
Block a user