We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 097e27e commit 49392baCopy full SHA for 49392ba
2 files changed
packages/core/lib/segments/attributes/subsegment.d.ts
@@ -1,5 +1,6 @@
1
import * as http from 'http';
2
import { Segment, SegmentLike } from '../../aws-xray';
3
+import IncomingRequestData from '../../middleware/incoming_request_data';
4
5
declare class Subsegment {
6
id: string;
@@ -12,6 +13,8 @@ declare class Subsegment {
12
13
namespace?: string;
14
notTraced: boolean;
15
16
+ http?: IncomingRequestData;
17
+
18
constructor(name: string);
19
20
addNewSubsegment(name: string): Subsegment;
packages/core/lib/segments/segment.d.ts
@@ -14,6 +14,7 @@ declare class Segment {
notTraced?: boolean;
additionalTraceData?: object
constructor(name: string, rootId?: string | null, parentId?: string | null);
0 commit comments