tree: 98b63d488524cfd46248624efb5ea0dbc2db7fcf [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.MD
examples/micrometer/README.MD

jersey-micrometer-webapp

This example demonstrates basics of Micrometer Jersey integration

Contents

The mapping of the URI path space is presented in the following table:

URI pathResource classHTTP methods
/micro/meterJerseyResourceGET
/micro/metricsJerseyResourceGET
/micro/metrics/metricsJerseyResourceGET

Sample Response

--- (micro/meter)
Hello World!
---- (micro/metrics)   
Listing available meters: http.shared.metrics;
---- (micro/metric/metrics)
Overall requests counts: 9, total time (millis): 35.799483

Running the Example

Run the example using Grizzly container as follows:

mvn clean compile exec:java