Skip to content
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

Distributed tracing: strip query parameters from the operation name #240

Merged
merged 3 commits into from
Jul 28, 2020
Merged

Distributed tracing: strip query parameters from the operation name #240

merged 3 commits into from
Jul 28, 2020

Conversation

teivah
Copy link

@teivah teivah commented Jul 27, 2020

Which problem is this PR solving?

Closes #239.

Short description of the changes

Strip the query string when creating a new span

@codecov
Copy link

codecov bot commented Jul 27, 2020

Codecov Report

Merging #240 into master will decrease coverage by 0.11%.
The diff coverage is 58.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #240      +/-   ##
==========================================
- Coverage   73.27%   73.16%   -0.12%     
==========================================
  Files          61       61              
  Lines        3656     3667      +11     
==========================================
+ Hits         2679     2683       +4     
- Misses        902      907       +5     
- Partials       75       77       +2     
Impacted Files Coverage Δ
component/http/middleware.go 88.14% <58.33%> (-2.99%) ⬇️
component/async/kafka/simple/duration_client.go 93.75% <0.00%> (-3.13%) ⬇️

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 c02983b...206bf14. Read the comment docs.

mantzas
mantzas previously approved these changes Jul 27, 2020
tpaschalis
tpaschalis previously approved these changes Jul 28, 2020
Copy link

@tpaschalis tpaschalis left a comment

Choose a reason for hiding this comment

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

LGTM!

# Conflicts:
#	component/http/middleware.go
#	component/http/middleware_test.go
@teivah teivah dismissed stale reviews from tpaschalis and mantzas via fb3ddd8 July 28, 2020 13:53
@teivah
Copy link
Author

teivah commented Jul 28, 2020

Closes #239

@mantzas mantzas merged commit decbbf7 into beatlabs:master Jul 28, 2020
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.

Distributed tracing: strip query parameters from the operation name
3 participants