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.

Wavefront URL path is stripped with 0.12.0 sdk version #133

@pavanrangain

Description

@pavanrangain

We updated telegraf to version 1.26.2 containing update of Wavefront sdk from 0.11.0 to 0.12.0 and telegraf calls to wavefront proxy are now failing with 404.
We use a Client side load balancer to proxy calls to wavefront proxy instances. Hence our Wavefront URL given to teegraf outputs is as below
http://localhost:29999/wavefront-proxy

With 0.12.0 the path in the URL gets stripped and the proxy calls fail with 404

with 0.11.0 the report URL used to be as below
http://localhost:29999/wavefront-proxy/report?f=wavefront

with 0.12.0 the report URL is as below
http://localhost:29999/report?f=wavefront
(the path parameter gets stripped)

the change in #122 seem to have caused the issue
esp these lines https://github.com/wavefrontHQ/wavefront-sdk-go/blob/master/senders/client_factory.go#L145-L146 where host and port are considered but the path in base URL gets stripped off

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