I use the JMX exporter to export JMX metrics in the Prometheus format and I managed to make it work for most the JMX metrics. But some JMX metrics are different and therefore I probably need to adapt the JMX exporter config accordingly.
I couldn't manage to export the JMX metrics as shown in JConsole (see screenshot). Among many other configurations I tried this:
```
- pattern: kafka.server<type=socket-server-metrics, listener=(.+), networkProcessor=(.+), name=(connection-count|connection-creation-rate)><>Value
name: "kafka_server_socket_server_metrics"
labels:
listener: $1
network_processor: $2
type: $3
```
This ended up with no metrics for this metric name. How is the exporter config supposed to look like for these MBeans?
Best,
Martin.