diff --git a/src/docs/sdk/event-payloads/contexts.mdx b/src/docs/sdk/event-payloads/contexts.mdx index ad067d7290..3d6e84840b 100644 --- a/src/docs/sdk/event-payloads/contexts.mdx +++ b/src/docs/sdk/event-payloads/contexts.mdx @@ -810,3 +810,34 @@ This is mostly set on transactions in a web server environment where one transac } } ``` + +## Missing Instrumentation Context + +Context contains information about missing or failed OTEL instrumentation. + +The required field is `package` which should contain the package or framework where a missing instrumentation was detected. + +`package` + +: **Required.** The package or framework where a missing instrumentation was detected. + +- Example: `express` + +`javascript.is_cjs` + +: _Optional_. Boolean that indicates if the context was added from a commonjs module. + +- Example: `true` + +### Example Response Context + +```json +{ + "contexts": { + "missing_instrumentation": { + "package": "express", + "javascript.is_cjs": true, + } + } +} +```