Closed purple4reina closed 3 months ago
Attention: Patch coverage is 81.67939%
with 24 lines
in your changes are missing coverage. Please review.
Project coverage is 81.86%. Comparing base (
5d49414
) to head (93be85b
). Report is 12 commits behind head on main.:exclamation: Current head 93be85b differs from pull request most recent head 5c1c24d. Consider uploading reports for the commit 5c1c24d to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this PR do?
Set the resource name to the parameterized route key when using api gateway v2.
Motivation
A metric is created from each span made by the tracers. The metric name comes from the operation name. The resource name gets added as a tag. Therefore unbound values for resource name can cause a large increase in the number of metrics on an account.
Testing Guidelines
To test this, I created two apps and pulled the event payloads for each to use in the unit tests.
Additional Notes
This feature already worked for api gatewawy v1.
Types of Changes
Check all that apply