-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ivanjunckes
committed
Nov 19, 2018
1 parent
017b98e
commit be6bf8f
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Microprofile Metrics | ||
This is an example on how to use microprofile metrics in TomEE. | ||
|
||
The command to run the application the application is: | ||
|
||
mvn clean install tomee:run | ||
|
||
Make a call to the greeting endpoint: | ||
|
||
http://localhost:8080/rest-mp-metrics/greeting | ||
|
||
Check the metrics in Prometheus format: | ||
|
||
http://localhost:8080/rest-mp-metrics/metrics | ||
|
||
|
||
|
||
|