File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change
1
+ import type { IncomingMessage } from 'http' ;
2
+
1
3
import { Baggage } from './baggage' ;
2
4
import { MeasurementUnit } from './measurement' ;
3
5
import { ExtractedNodeRequestData , Primitive , WorkerLocation } from './misc' ;
4
6
import { Span , SpanContext } from './span' ;
7
+
5
8
/**
6
9
* Interface holding Transaction-specific properties
7
10
*/
@@ -142,7 +145,11 @@ export interface TransactionMetadata {
142
145
/** The baggage object of a transaction's baggage header, used for dynamic sampling */
143
146
baggage ?: Baggage ;
144
147
148
+ /** For transactions tracing server-side request handling, the request being tracked. */
149
+ request ?: IncomingMessage ;
150
+
145
151
/** 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 */
146
153
requestPath ?: string ;
147
154
148
155
/** Information on how a transaction name was generated. */
You can’t perform that action at this time.
0 commit comments