Comments (3)
Agreed! In fact, we're planning to add this to the Beelines. It's a slower effort for us because we need to think about feature parity in all the language implementations.
Here' a summary of our intent:
We will be modifying each of the official beelines, as well as some of our agents to do the following:
- Automatically parse Honeycomb and W3C TraceContext headers included in incoming requests. If both header formats are present, the Honeycomb headers will be given precedence. Other header formats can be parsed with a callback function specified in the Beeline initialization (see example code).
- Outgoing HTTP requests will be instrumented according to a callback function specified in the Beeline initialization. This will allow users of beelines to make decisions about whether to instrument the outgoing request, or not (i.e. to avoid data leakage when making outbound calls to 3rd party APIs).
hey @paulosman @martin308 if @garthk contributed a PR along those lines would you be open to it, or do you already have an implementation you're rolling with?
from beeline-python.
Thanks for the mention. Yup, this is on our roadmap and we're actively working on it! I'd avoid a PR to prevent duplicate work, but this issue will be mentioned when we have something ready to look at.
from beeline-python.
Sorry for the delayed response! This has since been added - see our docs for more details as needed.
#116 generates W3C-compliant headers, #122 and #123 adds parser and propagation hooks, and #199 detects incoming W3C headers and parses automatically. 🎉
from beeline-python.
Related Issues (20)
- 'WSGIRequest' object has no attribute 'headers' HOT 1
- beeline.tracer() context manager does not handle exceptions HOT 4
- Add type annotations for mypy? HOT 4
- test
- test HOT 1
- off-by-one error in `_should_sample` HOT 1
- Enable Beeline to simultaneously accept w3c and honeycomb propagation headers HOT 1
- Drop support for Python 2.7
- Update libhoney-py dependency to latest HOT 1
- Beeline tracing decorator does preserve function signature HOT 3
- middleware and patch docs are 404'ing HOT 3
- Django query tracing only logs duration for successful queries. HOT 2
- update for e&s
- Categorize span types on send
- Duration math is done with naive datetime objects, won't handle clock changes mid-process HOT 4
- Determine (and update) minimum supported Django version
- Missing transitive dependency from libhoney (six)
- Drop support for Python 3.5, 3.6
- beeline middlware for flask has initialization problem with flask 2.3.x HOT 3
- 'Cursor' object has no attribute 'lastrowid'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beeline-python.