Skip to content

Commit 2f02e40

Browse files
authored
presets(cloudflare): add missing types for cloudflare.wrangler.observability.traces (#4220)
1 parent 13e42dd commit 2f02e40

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/presets/cloudflare/wrangler/environment.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,11 @@ export interface Observability {
11351135
/** Set to false to disable invocation logs */
11361136
invocation_logs?: boolean;
11371137
};
1138+
traces?: {
1139+
enabled?: boolean;
1140+
/** The sampling rate */
1141+
head_sampling_rate?: number;
1142+
};
11381143
}
11391144

11401145
export type DockerConfiguration = {

0 commit comments

Comments
 (0)