File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -228,17 +228,6 @@ correlation_id_without_request_obj = json_logging.get_correlation_id()
228228In request context, if one is not present, a new one might be generated depends on CREATE_CORRELATION_ID_IF_NOT_EXISTS
229229setting value.
230230
231- ## 2.3 Get current correlation-id
232-
233- Current request correlation-id can be retrieved and pass to downstream services call as follow:
234-
235- ``` python
236- # this will be faster
237- correlation_id = json_logging.get_correlation_id(request = request)
238- # this will be slower, but will work in context where you couldn't get a reference of request object
239- correlation_id_without_request_obj = json_logging.get_correlation_id()
240- # use correlation id for upstream service calls here
241- ```
242231
243232## 2.4 Log extra properties
244233
You can’t perform that action at this time.
0 commit comments