File tree 4 files changed +887
-1
lines changed
4 files changed +887
-1
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,9 @@ thrift:
67
67
thrift -r --gen py -out /out /data/crouton.thrift
68
68
python-modernize -w $(PWD ) /lightstep/crouton/
69
69
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
40
40
pip install modernize
41
41
```
42
42
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
+
43
59
## Getting Started with Tracing
44
60
45
61
Please 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