Skip to content

Commit 9d78101

Browse files
Channyboyjmartisk
authored andcommitted
Clarify Spec regarding asynchronous requests for REST stats
Signed-off-by: David Chan <[email protected]>
1 parent 049c8d7 commit 9d78101

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/src/main/asciidoc/required-metrics.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,9 @@ The MicroProfile Metrics runtime will track metrics from RESTful resource method
269269
|Multi| true
270270
|Tags| {class=%s1,method=%s2}
271271
|Description| The number of invocations and total response time of this RESTful resource method since the start of the server.
272-
|Notes|The `%s1` should be substituted with the fully qualified name of the RESTful resource class.
272+
|Notes|With an asynchronous request the *timing* that is tracked by the REST metric must incorporate the time spent by the asynchronous call.
273+
274+
The `%s1` should be substituted with the fully qualified name of the RESTful resource class.
273275

274276
The `%s2` should be substituted with the name of the RESTful resource method and appended with its parameter types using an underscore `\_`. Multiple parameter types are appended one after another (e.g. `<methodName>_<paramType1>_<paramType2>`).
275277

0 commit comments

Comments
 (0)