File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ import type { IncomingMessage } from 'http' ;
2+
13import { Baggage } from './baggage' ;
24import { MeasurementUnit } from './measurement' ;
35import { ExtractedNodeRequestData , Primitive , WorkerLocation } from './misc' ;
46import { Span , SpanContext } from './span' ;
7+
58/**
69 * Interface holding Transaction-specific properties
710 */
@@ -142,7 +145,11 @@ export interface TransactionMetadata {
142145 /** The baggage object of a transaction's baggage header, used for dynamic sampling */
143146 baggage ?: Baggage ;
144147
148+ /** For transactions tracing server-side request handling, the request being tracked. */
149+ request ?: IncomingMessage ;
150+
145151 /** For transactions tracing server-side request handling, the path of the request being tracked. */
152+ /** TODO: If we rm -rf `instrumentServer`, this can go, too */
146153 requestPath ?: string ;
147154
148155 /** Information on how a transaction name was generated. */
You can’t perform that action at this time.
0 commit comments