OpenCensus can trace HTTP requests made with the requests package. The request URL, method, and status will be collected.
You can enable requests integration by specifying 'requests' to trace_integrations.
It's possible to configure a list of URL you don't want traced. By default the request to exporter
won't be traced. It's configurable by giving an array of hostname/port to the attribute
blacklist_hostnames in OpenCensus context's attributes:
Only the hostname must be specified if only the hostname is specified in the URL request.
pip install opencensus-ext-requests
execution_context.set_opencensus_attr('blacklist_hostnames',['hostname:port'])