Repository: tomee Updated Branches: refs/heads/master c165b2389 -> 4b760d3b8
fixed a couple of typos. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/a27689cd Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/a27689cd Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/a27689cd Branch: refs/heads/master Commit: a27689cd8ca6a64df9831f9f6a4e9ed4096094ab Parents: f032a7f Author: CesarHernandezGt <[email protected]> Authored: Tue Nov 20 16:09:29 2018 -0600 Committer: CesarHernandezGt <[email protected]> Committed: Tue Nov 20 16:09:29 2018 -0600 ---------------------------------------------------------------------- examples/mp-metrics-counted/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/a27689cd/examples/mp-metrics-counted/README.md ---------------------------------------------------------------------- diff --git a/examples/mp-metrics-counted/README.md b/examples/mp-metrics-counted/README.md index 94a061d..eb7434f 100644 --- a/examples/mp-metrics-counted/README.md +++ b/examples/mp-metrics-counted/README.md @@ -1,15 +1,15 @@ -# Microprofile Metrics -This is an example on how to use microprofile metrics in TomEE. +# MicroProfile Metrics +This is an example on how to use MicroProfile metrics in TomEE. ##### Run the application: mvn clean install tomee:run -Within the application there is an enpoint that will give you weather status for the day and week. +Within the application there is an endpoint that will give you weather status for the day and week. ##### For the day status call: - GET http://localhost:8080/rest-mp-metrics/wather/day/status + GET http://localhost:8080/rest-mp-metrics/weather/day/status ##### Response: @@ -17,7 +17,7 @@ Within the application there is an enpoint that will give you weather status for #### Counted Feature -Microprofile metrics has a feature that can be used to count requests to a service. +MicroProfile metrics has a feature that can be used to count requests to a service. To use this feature you need to annotate the JAX-RS resource method with @Counted. @@ -46,7 +46,7 @@ Optional. Sets the name of the metric. If not explicitly given the name of the a If true, uses the given name as the absolute name of the metric. If false, prepends the package name and class name before the given name. Default value is false. **String displayName** -Optional. A human readable display name for metadata. +Optional. A human-readable display name for metadata. **String description** Optional. A description of the metric.
