Skip to content

Commit 29b89de

Browse files
authored
Add maxBreadcrumbs to Typescript typings
1 parent 0fbdf95 commit 29b89de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

typescript/raven.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ declare module Raven {
7070
instrument?: boolean | RavenInstrumentationOptions;
7171

7272
/** Enables/disables automatic collection of breadcrumbs. */
73-
autoBreadcrumbs?: boolean | AutoBreadcrumbOptions
73+
autoBreadcrumbs?: boolean | AutoBreadcrumbOptions;
74+
75+
/** By default, Raven captures as many as 100 breadcrumb entries. If you find this too noisy, you can reduce this number by setting maxBreadcrumbs. Note that this number cannot be set higher than the default of 100. */
76+
maxBreadcrumbs?: number;
7477
}
7578

7679
interface RavenInstrumentationOptions {

0 commit comments

Comments
 (0)