Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The query timing interval for the postgres exporter can be adjusted by setting the query_duration_seconds configuration option in the exporter's configuration file. The value of query_duration_seconds determines how often the exporter runs queries against the PostgreSQL database to collect metrics. By default, the value is set to 15 seconds, but it can be adjusted to any desired interval (in seconds).

For example, to set the query duration interval to 30 seconds, the following line can be added to the exporter's configuration file:

query_duration_seconds: 30