You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: packages/instrumentation-aws-sdk/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,8 @@ aws-sdk instrumentation has few options available to choose from. You can set th
43
43
|`preRequestHook`|`AwsSdkRequestCustomAttributeFunction`| Hook called before request send, which allow to add custom attributes to span. |
44
44
|`responseHook`|`AwsSdkResponseCustomAttributeFunction`| Hook for adding custom attributes when response is received from aws. |
45
45
|`sqsProcessHook`|`AwsSdkSqsProcessCustomAttributeFunction`| Hook called after starting sqs `process` span (for each sqs received message), which allow to add custom attributes to it. |
46
-
|`suppressInternalInstrumentation`| boolean | Most aws operation use http request under the hood. If http instrumentation is enabled, each aws operation will also create an http/s child describing the communication with amazon servers. Setting the suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations, effectively causing those http spans to be non-recordable. |
46
+
|`suppressInternalInstrumentation`|`boolean`| Most aws operation use http requests under the hood. Set this to `true` to hide all underlying http spans. |
47
+
|`moduleVersionAttributeName`|`string`| If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |
|`producerHook`|`KafkaProducerCustomAttributeFunction`| Hook called before producer message is sent, which allow to add custom attributes to span. |
45
45
|`consumerHook`|`KafkaConsumerCustomAttributeFunction`| Hook called before consumer message is processed, which allow to add custom attributes to span. |
46
+
|`moduleVersionAttributeName`|`string`| If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |
Copy file name to clipboardExpand all lines: packages/instrumentation-mongoose/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ Mongoose instrumentation has few options available to choose from. You can set t
37
37
|`suppressInternalInstrumentation`|`boolean`| Mongoose operation use mongodb under the hood. Setting this to true will hide the underlying mongodb spans (if instrumented). |
38
38
|`responseHook`|`MongooseResponseCustomAttributesFunction`| Hook called before response is returned, which allows to add custom attributes to span. |
39
39
| `dbStatementSerializer` | `DbStatementSerializer` | Mongoose instrumentation will serialize `db.statement` using the specified function.
40
+
|`moduleVersionAttributeName`|`string`| If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |
0 commit comments