Skip to content

Commit 11fa41a

Browse files
committed
Reduce telemetry log messages per minute to 10
This is plenty for most organizations and services, while it keeps misbehaving services under control.
1 parent 0e0a715 commit 11fa41a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal-api/src/main/java/datadog/trace/api/telemetry/LogCollector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
public class LogCollector {
1616
public static final Marker SEND_TELEMETRY = MarkerFactory.getMarker("SEND_TELEMETRY");
1717
public static final Marker EXCLUDE_TELEMETRY = MarkerFactory.getMarker("EXCLUDE_TELEMETRY");
18-
private static final int DEFAULT_MAX_CAPACITY = 1024;
18+
private static final int DEFAULT_MAX_CAPACITY = 10;
1919
private static final LogCollector INSTANCE = new LogCollector();
2020
private final Map<RawLogMessage, AtomicInteger> rawLogMessages;
2121
private final int maxCapacity;

0 commit comments

Comments
 (0)