2

我通过以下代码转发黎曼事件riemann.config

(def influxdb-creds {
     :version :0.9
     :host "127.0.0.1"
     :port 8086
     :db "riemann"
     ; :username "riemann"
     ; :password "riemann_password"
})

(def influxBatchSender
    (batch 100 1/10
     (async-queue! :agg {:queue-size 1000
                         :core-pool-size 1
                         :max-pool-size 4
                         :keep-alive-time 60000}
                   (influxdb influxdb-creds))))

在我的环境中,我需要用来curl --noproxy '*'访问 influxdb,如何在我的riemann.config?

4

1 回答 1

0

http_proxy 和 https_proxy 环境变量负责这个。确保您的环境中没有 http_proxy 和 https_proxy 变量。

于 2017-11-13T17:23:18.350 回答