Skip to content

Commit 9656949

Browse files
authored
Updates jmx-metrics WildFly integration to point to integer attributes for some metrics (#232)
1 parent 721155e commit 9656949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jmx-metrics/src/main/resources/target-systems/wildfly.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
def beanWildflyDeployment = otel.mbeans("jboss.as.expr:deployment=*,subsystem=undertow")
17+
def beanWildflyDeployment = otel.mbeans("jboss.as:deployment=*,subsystem=undertow")
1818
otel.instrument(beanWildflyDeployment, "wildfly.session.count", "The number of sessions created.", "{sessions}",
1919
["deployment": { mbean -> mbean.name().getKeyProperty("deployment")}],
2020
"sessionsCreated", otel.&longCounterCallback)

0 commit comments

Comments
 (0)