16.6. 查看连接统计信息
您可以从 /deployment=NAME.rar
子树中读取定义的连接的统计信息。这样,您可以访问任何 RAR 的统计数据,即使它没有在 standalone.xml
或 domain.xml
配置中定义。
/deployment=NAME.rar/subsystem=resource-adapters/statistics=statistics/connection-definitions=java\:\/testMe:read-resource(include-runtime=true)
注意
确保指定 include-runtime=true
参数,因为所有统计数据都是运行时的信息。
有关可用 统计的信息,请参阅资源适配器统计。