File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ Installation & basic usage
2626 pip install opencensus-trace
2727 pipenv install opencensus-trace
2828
29+ # install the Stackdriver exporter by including the extras package
30+ pip install opencensus-trace[stackdriver]
31+ pipenv install opencensus-trace[stackdriver]
32+
29332. Initialize a tracer for application:
3034
3135 .. code :: python
Original file line number Diff line number Diff line change 1717import io
1818from setuptools import setup , find_packages
1919
20+ extras = {
21+ "stackdriver" : ['google-cloud-trace>=0.17.0, <0.18dev' ]
22+ }
23+
2024install_requires = [
21- 'google-cloud-trace>=0.17.0 , <0.18dev ' ,
25+ 'google-api-core >= 0.1.1 , < 0.2.0dev ' ,
2226]
2327
2428setup (
4347 include_package_data = True ,
4448 long_description = open ('README.rst' ).read (),
4549 install_requires = install_requires ,
50+ extras_require = extras ,
4651 license = 'Apache-2.0' ,
4752 packages = find_packages (),
4853 namespace_packages = [],
You can’t perform that action at this time.
0 commit comments