File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,8 @@ export const SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = 'sentry.origin';
2424 * Use this attribute to represent measurements of a span.
2525 */
2626export const SEMANTIC_ATTRIBUTE_MEASUREMENTS = 'measurements' ;
27+
28+ /**
29+ * The id of the profile that this span occured in.
30+ */
31+ export const SEMANTIC_ATTRIBUTE_PROFILE_ID = 'profile_id' ;
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import { DEBUG_BUILD } from '../debug-build';
2020import { getMetricSummaryJsonForSpan } from '../metrics/metric-summary' ;
2121import {
2222 SEMANTIC_ATTRIBUTE_MEASUREMENTS ,
23+ SEMANTIC_ATTRIBUTE_PROFILE_ID ,
2324 SEMANTIC_ATTRIBUTE_SENTRY_OP ,
2425 SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
2526} from '../semanticAttributes' ;
@@ -632,6 +633,7 @@ export class Span implements SpanInterface {
632633 origin : this . _attributes [ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ] as SpanOrigin | undefined ,
633634 _metrics_summary : getMetricSummaryJsonForSpan ( this ) ,
634635 measurements : this . _attributes [ SEMANTIC_ATTRIBUTE_MEASUREMENTS ] as Measurements | undefined ,
636+ profile_id : this . _attributes [ SEMANTIC_ATTRIBUTE_PROFILE_ID ] as string | undefined ,
635637 } ) ;
636638 }
637639
You can’t perform that action at this time.
0 commit comments