3 ms·
NewRelic's Python library monkey-patches low-level urllib3 etc. libraries to accomplish something very similar to this, albeit without communicating a trace ID/
by btown 8y ago
NewRelic's Python library monkey-patches low-level urllib3 etc. libraries to accomplish something very similar to this, albeit without communicating a trace ID/intent to the recipient (which you'd want to do if you controlled the endpoint being called): https://github.com/edmorley/newrelic-python-agent/blob/master/newrelic/newrelic/hooks/external_urllib3.py https://github.com/edmorley/newrelic-python-agent/blob/maste... (note: linked repo is not open source)