csantanapr closed pull request #3222: Correct the names of two annotations.
URL: https://github.com/apache/incubator-openwhisk/pull/3222
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/annotations.md b/docs/annotations.md
index 6b0ab8d9c4..d92bf3346c 100644
--- a/docs/annotations.md
+++ b/docs/annotations.md
@@ -65,8 +65,8 @@ Additionally for sequence related activations, the system 
will generate the foll
 
 Lastly, and in order to provide you with some performance transparency, 
activations also record:
 
-* `wait`: the time spent waiting in the internal OpenWhisk system. This is 
roughly the time spent between the controller receiving the activation request 
and when the invoker provisioned a container for the action. This value is 
currently only present for non-sequence related activations. For sequences, 
this information can be derived from the `topmost` sequence activation record.
-* `init`: the time spent initializing the function. If this value is present, 
the action required initialization and represents a cold start. A warm 
activation will skip initialization, and in this case, the annotation is not 
generated.
+* `waitTime`: the time spent waiting in the internal OpenWhisk system. This is 
roughly the time spent between the controller receiving the activation request 
and when the invoker provisioned a container for the action. This value is 
currently only present for non-sequence related activations. For sequences, 
this information can be derived from the `topmost` sequence activation record.
+* `initTime`: the time spent initializing the function. If this value is 
present, the action required initialization and represents a cold start. A warm 
activation will skip initialization, and in this case, the annotation is not 
generated.
 
 An example of these annotations as they would appear in an activation record 
is shown below.
 
@@ -77,7 +77,7 @@ An example of these annotations as they would appear in an 
activation record is
     "value": "guest/echo"
   },
   {
-    "key": "wait",
+    "key": "waitTime",
     "value": 66
   },
   {
@@ -85,7 +85,7 @@ An example of these annotations as they would appear in an 
activation record is
     "value": "nodejs:6"
   },
   {
-    "key": "init",
+    "key": "initTime",
     "value": 50
   },
   {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to