free / sql_exporter

Database agnostic SQL exporter for Prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The "min_interval" setting in "sql_exporter.yml" cannot become effective.

lwlei opened this issue · comments

commented

Hello, I am running sql_exporter (sql_exporter-0.7.1.linux-amd64.tar.gz
) from "https://github.com/burningalchemist/sql_exporter/releases". At first, I set "min_interval: 30s" in "sql_exporter.yml" and ran the sql_exporter. Then I killed the process of sql_exporter,modified the "sql_exporter.yml" to set "min_interval: 0s" and restart the sql_exporter. However, the logging shows the min_interval is also 30s. Why? What can I do to change the setting of "min_interval" to 0s?
The way I ran sql_exporter: nohup ./sql_exporter -logtostderr -v 2 &
The way I killed the process: ps -ef | grep sql_exporter kill -9 xxxx
image
image
image