Skip to content

Commit

Permalink
Fix default string length
Browse files Browse the repository at this point in the history
Signed-off-by: grantseltzer <[email protected]>
  • Loading branch information
grantseltzer committed Dec 19, 2024
1 parent b217d7a commit 0c6b9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dynamicinstrumentation/ditypes/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ConfigBPFProbeID = "config" // ConfigBPFProbeID is the ID used for the con
var (
CaptureParameters = true // CaptureParameters is the default value for if probes should capture parameter values
ArgumentsMaxSize = 10000 // ArgumentsMaxSize is the default size in bytes of the output buffer used for param values
StringMaxSize = 64 // StringMaxSize is the default size in bytes of a single string
StringMaxSize = 512 // StringMaxSize is the length limit
MaxReferenceDepth uint8 = 4 // MaxReferenceDepth is the default depth that DI will traverse datatypes for capturing values
MaxFieldCount = 20 // MaxFieldCount is the default limit for how many fields DI will capture in a single data type
SliceMaxLength = 10 // SliceMaxLength is the default limit in number of elements of a slice
Expand Down

0 comments on commit 0c6b9ae

Please sign in to comment.