jmx_exporter
                                
                                
                                
                                    jmx_exporter copied to clipboard
                            
                            
                            
                        Domain name in labels (weblogic)
How can I configure the exporter to get the domain name as a label in every runtime metric?
As I can see, such information is present in JMX objects:

You should be able use a pattern along with labels per documentation.
I also want to know. have used the following pattern regex but didn't work.
 - pattern: "^com.bea<Name=(.+),Type=Domain><>(.+):"
    name: weblogic_$2
    attrNameSnakeCase: true
    labels:
      domain: $1
but it didn't work.
also another thing when we see the jmx mbean we can see the mbean is like as the following, com.bea:Name=name,Type=Domain
but in jmx config we have to mention it like as below format com.bea<Name=name,Type=Domain><Metric>
can someone tell me how can I dump or see all the means like as the above format so that we can easily create custom configs?