File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/core/lib/segments Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
import * as http from 'http' ;
2
2
import { Segment , SegmentLike } from '../../aws-xray' ;
3
+ import IncomingRequestData from '../../middleware/incoming_request_data' ;
3
4
4
5
declare class Subsegment {
5
6
id : string ;
@@ -12,6 +13,8 @@ declare class Subsegment {
12
13
namespace ?: string ;
13
14
notTraced : boolean ;
14
15
16
+ http ?: IncomingRequestData ;
17
+
15
18
constructor ( name : string ) ;
16
19
17
20
addNewSubsegment ( name : string ) : Subsegment ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ declare class Segment {
14
14
notTraced ?: boolean ;
15
15
16
16
additionalTraceData ?: object
17
+ http ?: IncomingRequestData ;
17
18
18
19
constructor ( name : string , rootId ?: string | null , parentId ?: string | null ) ;
19
20
You can’t perform that action at this time.
0 commit comments