diff options
author | Sorah Fukumori | 2019-02-20 03:18:57 +0900 |
---|---|---|
committer | Sorah Fukumori | 2019-02-20 03:18:57 +0900 |
commit | f2f5f0cbeebcdeb9bdfe7b774a26cc364d7523f2 (patch) | |
tree | 08ef01032b4ce233bd572f87f9ab439efc6d74de /config.yml | |
download | aur-f2f5f0cbeebcdeb9bdfe7b774a26cc364d7523f2.tar.gz |
initial submission
Diffstat (limited to 'config.yml')
-rw-r--r-- | config.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/config.yml b/config.yml new file mode 100644 index 000000000000..9c7c938b3ea7 --- /dev/null +++ b/config.yml @@ -0,0 +1,37 @@ +# listen: Addr and port to listen (required) +# If it has "SERVER_STARTER:" prefix, fd passed by https://github.com/lestrrat/go-server-starter will be used +# e.g. +# 127.0.0.1:8080 +# SERVER_STARTER:0.0.0.0:8080 +# SERVER_STARTER:/path/to/socket +listen: "0.0.0.0:9099" + +# enable TLS (optional) +#tls: +# certfile: "/path/to/cert.crt" +# keyfile: "/path/to/keyfile.key" + +## access_log (optional) +#access_log: +# format: "ltsv" +# path: "./access.log" # optional (default: os.Stdout) +# fields: ["time", "time_nsec", "status", "size", "reqtime_nsec", "backend", "path", "query", "method"] +# +## error_log (optional) +#error_log: +# path: "./error.log" # default: os.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" + #mysqld_exporter: + # path: "/mysqld_exporter/metrics" + # url: "http://127.0.0.1:9104/metrics" + + +# shutdown_timeout: timeout for shutting down HTTP server (optional) +# On SIGTERM, exporter_proxy will try to shut down the server gracefully. +# If shutdown_timeout is over, the server will be shutted down forcibly. +shutdown_timeout: 10s |