kop icon indicating copy to clipboard operation
kop copied to clipboard

[BUG] Prometheus output is not parsable by Prometheus common libraries

Open jpenning-tibco opened this issue 3 years ago • 2 comments

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.

jpenning-tibco avatar Feb 14 '22 17:02 jpenning-tibco

Which KoP version and Pulsar version did you use?

BewareMyPower avatar Feb 15 '22 14:02 BewareMyPower

Pulsar/Kop 2.9.1

jpenning-tibco avatar Feb 18 '22 03:02 jpenning-tibco