brettwooldridge / HikariCP

光 HikariCP・A solid, high-performance, JDBC connection pool at last.
Apache License 2.0
19.63k stars 2.9k forks source link

[Question] HikariCP tag metrics #2195

Open jonathanbenedet opened 2 months ago

jonathanbenedet commented 2 months ago

Hi guys, is it possible to add custom tags to HikariCP metrics, such as hikaricp.connections.acquire.avg? I need to add tags to be able to filter better this metrics. The MeterRegistryCustomizer helped me to add some tags, but i need to drill down, adding by thread for example. I noticed that MeterFilter not work with this hikaricp metrics.