2019-03-03 08:50:49 +00:00
|
|
|
# listen: Addr and port to listen (required)
|
2019-11-24 16:21:20 +00:00
|
|
|
listen: "0.0.0.0:60000"
|
2019-03-03 08:50:49 +00:00
|
|
|
|
|
|
|
# access_log (optional)
|
|
|
|
access_log:
|
|
|
|
path: "/dev/stdout"
|
|
|
|
format: "ltsv"
|
|
|
|
fields: ['time', 'time_nsec', 'status', 'size', 'reqtime_nsec', 'backend', 'path', 'query', 'method']
|
|
|
|
|
|
|
|
# error_log (required)
|
|
|
|
error_log:
|
|
|
|
path: "/dev/stderr"
|
|
|
|
|
|
|
|
# exporters: The path of exporter_proxy and the URL of the destination exporter
|
|
|
|
exporters:
|
|
|
|
node_exporter:
|
|
|
|
path: "/node_exporter/metrics"
|
|
|
|
url: "http://127.0.0.1:9100/metrics"
|
|
|
|
statup_exporter:
|
|
|
|
path: "/statup_exporter/metrics"
|
|
|
|
url: "http://127.0.0.1:8080/metrics"
|