Modify config for `exporter_proxy`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-10 21:50:57 +09:00
parent e20ba94025
commit 6e633166fd
1 changed files with 3 additions and 2 deletions

View File

@ -3,13 +3,13 @@ listen: "0.0.0.0:60000"
# access_log (optional)
access_log:
path: "/dev/stdout"
path: "/var/log/exporter_proxy_access.log"
format: "ltsv"
fields: ['time', 'time_nsec', 'status', 'size', 'reqtime_nsec', 'backend', 'path', 'query', 'method']
# error_log (required)
error_log:
path: "/dev/stderr"
path: "/var/log/exporter_proxy_access.log"
# exporters: The path of exporter_proxy and the URL of the destination exporter
exporters:
@ -19,3 +19,4 @@ exporters:
filestat_exporter:
path: "/filestat_exporter/metrics"
url: "http://127.0.0.1:9943/metrics"