Skip to content

Commit d3ab99e

Browse files
BridgeARjeancornic
andauthored
fix: Add mongo heartbeatEnabled param to tracer entrypoint (#5912)
Co-authored-by: Jean Cornic <jean.cornic@gmail.com>
1 parent b263285 commit d3ab99e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,6 +1820,13 @@ declare namespace tracer {
18201820
* [mongodb-core](https://github.com/mongodb-js/mongodb-core) module.
18211821
*/
18221822
interface mongodb_core extends Instrumentation {
1823+
/**
1824+
* Whether to enable mongo heartbeats spans.
1825+
*
1826+
* @default true
1827+
*/
1828+
heartbeatEnabled?: boolean;
1829+
18231830
/**
18241831
* Whether to include the query contents in the resource name.
18251832
*/

0 commit comments

Comments
 (0)