Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal static class ContextPropagation
private const string DatadogKey = "_datadog";
private const string StartTimeKey = "x-datadog-start-time";
private const string ResourceNameKey = "x-datadog-resource-name";
private const int MaxSizeBytes = 256 * 1024; // 256 KB
private const int MaxSizeBytes = 1024 * 1024; // 1 MB

// Loops through all entries of the EventBridge event and tries to inject Datadog context into each.
public static void InjectContext<TPutEventsRequest>(Tracer tracer, TPutEventsRequest request, PropagationContext context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ContextPropagationTests
private const string StartTimeKey = "x-datadog-start-time";
private const string ResourceNameKey = "x-datadog-resource-name";
private const string EventBusName = "test-event-bus";
private const int MaxSizeBytes = 256 * 1024; // 256 KB
private const int MaxSizeBytes = 1024 * 1024; // 1 MB

private readonly SpanContext _spanContext;

Expand Down
Loading