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:
Kalyana Chadalavada 2019-05-03 10:29:34 -07:00 committed by Ahmet Alp Balkan
parent f276995585
commit 86fb1662a3
10 changed files with 97 additions and 13 deletions

View file

@ -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

View file

@ -42,6 +42,8 @@ spec:
env:
- name: PRODUCT_CATALOG_SERVICE_ADDR
value: "productcatalogservice:3550"
- name: ENABLE_PROFILER
value: "0"
resources:
requests:
cpu: 100m