prometheus / jmx_exporter

A process for exposing JMX Beans via HTTP for Prometheus consumption
Apache License 2.0
3.06k stars 1.2k forks source link

Updated weblogic jmx config to fetch domain names as a metric #946

Closed Nirzak closed 7 months ago

Nirzak commented 7 months ago

Added example config to fetch domain names dynamically in metrics from JMX mbean.

The example metric will be like as below:

weblogic_id{domain="testdomain",} 0.0

The mbean used to fetch it, is the following one:

com.bea:Name=domainName, Type=Domain

Nirzak commented 7 months ago

It will solve the issue #727

dhoard commented 7 months ago

@Nirzak Thanks for the PR!

Nirzak commented 7 months ago

@Nirzak Thanks for the PR!

Anytime 😀