Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit f75dd4f

Browse files
author
Nir Hadassi
authored
docs: update mongoose readme (#73)
1 parent 25ab763 commit f75dd4f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/instrumentation-mongoose/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ type DbStatementSerializer = (operation: string, payload: SerializerPayload) =>
5858
```
5959
Please make sure `dbStatementSerializer` is error proof, as errors are not handled while executing this function.
6060

61+
## Difference from [opentelemetry-plugin-mongoose](https://github.com/wdalmut/opentelemetry-plugin-mongoose)
62+
63+
* This lib is using the opentelemetry instrumentation api, as opposed to the old plugin api.
64+
* This lib is using the latest opentelemetry version, as opposed to 0.6.0.
65+
* Strictly follows opentelemetry database client [semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/database.md).
66+
* Has the ability to suppress internal instrumentation.
67+
* Provides statement serializer and a response hook.
68+
* Contains several bug fixes.
69+
6170
---
6271

6372
This extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️

0 commit comments

Comments
 (0)