Python stackdriver_exporter missing
Today I wanted for first time to use Opencensus in Python and export traces to Stackdriver (from Cloud Functions). Maybe is not my day today, but I can't run even the simplest code example from documentation https://opencensus.io/exporters/supported-exporters/python/stackdriver/
problem is with line from opencensus.trace.exporters import stackdriver_exporter because stackdriver_exporter is not there.
Searching further I came to this https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-stackdriver but pip install can't find that library, so I admit I am confused how it should be used.
I would be grateful for guidance / explanation.
I'm using Python 3.7.0 and following libraries in virtualenv: cachetools==3.1.0 certifi==2019.3.9 chardet==3.0.4 google-api-core==1.8.1 google-auth==1.6.3 google-cloud-core==0.29.1 google-cloud-trace==0.20.2 googleapis-common-protos==1.5.8 idna==2.8 opencensus==0.3.0 protobuf==3.7.0 pyasn1==0.4.5 pyasn1-modules==0.2.4 pytz==2018.9 requests==2.21.0 rsa==4.0 six==1.12.0 urllib3==1.24.1
Hey @zdenulo, thanks for the note. We split out the exporters in 0.3.0 but haven't pushed the new packages to PyPI. We need to cut a new release for the exporter packages. In the meantime you can either install opencensus>0.3.0 or install the stackdriver exporter separately from source.
@zdenulo As a workaround you could install from the latest master branch pip install git+https://github.com/census-instrumentation/opencensus-python.git@master#subdirectory=contrib/opencensus-ext-stackdriver.