Skip to content

Commit

Permalink
feat(origin-detection): add unified setting (#1392)
Browse files Browse the repository at this point in the history
Signed-off-by: Wassim DHIF <[email protected]>
  • Loading branch information
wdhif authored May 15, 2024
1 parent 54644e3 commit c93d2a1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Datadog changelog

## 3.64.0

* Add `datadog.originDetectionUnified.enabled` setting to enable unified origin detection for container tagging. Disabled by default

## 3.63.0

* Set kubelet core check to be enabled by default
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: datadog
version: 3.63.0
version: 3.64.0
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
3 changes: 2 additions & 1 deletion charts/datadog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog

![Version: 3.63.0](https://img.shields.io/badge/Version-3.63.0-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.64.0](https://img.shields.io/badge/Version-3.64.0-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)

[Datadog](https://www.datadoghq.com/) is a hosted infrastructure monitoring platform. This chart adds the Datadog Agent to all nodes in your cluster via a DaemonSet. It also optionally depends on the [kube-state-metrics chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics). For more information about monitoring Kubernetes with Datadog, please refer to the [Datadog documentation website](https://docs.datadoghq.com/agent/basic_agent_usage/kubernetes/).

Expand Down Expand Up @@ -757,6 +757,7 @@ helm install <RELEASE_NAME> \
| datadog.orchestratorExplorer.container_scrubbing | object | `{"enabled":true}` | Enable the scrubbing of containers in the kubernetes resource YAML for sensitive information |
| datadog.orchestratorExplorer.customResources | list | `[]` | Defines custom resources for the orchestrator explorer to collect |
| datadog.orchestratorExplorer.enabled | bool | `true` | Set this to false to disable the orchestrator explorer |
| datadog.originDetectionUnified.enabled | bool | `false` | Enabled enables unified mechanism for origin detection. Default: false. (Requires Agent 7.54.0+). |
| datadog.osReleasePath | string | `"/etc/os-release"` | Specify the path to your os-release file |
| datadog.otlp.logs.enabled | bool | `false` | Enable logs support in the OTLP ingest endpoint |
| datadog.otlp.receiver.protocols.grpc.enabled | bool | `false` | Enable the OTLP/gRPC endpoint |
Expand Down
4 changes: 4 additions & 0 deletions charts/datadog/templates/_container-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
- name: DD_DOGSTATSD_ORIGIN_DETECTION_CLIENT
value: {{ .Values.datadog.dogstatsd.originDetection | quote }}
{{- end }}
{{- if .Values.datadog.originDetectionUnified.enabled }}
- name: DD_ORIGIN_DETECTION_UNIFIED
value: {{ .Values.datadog.originDetectionUnified.enabled | quote }}
{{- end }}
{{- if .Values.datadog.dogstatsd.tagCardinality }}
- name: DD_DOGSTATSD_TAG_CARDINALITY
value: {{ .Values.datadog.dogstatsd.tagCardinality | quote }}
Expand Down
4 changes: 4 additions & 0 deletions charts/datadog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ datadog:
# env: environment
# <KUBERNETES_NAMESPACE_LABEL>: <DATADOG_TAG_KEY>

originDetectionUnified:
# datadog.originDetectionUnified.enabled -- Enabled enables unified mechanism for origin detection. Default: false. (Requires Agent 7.54.0+).
enabled: false

# datadog.tags -- List of static tags to attach to every metric, event and service check collected by this Agent.

## Learn more about tagging: https://docs.datadoghq.com/tagging/
Expand Down

0 comments on commit c93d2a1

Please sign in to comment.