open-feature / python-sdk-contrib

Community contributions for hooks and reference providers in python
https://openfeature.dev
11 stars 11 forks source link

feat: implement OpenTelemetry traces hook #11

Closed federicobond closed 1 year ago

federicobond commented 1 year ago

This PR

Related Issues

Implements #7

codecov[bot] commented 1 year ago

Codecov Report

Merging #11 (4bbd718) into main (9d73fd7) will decrease coverage by 0.92%. The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   88.11%   87.20%   -0.92%     
==========================================
  Files           7        8       +1     
  Lines         101      125      +24     
==========================================
+ Hits           89      109      +20     
- Misses         12       16       +4     
Flag Coverage Δ
unittests 87.20% <83.33%> (-0.92%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
openfeature/contrib/hooks/otel.py 83.33% <83.33%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

federicobond commented 1 year ago

@beeme1mr no worries, it was only recently that I moved it from draft and added you as a reviewer.

federicobond commented 1 year ago

I just added a readme entry for the hook and updated its name following your recommendation.