We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6263c6e commit c9b2cc5Copy full SHA for c9b2cc5
dd-trace-core/src/main/java/datadog/trace/core/propagation/BaggageHttpCodec.java
@@ -89,8 +89,6 @@ public <C> void inject(
89
int currentBytes = 0;
90
int maxItems = config.getTraceBaggageMaxItems();
91
int maxBytes = config.getTraceBaggageMaxBytes();
92
- int currentCharacters = 0;
93
- int maxSafeCharacters = maxBytes / MAX_CHARACTER_SIZE;
94
for (final Map.Entry<String, String> entry : context.baggageItems()) {
95
if (processedBaggage >= maxItems) {
96
break;
0 commit comments