View Source Telepoison.URI (telepoison v1.3.0)

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

Link to this section Summary

Functions

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

Link to this section 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.