flume_exporter icon indicating copy to clipboard operation
flume_exporter copied to clipboard

how to get urls for setting the config.yml?

Open XiaoDouGeGe opened this issue 3 years ago • 2 comments

how to get urls for setting the config.yml?

I have some problems: ERRO[2021-10-14T23:30:37+08:00] httpClient.Get = Get "http://127.0.0.1:44444/metrics": net/http: HTTP/1.x transport connection broken: malformed HTTP response "OK" WARN[2021-10-14T23:30:37+08:00] >>>.receive metrics channel is nil, url: http://127.0.0.1:44444/metrics

In the config.yaml, urls: ["http://127.0.0.1:44444/metrics"] , is not correct, maybe.

XiaoDouGeGe avatar Oct 14 '21 15:10 XiaoDouGeGe

how to get urls for setting the config.yml?

I have some problems: ERRO[2021-10-14T23:30:37+08:00] httpClient.Get = Get "http://127.0.0.1:44444/metrics": net/http: HTTP/1.x transport connection broken: malformed HTTP response "OK" WARN[2021-10-14T23:30:37+08:00] >>>.receive metrics channel is nil, url: http://127.0.0.1:44444/metrics

In the config.yaml, urls: ["http://127.0.0.1:44444/metrics"] , is not correct, maybe.

This url is flume port,app listen.address default port 9360

woozhijun avatar Oct 15 '21 03:10 woozhijun

@woozhijun 哈喽,我看 flume 默认好像是没有监听端口?是必须要监听一个端口吗?

KeithTt avatar Apr 01 '22 10:04 KeithTt