cli icon indicating copy to clipboard operation
cli copied to clipboard

Generate request id for each provider request.

Open JadeRedworth opened this issue 7 years ago • 4 comments

Set the request-id on the context to be used for each provider request.

JadeRedworth avatar Aug 17 '18 13:08 JadeRedworth

Is this not already happening in the fn_go layer due to this:

https://github.com/fnproject/fn_go/commit/11f1fff5ffb3c29454a023bc385817435e50b8e2

tcoupland avatar Aug 17 '18 15:08 tcoupland

@mantree It is, but now we've added the request ID to the context from the CLI for all requests which allows the user to see the request-id.

JadeRedworth avatar Aug 17 '18 15:08 JadeRedworth

@msgodf this is the end client ID so can be an opaque string I think this is the normal way of generating

@mantree as jade says request ID should pass to API from context, sorry didn’t think when I reviewed originally

zootalures avatar Aug 17 '18 15:08 zootalures

Ah ok, I was only thinking to make it visible when DEBUG=1.

tcoupland avatar Aug 17 '18 15:08 tcoupland