Skip to content

Inferred spans for Lambda function URLs #247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 19, 2021

Conversation

astuyve
Copy link
Contributor

@astuyve astuyve commented Nov 19, 2021

What does this PR do?

Supports inferred spans for lambda function URLs

Motivation

Testing Guidelines

Additional Notes

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@astuyve astuyve requested a review from a team as a code owner November 19, 2021 19:51
@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2021

Codecov Report

Merging #247 (a93ab98) into main (d2e40f0) will decrease coverage by 0.38%.
The diff coverage is 79.74%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #247      +/-   ##
==========================================
- Coverage   83.52%   83.13%   -0.39%     
==========================================
  Files          35       36       +1     
  Lines        1335     1399      +64     
  Branches      283      295      +12     
==========================================
+ Hits         1115     1163      +48     
- Misses        196      209      +13     
- Partials       24       27       +3     
Impacted Files Coverage Δ
src/index.ts 80.34% <0.00%> (-1.40%) ⬇️
src/trace/tracer-wrapper.ts 86.48% <25.00%> (-7.46%) ⬇️
src/trace/listener.ts 85.71% <42.85%> (-8.66%) ⬇️
src/trace/span-inferrer.ts 94.11% <94.11%> (ø)
src/trace/trigger.ts 88.51% <94.73%> (+0.70%) ⬆️
src/utils/event-type-guards.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2e40f0...a93ab98. Read the comment docs.

Comment on lines +29 to +30
"span.type": "http",
"resource.name": domain + path,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Contributor

@hghotra hghotra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@astuyve
Copy link
Contributor Author

astuyve commented Nov 19, 2021 via email

Co-authored-by: Harvinder Ghotra <[email protected]>
@astuyve astuyve merged commit 5415f51 into main Nov 19, 2021
@astuyve astuyve deleted the chris.agocs/lambda_url_spans_and_triggers branch November 19, 2021 22:27
agocs pushed a commit that referenced this pull request Nov 24, 2021
astuyve pushed a commit that referenced this pull request Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants