Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

senders.NewSender doesn't work for direct ingestion #84

@keep94

Description

@keep94

If you call

sender, err := senders.NewSender("https://11111111-2222-3333-4444-555555555555@surf.wavefront.com")

To get a sender that does direct ingestion to https://surf.wavefront.com, it won't work because it tries to send to port 2878 instead of to port 443.

If you call

sender, err := senders.NewSender("https://11111111-2222-3333-4444-555555555555@surf.wavefront.com:443")

This does work, but a user of the API will not think to do this.

This API should be intuitive for users. Both chunks of code ought to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions