Skip to content

apm-agent attempts to unpack localhost URLs with service/region via botocore #176

Description

@lewisren

When running locally (localhost:13579), it for some reason attempts to utilize botocore and try to unpack the URL into
service, region, _ = parsed_url.hostname.split('.', 2)

Naturally this fails since the hostname is localhost. I'm not sure why it's using botocore here, or if it should just be defensive against accepting localhost as a valid param

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions