Skip to content
Merged
Changes from 1 commit
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
Next Next commit
fix(tracemetrics): Bump metric buffer to 1k
We've been noticing some discards from clients for likely buffer reason (primarily on python, though fixing it on both). Metrics were initially set to 100 to match logs but the size limit for a metric is ~1000x less (~1-2kb at the moment) so the memory pressure should be fine.
  • Loading branch information
k-fish committed Oct 26, 2025
commit c455ac290dc4e0a357dd3aa206fef44a38cb6f19
2 changes: 1 addition & 1 deletion packages/core/src/metrics/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { timestampInSeconds } from '../utils/time';
import { _getTraceInfoFromScope } from '../utils/trace-info';
import { createMetricEnvelope } from './envelope';

const MAX_METRIC_BUFFER_SIZE = 100;
const MAX_METRIC_BUFFER_SIZE = 1000;
Comment thread
chargome marked this conversation as resolved.

/**
* Converts a metric attribute to a serialized metric attribute.
Expand Down
Loading