Skip to content

Commit f3d196b

Browse files
mydeaLms24
andauthored
Apply suggestions from code review
Co-authored-by: Lukas Stracke <[email protected]>
1 parent be86d82 commit f3d196b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/tracing/dynamicSamplingContext.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import { getClient } from '../currentScopes';
66
import { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '../semanticAttributes';
77
import { getRootSpan, spanIsSampled, spanToJSON } from '../utils/spanUtils';
88

9+
/**
10+
* If you change this value, also update the terser plugin config to
11+
* avoid minification of the object property!
12+
*/
913
const FROZEN_DSC_FIELD = '_frozenDsc';
1014

1115
type SpanWithMaybeDsc = Span & {

0 commit comments

Comments
 (0)