Skip to content

Commit cb4912b

Browse files
authored
add traceparent to raw http response debug logs (#344)
1 parent 744d9f6 commit cb4912b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/print/debug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/stackitcloud/stackit-sdk-go/core/config"
1414
)
1515

16-
var defaultHTTPHeaders = []string{"Accept", "Content-Type", "Content-Length", "User-Agent", "Date", "Referrer-Policy"}
16+
var defaultHTTPHeaders = []string{"Accept", "Content-Type", "Content-Length", "User-Agent", "Date", "Referrer-Policy", "Traceparent"}
1717

1818
// BuildDebugStrFromInputModel converts an input model to a user-friendly string representation.
1919
// This function converts the input model to a map, removes empty values, and generates a string representation of the map.

0 commit comments

Comments
 (0)