• A utility method to normalize the URL to be HTTP compatible. Assumes we are using HTTP over gRPC and ensures the URL ends with the correct traces endpoint.

    Parameters

    • url: string

      The URL to the phoenix server. May contain a slug

    Returns string

    The normalized URL with the '/v1/traces' endpoint