Module tracing_mw

Source
Expand description

Full Tracing and metrics middleware.

Structsยง

ResponseData ๐Ÿ”’
Data we collected about the response
Tracing ๐Ÿ”’
Middleware for tracing.
TracingEndpoint ๐Ÿ”’
Endpoint for Tracing middleware.

Functionsยง

add_interesting_headers_to_span ๐Ÿ”’
Add all interesting headers to the correct fields in a span. This logic is the same for both requests and responses.
anonymize_ip_address ๐Ÿ”’
Given a Clients IP Address, return the anonymized version of it.
anonymous_client_id ๐Ÿ”’
Get an anonymized client ID from the request.
mk_request_span ๐Ÿ”’
Make a span from the request