File tree Expand file tree Collapse file tree 4 files changed +887
-1
lines changed
Expand file tree Collapse file tree 4 files changed +887
-1
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,9 @@ thrift:
6767 thrift -r --gen py -out /out /data/crouton.thrift
6868 python-modernize -w $(PWD ) /lightstep/crouton/
6969 rm -rf lightstep/crouton/ReportingService-remote
70+
71+ # LightStep-specific: rebuilds the LightStep protobuf files.
72+ proto :
73+ protoc --proto_path " $( PWD) /../googleapis:$( PWD) /../lightstep-tracer-common/" \
74+ --python_out=" $( PWD) /lightstep" \
75+ collector.proto
Original file line number Diff line number Diff line change @@ -40,6 +40,22 @@ Only required for LightStep developers
4040pip install modernize
4141```
4242
43+ * [ Protobuf Python Compiler] ( http://google.github.io/proto-lens/installing-protoc.html )
44+
45+ Only required for LightStep developers
46+ ``` python
47+ brew install protobuf
48+ ```
49+
50+ * Generating the proto code
51+ ``` python
52+ cd ..
53+ git clone https:// github.com/ googleapis/ googleapis.git
54+ git clone https:// github.com/ lightstep/ lightstep- tracer- common.git
55+ cd lightstep- tracer- python
56+ make proto
57+ ```
58+
4359## Getting Started with Tracing
4460
4561Please see the [ example programs] ( examples/ ) for examples of how to use this library. In particular:
You can’t perform that action at this time.
0 commit comments