You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2018/11/20 16:55:26 UTC
[4/7] tomee git commit: Wording fixes
Wording fixes
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/5bc648a9
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/5bc648a9
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/5bc648a9
Branch: refs/heads/master
Commit: 5bc648a92f443e39b1031c37709c8c3e840e9fa4
Parents: 9e41727
Author: ivanjunckes <ij...@tomitribe.com>
Authored: Tue Nov 20 13:28:29 2018 -0200
Committer: ivanjunckes <ij...@tomitribe.com>
Committed: Tue Nov 20 13:28:29 2018 -0200
----------------------------------------------------------------------
examples/mp-metrics-counted/README.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/5bc648a9/examples/mp-metrics-counted/README.md
----------------------------------------------------------------------
diff --git a/examples/mp-metrics-counted/README.md b/examples/mp-metrics-counted/README.md
index 298519a..94a061d 100644
--- a/examples/mp-metrics-counted/README.md
+++ b/examples/mp-metrics-counted/README.md
@@ -16,7 +16,7 @@ Within the application there is an enpoint that will give you weather status for
Hi, today is a sunny day!
-### Counted feature
+#### Counted Feature
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.
@@ -57,6 +57,7 @@ Optional. Array of Strings in the <key>=<value> format to supply special tags to
**boolean reusable**
Denotes if a metric with a certain name can be registered in more than one place. Does not apply to gauges.
+#### Metric data
Check the counter metric doing a _GET_ request:
@@ -117,5 +118,5 @@ Check the metric metadata doing a _OPTIONS_ request:
}
}
-
+You can also try it out using the WeatherServiceTest.java available in the project.