Skip to content

Commit

Permalink
(HP-1598): enable datadog in cedar-wrapper deployment (#2608)
Browse files Browse the repository at this point in the history
* (HP-1598): enable datadog in deployment

* (HP-1598): set GEN3_DEBUG=True

* (HP-1598): set GEN3_DEBUG=False
  • Loading branch information
george42-ctds authored Aug 7, 2024
1 parent b5ce29c commit 099d50f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions kube/services/cedar-wrapper/cedar-wrapper-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,36 @@ spec:
secretKeyRef:
name: cedar-g3auto
key: "cedar_api_key.txt"
- name: GEN3_DEBUG
GEN3_DEBUG_FLAG|-value: "False"-|
- name: DD_ENABLED
valueFrom:
configMapKeyRef:
name: manifest-global
key: dd_enabled
optional: true
- name: DD_ENV
valueFrom:
fieldRef:
fieldPath: metadata.labels['tags.datadoghq.com/env']
- name: DD_SERVICE
valueFrom:
fieldRef:
fieldPath: metadata.labels['tags.datadoghq.com/service']
- name: DD_VERSION
valueFrom:
fieldRef:
fieldPath: metadata.labels['tags.datadoghq.com/version']
- name: DD_LOGS_INJECTION
value: "true"
- name: DD_PROFILING_ENABLED
value: "true"
- name: DD_TRACE_SAMPLE_RATE
value: "1"
- name: DD_AGENT_HOST
valueFrom:
fieldRef:
fieldPath: status.hostIP
volumeMounts:
- name: "ca-volume"
readOnly: true
Expand Down

0 comments on commit 099d50f

Please sign in to comment.