Flink】 Flink connects to prometheus port error Invalid host / port configuration. Host xxx Port -1

1. Mito

Insert picture description here

2. Background

Run flink locally, and then connect to the local prometheus port is correct, but the operation always reports an error

conf.setString("metrics.reporter.promgateway.class", "org.apache.flink.metrics.prometheus.rometheusPushGatewayReporter")
conf.setSting("metrics.reporter.promgateway.host", 

Guess you like

Origin blog.csdn.net/qq_21383435/article/details/105555420