During a load test our prometheus got high response time to collect the metrics.
Investigating into the java stack of our app, I've found that the method OpenMetricsExporter.quoteValue:565 does make use of the method "replaceAll" without a precompiled pattern.
Wouldn't it make sense to precompile the pattern, hold it in a static variable and use the matcher? Not sure, if this is still relevant for the ongoing developments...
