January 2018
Intermediate to advanced
336 pages
7h 56m
English
Operational metrics are useful to understand the usage and performance of the application by observing its runtime state as reported by the metrics. Pedestal provides a logging component that uses the Metrics library (http://metrics.dropwizard.io/3.2.3/) to publish the metrics to JMX (https://en.wikipedia.org/wiki/Java_Management_Extensions) by default via MetricRegistry (http://metrics.dropwizard.io/3.1.0/getting-started/#the-registry). The protocol implemented by Pedestal metrics is MetricRecorder, which can be implemented for custom metrics implementation. By default, MetricRecorder provides four types of recorders as shown in the following table:
| Metric recorder | Usage |
| Gauge | Used for the instantaneous ... |
Read now
Unlock full access