Add Stackdriver Profiler Python agent (#176)
* Add Stackdriver Profiler Python agent to EmailService and RecommendationService * Update recommendation_server.py * Moved Profiler init to a function * Moved Profiler init to a function * Delete key.json * Delete key.json * Delete key.json
This commit is contained in:
parent
f276995585
commit
86fb1662a3
10 changed files with 97 additions and 13 deletions
|
@ -39,6 +39,9 @@ spec:
|
|||
periodSeconds: 5
|
||||
exec:
|
||||
command: ["/bin/grpc_health_probe", "-addr=:8080"]
|
||||
env:
|
||||
- name: ENABLE_PROFILER
|
||||
value: "0"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
|
|
|
@ -42,6 +42,8 @@ spec:
|
|||
env:
|
||||
- name: PRODUCT_CATALOG_SERVICE_ADDR
|
||||
value: "productcatalogservice:3550"
|
||||
- name: ENABLE_PROFILER
|
||||
value: "0"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue