kop
kop copied to clipboard
[BUG] Prometheus output is not parsable by Prometheus common libraries
Describe the bug Pulsar/KoP 2.9.1 generates multiple identical TYPE definitions, which causes the following error:
error parsing MF: text format parsing error in line 780: second TYPE line for metric name "kop_server_REQUEST_LATENCY", or TYPE reported after samples
To Reproduce
- You need to generate some Kafka traffic.
- Build and run the following Go test program: promreader.zip
Expected behavior The attached program should iterate and print all the Pulsar key/values, including those generated by KoP.
Which KoP version and Pulsar version did you use?
Pulsar/Kop 2.9.1