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
* Infer spans from API Gateway events
* Adding some prints. remove later
* Change some info on the API Gateway span
* Rename something
* black
* >:(
* black
* fix time
* Support various API Gateway, HTTPAPI, and Websocket events
* black
* Add DD_INFERRED_SPANS env var to turn inferred spans on and off
* infer spans in integration tests
* specify which env var to set true in order to enable inferred spans
* try setting inferred span name to inferred span URL
* s/beta/experimental/
* Correctly create spans in separate services, assuming the extension is running and the tag is not set on the function
* Remove function_name
* Flush after closing spans
* black
* black
* update snapshots
* Make the snapshots valid json
* black
* Remove the inferredSpansFilter
* Refactor inferred-span event type detection to use the trigger event type code
* remove unused import
* lines too long >=(
* Finish refactor using _EventSource object
* lol, remove println debugging
* Update snapshots
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,17 @@ Initialize the Datadog tracer when set to `true`. Defaults to `false`.
87
87
88
88
Set to `true` to merge the X-Ray trace and the Datadog trace, when using both the X-Ray and Datadog tracing. Defaults to `false`.
89
89
90
+
### DD_INFERRED_SPANS (experimental)
91
+
92
+
Inferred Spans are spans that Datadog can create based on incoming event metadata.
93
+
Set `DD_INFERRED_SPANS` to `true` to infer spans based on Lambda events.
94
+
Inferring upstream spans is only supported if you are using the [Datadog Lambda Extension](https://docs.datadoghq.com/serverless/libraries_integrations/extension/).
95
+
Defaults to `false`.
96
+
Infers spans for:
97
+
- API Gateway REST events
98
+
- API Gateway websocket events
99
+
- HTTP API events
100
+
90
101
## Opening Issues
91
102
92
103
If you encounter a bug with this package, we want to hear about it. Before opening a new issue, search the existing issues to avoid duplicates.
0 commit comments