From commits-return-44396-archive-asf-public=cust-asf.ponee.io@tomee.apache.org Wed Dec 5 13:41:42 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 53F0218062B for ; Wed, 5 Dec 2018 13:41:42 +0100 (CET) Received: (qmail 41398 invoked by uid 500); 5 Dec 2018 12:41:41 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 41381 invoked by uid 99); 5 Dec 2018 12:41:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2018 12:41:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5B83FDFAE2; Wed, 5 Dec 2018 12:41:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jlmonteiro@apache.org To: commits@tomee.apache.org Date: Wed, 05 Dec 2018 12:41:41 -0000 Message-Id: <4c1d56add4a442838f044a4a5983868f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] tomee git commit: fixed a couple of typos. 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 Authored: Tue Nov 20 16:09:29 2018 -0600 Committer: CesarHernandezGt 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.