DataBot Metric Reference: Difference between revisions
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
jboss:test:test123@localhost:9999/subsystem=infinispan/cache-container=clustered/distributed-cache=web/number-of-entries | jboss:test:test123@localhost:9999/subsystem=infinispan/cache-container=clustered/distributed-cache=web/number-of-entries | ||
</pre> | </pre> | ||
===Types=== | |||
JBoss CLI attributes are typed, the controller knows and sends the correct type back. <tt>os-stats</tt> uses the type to build typed Property instances. | JBoss CLI attributes are typed, the controller knows and sends the correct type back. <tt>os-stats</tt> uses the type to build typed Property instances. |
Revision as of 04:34, 4 September 2016
Internal
Metrics
Platform Metrics
JBoss CLI Metrics
os-stats can be configured to read CLI metrics from JBoss controllers. The controller is identified by its host, port and username controller components. If none of these are explicitly specified, the localhost:9999 and local authentication are assumed, which means the os-stats process has to be collocated with the JBoss controller on the same host. Support for password externalization will be implemented in the future.
Syntax:
jboss:[[username:password@]host[:port]]/path-element-1/path-element-2/attribute-name
Example:
jboss:/subsystem=infinispan/cache-container=clustered/distributed-cache=web/number-of-entries jboss:localhost/subsystem=infinispan/cache-container=clustered/distributed-cache=web/number-of-entries jboss:localhost:9999/subsystem=infinispan/cache-container=clustered/distributed-cache=web/number-of-entries jboss:test:test123@localhost:9999/subsystem=infinispan/cache-container=clustered/distributed-cache=web/number-of-entries
Types
JBoss CLI attributes are typed, the controller knows and sends the correct type back. os-stats uses the type to build typed Property instances.