
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
opencensus-ext-httplib
Advanced tools
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opencensus-ext-httplib.svg :target: https://pypi.org/project/opencensus-ext-httplib/
OpenCensus can trace HTTP requests made with the httplib library.
You can enable requests integration by specifying 'httplib'
to trace_integrations
.
It's possible to configure a list of URL you don't want traced. See requests integration for more information. The only difference is that you need to specify hostname and port every time.
::
pip install opencensus-ext-httplib
.. code:: python
import requests
from opencensus.trace import config_integration
from opencensus.trace.tracer import Tracer
config_integration.trace_integrations(['httplib'])
tracer = Tracer()
with tracer.span(name='parent'):
response = requests.get('https://www.wikipedia.org/wiki/Rabbit')
OpenCensus Project <https://opencensus.io/>
_FAQs
OpenCensus httplib Integration
We found that opencensus-ext-httplib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.