running the prometheus java agent results in constant stream of errors from prometheus-http-1-3
We've enabled the built in prometheus agents on our pega containers built from docker.io/pega-ready:latest and we've notice that we get the following constant error messages every minute when enabled.
2022-07-05 10:20:23,128 prometheus-http-1-3 ERROR Invalid URL pegajdbc://1977189075:0/adm7.jar!//log4j2.xml java.net.MalformedURLException: unknown protocol: pegajdbc
The java agent was enabled with the following environment variable
CATALINA_OPTS: "-javaagent:/opt/pega/prometheus/jmx_prometheus_javaagent.jar=9090:/opt/pega/prometheus/tomcat.yml"
When enabled, prometheus metrics are able to be scaped with curl http://localhost:9090/metrics
see attachments for tomcat.yml and the output from curl http://localhost:9090/metrics and the full error message
Regards Byron