Vonng / pigsty

Free RDS for PostgreSQL —— Pigsty
https://pigsty.io
GNU Affero General Public License v3.0
3.45k stars 264 forks source link

Add new parameter `pg_exporter_ttls` #212

Closed Vonng closed 1 year ago

Vonng commented 1 year ago

Currently, we use 10s TTL for common exporter queries and 60s , 300s to slow exporter queries. we can add a parameters for that.

pg_exporter_ttls: [10, 60, 300]   # pg_exporter query ttl for fast medium, slow queries
Vonng commented 1 year ago

resolved by add param pg_exporter_cache_ttls & pg_exporter_connect_timeout