The path label in the Bridge metrics seems to contain very different values. That breaks dashbords and makes it hard to work with the metrics. For example, for the poll metrics, you can get the metrics like this:
$ curl -s localhost:8080/metrics | grep strimzi_bridge_http_server_requests_total | grep GET | grep consumers strimzi_bridge_http_server_requests_total{code="200",method="GET",path="/consumers/my-group5/instances/my-consumer5/records?timeout=100",} 432.0 strimzi_bridge_http_server_requests_total{code="200",method="GET",path="http://my-bridge-bridge-service:8080/consumers/my-group4/instances/my-consumer4/records?timeout=100",} 1035.0
As you can notice:
- The first metric contains the path parameters (?timeout=100)
- The second metric containers the full address (http://my-bridge-bridge-service:8080) as well as the path parameters (?timeout=100)
Both of these breaks the Strimzi Bridge Grafana Dashabord that expects the path to be always only /consumers/<NAME>/instances/<NAME>/records. So the dashboard does not show this metric. I noticed it at the Poll chart but this likely impacts also other metrics / charts.
Created by Bridge#921