Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/core/lib/segments/attributes/subsegment.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as http from 'http';
import { Segment, SegmentLike } from '../../aws-xray';
import IncomingRequestData from '../../middleware/incoming_request_data';

declare class Subsegment {
id: string;
Expand All @@ -12,6 +13,8 @@ declare class Subsegment {
namespace?: string;
notTraced: boolean;

http?: IncomingRequestData;

constructor(name: string);

addNewSubsegment(name: string): Subsegment;
Expand Down
1 change: 1 addition & 0 deletions packages/core/lib/segments/segment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ declare class Segment {
notTraced?: boolean;

additionalTraceData?: object
http?: IncomingRequestData;

constructor(name: string, rootId?: string | null, parentId?: string | null);

Expand Down