fix: `http.url` tag to include protocol by duncanista · Pull Request #656 · DataDog/datadog-lambda-js

What does this PR do?

Adds protocol to http.url tag in inferred spans and trigger tags

Motivation

#654

Testing Guidelines

Unit tests and integration tests

Additional Notes

The Next Gen Lambda Extension uses a crate to obfuscate span tags, this doesnt play nicely when http.url doesn't have a protocol, causing it to be set as ?, this will be modified there, but this is something also needed to be updated here.

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)