You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/11/08 04:58:22 UTC

[GitHub] [openwhisk] neerajmangal commented on issue #4718: Recording metrics for webaction response statusCode in user-events service.

neerajmangal commented on issue #4718: Recording metrics for webaction response statusCode in user-events service. 
URL: https://github.com/apache/openwhisk/issues/4718#issuecomment-551384971
 
 
   > The status code in the response is orthogonal to the webaction http status code. It is an internal code only. Changing this is an api change as the value 0-3 are part of the activation record schema.
   
   Yup, you are right, I confused myself with activation response vs end-user response. 
   I see the status code in web actions HTTP status code which makes sense.
   
   ```
   < HTTP/1.1 401 Unauthorized
   < X-Request-ID: ZPyOucUbIuUz2eqskYfGTqJrSROxBOHP
   < Access-Control-Allow-Origin: *
   < Access-Control-Allow-Methods: OPTIONS, GET, DELETE, POST, PUT, HEAD, PATCH
   < Access-Control-Allow-Headers: Authorization, Origin, X-Requested-With, Content-Type, Accept, User-Agent
   < x-openwhisk-activation-id: 85daf1091d3940e49af1091d3950e47d
   < Server: akka-http/10.1.8
   < Date: Fri, 08 Nov 2019 04:21:37 GMT
   < Content-Type: text/html; charset=UTF-8
   < Content-Length: 39
   ``` 

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


With regards,
Apache Git Services