Skip to content

Commit db32fa3

Browse files
committed
Merge endpoint fix from PR #319
2 parents 2301246 + 05f4ea2 commit db32fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

telemetry/exporter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ func (e *telemetryExporter) doExport(ctx context.Context, metrics []*telemetryMe
107107
// Support both plain hosts and full URLs (for testing)
108108
var endpoint string
109109
if strings.HasPrefix(e.host, "http://") || strings.HasPrefix(e.host, "https://") {
110-
endpoint = fmt.Sprintf("%s/api/2.0/telemetry-ext", e.host)
110+
endpoint = fmt.Sprintf("%s/telemetry-ext", e.host)
111111
} else {
112-
endpoint = fmt.Sprintf("https://%s/api/2.0/telemetry-ext", e.host)
112+
endpoint = fmt.Sprintf("https://%s/telemetry-ext", e.host)
113113
}
114114

115115
// Retry logic with exponential backoff

0 commit comments

Comments
 (0)