DataDog / kong-plugin-ddtrace

Datadog APM Plugin for Kong Gateway
Apache License 2.0
15 stars 7 forks source link

fix: header tag normalization #63

Closed dmehala closed 3 months ago

dmehala commented 4 months ago

Description

An empty or nil tag when using config.header_tags was generating an error and preventing tracing. This commit correctly handle nil value for the tag field.

Resolves #59.

Changes

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.70%. Comparing base (15d7bd3) to head (4c514f8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #63 +/- ## ========================================== + Coverage 92.68% 92.70% +0.02% ========================================== Files 7 7 Lines 615 617 +2 ========================================== + Hits 570 572 +2 Misses 45 45 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.