Telepoison.URI (telepoison v2.1.0)

View Source

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

infer_route_from_request(request)

@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.