]
Darran Lofthouse commented on WFLY-11933:
-----------------------------------------
[~cweiler] What user is currently using the console to view the metrics?
As we don't include default users in the distribution I assume this is a user which
you have added, after the definition of this user have you assigned any roles?
Error when accessing metrics with RBAC enabled
----------------------------------------------
Key: WFLY-11933
URL:
https://issues.jboss.org/browse/WFLY-11933
Project: WildFly
Issue Type: Bug
Components: Management, MP Metrics
Affects Versions: 16.0.0.Final
Reporter: Claudio Weiler
Assignee: Jeff Mesnil
Priority: Critical
When RBAC is enabled for management in Wildfly 16, metrics throws exception:
java.lang.IllegalStateException: WFLYMETRICS0003: Unable to read attribute
XAForgetAverageTime on [
("subsystem" => "datasources"),
("data-source" => "ExampleDS"),
("statistics" => "pool")
]: "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\"),
(\"statistics\" => \"pool\")
]' not found".