nlighten / wildfly_exporter Goto Github PK
View Code? Open in Web Editor NEWA prometheus exporter for Jboss Wildfly
License: Apache License 2.0
A prometheus exporter for Jboss Wildfly
License: Apache License 2.0
Just tried running v0.0.2 of the module under Wildfly 8.2.1 / JDK 8 and this Exception pops up when trying to access /metrics.
2018-02-16 17:10:19,238 ERROR [stderr] (default task-8) javax.management.AttributeNotFoundException: JBAS011330: Could not find any attribute matching: XACommitCount
2018-02-16 17:10:19,241 ERROR [stderr] (default task-8) at org.jboss.as.jmx.model.ModelControllerMBeanHelper.findAttributeName(ModelControllerMBeanHelper.java:501)
2018-02-16 17:10:19,242 ERROR [stderr] (default task-8) at org.jboss.as.jmx.model.ModelControllerMBeanHelper.getAttribute(ModelControllerMBeanHelper.java:239)
2018-02-16 17:10:19,242 ERROR [stderr] (default task-8) at org.jboss.as.jmx.model.ModelControllerMBeanHelper.getAttribute(ModelControllerMBeanHelper.java:211)
2018-02-16 17:10:19,242 ERROR [stderr] (default task-8) at org.jboss.as.jmx.model.ModelControllerMBeanServerPlugin.getAttribute(ModelControllerMBeanServerPlugin.java:126)
2018-02-16 17:10:19,242 ERROR [stderr] (default task-8) at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:393)
2018-02-16 17:10:19,243 ERROR [stderr] (default task-8) at nl.nlighten.prometheus.wildfly.JbossJdbcPoolExports.collect(JbossJdbcPoolExports.java:109)
2018-02-16 17:10:19,243 ERROR [stderr] (default task-8) at io.prometheus.client.CollectorRegistry$MetricFamilySamplesEnumeration.findNextElement(CollectorRegistry.java:180)
2018-02-16 17:10:19,243 ERROR [stderr] (default task-8) at io.prometheus.client.CollectorRegistry$MetricFamilySamplesEnumeration.nextElement(CollectorRegistry.java:213)
2018-02-16 17:10:19,243 ERROR [stderr] (default task-8) at io.prometheus.client.CollectorRegistry$MetricFamilySamplesEnumeration.nextElement(CollectorRegistry.java:134)
2018-02-16 17:10:19,244 ERROR [stderr] (default task-8) at io.prometheus.client.exporter.common.TextFormat.write004(TextFormat.java:22)
2018-02-16 17:10:19,244 ERROR [stderr] (default task-8) at io.prometheus.client.exporter.MetricsServlet.doGet(MetricsServlet.java:43)
2018-02-16 17:10:19,244 ERROR [stderr] (default task-8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
2018-02-16 17:10:19,244 ERROR [stderr] (default task-8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
2018-02-16 17:10:19,245 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
2018-02-16 17:10:19,245 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2018-02-16 17:10:19,245 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2018-02-16 17:10:19,245 ERROR [stderr] (default task-8) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
2018-02-16 17:10:19,245 ERROR [stderr] (default task-8) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2018-02-16 17:10:19,246 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
2018-02-16 17:10:19,246 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2018-02-16 17:10:19,246 ERROR [stderr] (default task-8) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2018-02-16 17:10:19,246 ERROR [stderr] (default task-8) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2018-02-16 17:10:19,247 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2018-02-16 17:10:19,247 ERROR [stderr] (default task-8) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
2018-02-16 17:10:19,247 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
2018-02-16 17:10:19,247 ERROR [stderr] (default task-8) at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
2018-02-16 17:10:19,248 ERROR [stderr] (default task-8) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2018-02-16 17:10:19,248 ERROR [stderr] (default task-8) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
2018-02-16 17:10:19,248 ERROR [stderr] (default task-8) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2018-02-16 17:10:19,248 ERROR [stderr] (default task-8) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2018-02-16 17:10:19,249 ERROR [stderr] (default task-8) at io.undertow.server.handlers.MetricsHandler.handleRequest(MetricsHandler.java:62)
2018-02-16 17:10:19,249 ERROR [stderr] (default task-8) at io.undertow.servlet.core.MetricsChainHandler.handleRequest(MetricsChainHandler.java:59)
2018-02-16 17:10:19,249 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
2018-02-16 17:10:19,249 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
2018-02-16 17:10:19,250 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
2018-02-16 17:10:19,250 ERROR [stderr] (default task-8) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)
2018-02-16 17:10:19,250 ERROR [stderr] (default task-8) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
2018-02-16 17:10:19,250 ERROR [stderr] (default task-8) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761)
2018-02-16 17:10:19,251 ERROR [stderr] (default task-8) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-02-16 17:10:19,251 ERROR [stderr] (default task-8) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-02-16 17:10:19,251 ERROR [stderr] (default task-8) at java.lang.Thread.run(Thread.java:748)
2018-02-16 17:10:19,274 ERROR [io.undertow.request] (default task-8) UT005023: Exception handling request to /metrics/: java.lang.NullPointerException
at io.prometheus.client.exporter.common.TextFormat.writeEscapedLabelValue(TextFormat.java:71) [simpleclient_common-0.0.26.jar:]
at io.prometheus.client.exporter.common.TextFormat.write004(TextFormat.java:42) [simpleclient_common-0.0.26.jar:]
at io.prometheus.client.exporter.MetricsServlet.doGet(MetricsServlet.java:43) [simpleclient_servlet-0.0.26.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.MetricsHandler.handleRequest(MetricsHandler.java:62) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.core.MetricsChainHandler.handleRequest(MetricsChainHandler.java:59) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_162]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_162]
Any ideas?
Metrics get broken, causing an invalid list as output.
# HELP jvm_gc_collection_seconds Time spent in a given JVM garbage collector in seconds.
# TYPE jvm_gc_collection_seconds summary
jvm_gc_collection_seconds_count{gc="PS Scavenge",} 6.0
jvm_gc_collection_seconds_sum{gc="PS Scavenge",} 0.114
jvm_gc_collection_seconds_count{gc="PS MarkSweep",} 3.0
jvm_gc_collection_seconds_sum{gc="PS MarkSweep",} 0.222
# HELP jvm_info JVM version info
# TYPE jvm_info gauge
jvm_info{version="1.8.0_162-b12",vendor="Oracle Corporation",} 1.0
# HELP jvm_classes_loaded The number of classes that are currently loaded in the JVM
# TYPE jvm_classes_loaded gauge
jvm_classes_loaded 10887.0
# HELP jvm_classes_loaded_total The total number of classes that have been loaded since the JVM has started execution
# TYPE jvm_classes_loaded_total counter
jvm_classes_loaded_total 10887.0
# HELP jvm_classes_unloaded_total The total number of classes that have been unloaded since the JVM has started execution
# TYPE jvm_classes_unloaded_total counter
jvm_classes_unloaded_total 0.0
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 14.41
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.518808175132E9
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 537.0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1048576.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 7.974301696E9
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 4.56810496E8
# HELP jvm_threads_current Current thread count of a JVM
# TYPE jvm_threads_current gauge
jvm_threads_current 112.0
# HELP jvm_threads_daemon Daemon thread count of a JVM
# TYPE jvm_threads_daemon gauge
jvm_threads_daemon 24.0
# HELP jvm_threads_peak Peak thread count of a JVM
# TYPE jvm_threads_peak gauge
jvm_threads_peak 160.0
# HELP jvm_threads_started_total Started thread count of a JVM
# TYPE jvm_threads_started_total counter
jvm_threads_started_total 177.0
# HELP jvm_threads_deadlocked Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or ownable synchronizers
# TYPE jvm_threads_deadlocked gauge
jvm_threads_deadlocked 0.0
# HELP jvm_threads_deadlocked_monitor Cycles of JVM-threads that are in deadlock waiting to acquire object monitors
# TYPE jvm_threads_deadlocked_monitor gauge
jvm_threads_deadlocked_monitor 0.0
# HELP wildfly_info Wildfly version info
# TYPE wildfly_info gauge
wildfly_info{name="
Hi, I've noticed this error in our server log at least once now. From looking at ServletMetricsFilter.java, it seems like it could be a multithreading issue. If two servlet filters are initialized at the same time, they could both see a null value for the static servletLatency variable and both try to register it.
java.lang.IllegalArgumentException: Collector already registered that provides name: servlet_request_seconds_count
at io.prometheus.client.CollectorRegistry.register(CollectorRegistry.java:54)
at io.prometheus.client.SimpleCollector$Builder.register(SimpleCollector.java:246)
at io.prometheus.client.SimpleCollector$Builder.register(SimpleCollector.java:238)
at nl.nlighten.prometheus.wildfly.ServletMetricsFilter.init(ServletMetricsFilter.java:58)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:111)
at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:84)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:97)
at io.undertow.servlet.core.ManagedFilter.createFilter(ManagedFilter.java:80)
at io.undertow.servlet.core.ManagedFilter.forceInit(ManagedFilter.java:125)
at io.undertow.servlet.handlers.ServletChain.forceInit(ServletChain.java:126)
at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:63)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.MetricsHandler.handleRequest(MetricsHandler.java:64)
at io.undertow.servlet.core.MetricsChainHandler.handleRequest(MetricsChainHandler.java:59)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:197)
at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94)
at org.wildfly.extension.undertow.Host$OptionsHandler.handleRequest(Host.java:386)
at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:110)
at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:110)
at io.undertow.server.handlers.SetAttributeHandler.handleRequest(SetAttributeHandler.java:110)
at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:93)
at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:110)
at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
at io.undertow.server.handlers.SetHeaderHandler.handleRequest(SetHeaderHandler.java:90)
at io.undertow.server.handlers.SetHeaderHandler.handleRequest(SetHeaderHandler.java:90)
at org.wildfly.extension.undertow.Host$AcmeResourceHandler.handleRequest(Host.java:405)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349)
at java.lang.Thread.run(Thread.java:748)
In the section datasources of the standalone.xml can be section datasource for which exporting works perfectly fine.
But user can define there also section xa-datasource which is ignored.
Problem is probably in the class JbossJdbcPoolExports where ObjectName is defined:
"jboss.as:subsystem=datasources,data-source=,statistics=pool"
I guess they are not found, because prefix xa- is missing there:
"jboss.as:subsystem=datasources,xa-data-source=,statistics=pool"
Environment: Java 8, Wildfly 24.0.1, Ubuntu 20.04.3
Hi,
Which using metrics for response time?
In README.md there is a download link for latest wildfly exporter module. That link is not working.
https://github.com/nlighten/wildfly_exporter#add-exporter-module-jars-to-wildfly
Team,
Wildfly_exporter supports wildfly18 domain mode?We have 1 master node & multiple slave nodes.
We want to extract metrics information from all slave nodes, Wildfly_exporter will work in this scenario?
I would like to use docker-compose to deploy it. How can I do it? Thanks a lot!
Did you have, and if yes, can share sample grafana dashboard ?
Thx for this very useful exporter !
Antoine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.