View Source Telepoison.URI (telepoison v1.3.1-rc.0)

Exposes a function to normalise URIs in a format suitable for usage as Open Telemetry metadata.

Summary

Functions

Infers the route of the provided HTTPoison.Request, returned in a format suitable for usage as Open Telemetry metadata.

Functions

Link to this function

infer_route_from_request(request)

View Source
@spec infer_route_from_request(HTTPoison.Request.t()) :: binary()

Infers the route of the provided HTTPoison.Request, returned in a format suitable for usage as Open Telemetry metadata.