Commit 117474f
Add lambda function url trigger and inferred span (#197)
* Merge trigger code from feature branch only
* fix dockerized tests
* UNKNOWN event types should return None string
* black
* black
* Make integration tests output valid JSON
* update integration tests
* Fix misspelling in comment
* Actually update snapshots
* fix a goof
* black
* black
* Get http status code for lambda function url invocations
* update docstring
* Set the service on a lambda function url to aws.lambda
* Update integration tests and samples
* span->service
* fix operation name for fn urls
* Remove unused import
* Add some newlines because I guess we're all running Apple ][s here
* Remove span.name from the function execution span
Co-authored-by: Harvinder Ghotra <[email protected]>
* remove blank line
Co-authored-by: Harvinder Ghotra <[email protected]>
* change upstream to parent_span part 1
Co-authored-by: Harvinder Ghotra <[email protected]>
* change upstream to parent_span part 2
Co-authored-by: Harvinder Ghotra <[email protected]>
* change upstream to parent_span part 3
Co-authored-by: Harvinder Ghotra <[email protected]>
* Update snapshots
* Update datadog_lambda/trigger.py
Co-authored-by: Harvinder Ghotra <[email protected]>
* Update datadog_lambda/trigger.py
Co-authored-by: Harvinder Ghotra <[email protected]>
* Remove extension check for inferred spans
Co-authored-by: Harvinder Ghotra <[email protected]>1 parent ce534c1 commit 117474f
File tree
15 files changed
+549
-213
lines changed- datadog_lambda
- scripts
- tests
- event_samples
- integration/snapshots/logs
15 files changed
+549
-213
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
377 | 378 | | |
378 | 379 | | |
379 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
380 | 429 | | |
381 | 430 | | |
382 | 431 | | |
383 | 432 | | |
384 | 433 | | |
385 | 434 | | |
386 | 435 | | |
| 436 | + | |
387 | 437 | | |
388 | 438 | | |
389 | 439 | | |
| |||
415 | 465 | | |
416 | 466 | | |
417 | 467 | | |
| 468 | + | |
| 469 | + | |
418 | 470 | | |
0 commit comments