I believe that JBoss uses an XML file to define Java / JVM options. You 
will have to consult JBoss documentation to understand how to add Java 
command line arguments.

I would start with httpserver_sample_config.yml as a starting point to 
understand what metrics are available/what you want to capture. Based on 
this output, you can write your specific rules.
On Wednesday, January 3, 2024 at 3:43:52 PM UTC-5 Dương Hưng wrote:

> Hi Everyone,
>
> As the instuction in github web page to run as a Java agent, download one 
> of the JARs and run:
> java -javaagent:./jmx_prometheus_javaagent-0.19.0.jar=12345:*config.yaml* 
> -jar *yourJar.jar*
>
> I want to know in JBoss which jar file I need to add in that command line. 
> And how to write config.yaml file.
>
> Thank you all
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/c7492f18-dce7-40cc-b1d5-d001cee5b375n%40googlegroups.com.

Reply via email to