Support for Datadog tracing in CartService and RedisDB.

Updated the README documentation
This commit is contained in:
Rahul Jagad 2020-09-01 19:50:21 -07:00
parent 8c6da2c0d5
commit 550c2b86b2
6 changed files with 67 additions and 2 deletions

View file

@ -36,8 +36,32 @@ spec:
value: "redis-cart:6379"
- name: PORT
value: "7070"
- name: DD_AGENT_HOST
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: DD_ENV
value: "prod"
- name: DD_LOGS_INJECTION
value: "true"
- name: DD_TRACE_ENABLED
value: "true"
- name: DD_SERVICE
value: "cartservice"
- name: DD_VERSION
value: "latest"
- name: LISTEN_ADDR
value: "0.0.0.0"
- name: CORECLR_ENABLE_PROFILING
value: "1"
- name: CORECLR_PROFILER
value: "{846F5F1C-F9AE-4B07-969E-05C26BC060D8}"
- name: CORECLR_PROFILER_PATH
value: /opt/datadog/Datadog.Trace.ClrProfiler.Native.so
- name: DD_INTEGRATIONS
value: /opt/datadog/integrations.json
- name: DD_DOTNET_TRACER_HOME
value: /opt/datadog
resources:
requests:
cpu: 200m

View file

@ -39,6 +39,10 @@ spec:
value: prod
- name: DD_SERVICE
value: redis-cart
- name: DD_VERSION
value: latest
- name: DD_LOGS_INJECTION
value: "true"
ports:
- containerPort: 6379
readinessProbe: