Closed mvalkon closed 6 years ago
Merging #17 into master will increase coverage by
0.06%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #17 +/- ##
=======================================
+ Coverage 97.94% 98% +0.06%
=======================================
Files 7 7
Lines 243 251 +8
=======================================
+ Hits 238 246 +8
Misses 5 5
Impacted Files | Coverage Δ | |
---|---|---|
opentracing_utils/decorators.py | 100% <100%> (ø) |
:arrow_up: |
opentracing_utils/libs/_requests.py | 100% <100%> (ø) |
:arrow_up: |
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 7833f8c...9d09070. Read the comment docs.
Thanks @mvalkon !
👍
👍
Adds functionality for the
@trace
-decorator to accept a callableskip_trace
. This callable should return abool
depending on whether to skip a trace based on some parameters in either*args
or**kwargs
. For example, when using thetrace_requests=(ignore_url_pattern[..])
, a matcher function is used to validate therequest.url
against any patterns in the list.Resolves #16