Skip to content

Commit

Permalink
USM: Expose configuration options of USM (#1705)
Browse files Browse the repository at this point in the history
* Update chart vesion and changelog

* usm: Add go-tls configuration

* usm: Add istio monitoring configuration

* usm: Add noejs monitoring configuration

* usm: Add native monitoring configuration

* usm: Add http monitoring configuration

* usm: Add http2/gRPC monitoring configuration

* Update charts/datadog/values.yaml

Co-authored-by: Celene <celene@datadoghq.com>

* Fixed wording

---------

Co-authored-by: Celene <celene@datadoghq.com>
  • Loading branch information
guyarb and celenechang authored Mar 3, 2025
1 parent bd76874 commit fa73f62
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 2 deletions.
10 changes: 10 additions & 0 deletions charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Datadog changelog

## 3.101.0

* Add multiple Universal Service Monitoring configurations support.
* `datadog.serviceMonitoring.tls.go.enabled` to control Go TLS monitoring.
* `datadog.serviceMonitoring.tls.istio.enabled` to control Istio TLS monitoring.
* `datadog.serviceMonitoring.tls.nodejs.enabled` to control Node.js TLS monitoring.
* `datadog.serviceMonitoring.tls.native.enabled` to control native (openssl, libssl, gnutls) TLS monitoring.
* `datadog.serviceMonitoring.httpMonitoringEnabled` to control HTTP monitoring.
* `datadog.serviceMonitoring.http2MonitoringEnabled` to control HTTP/2 & gRPC monitoring.

## 3.100.0

* Enable `system-probe` container on GKE Autopilot (requires GKE 1.32.1-gke.1729000 or later).
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v1
name: datadog
version: 3.100.0
version: 3.101.0
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
8 changes: 7 additions & 1 deletion charts/datadog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog

![Version: 3.100.0](https://img.shields.io/badge/Version-3.100.0-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.101.0](https://img.shields.io/badge/Version-3.101.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 @@ -861,6 +861,12 @@ helm install <RELEASE_NAME> \
| datadog.securityAgent.runtime.useSecruntimeTrack | bool | `true` | Set to true to send Cloud Workload Security (CWS) events directly to the Agent events explorer |
| datadog.securityContext | object | `{"runAsUser":0}` | Allows you to overwrite the default PodSecurityContext on the Daemonset or Deployment |
| datadog.serviceMonitoring.enabled | bool | `false` | Enable Universal Service Monitoring |
| datadog.serviceMonitoring.http2MonitoringEnabled | string | `nil` | Enable HTTP2 & gRPC monitoring for Universal Service Monitoring (Requires Agent 7.53.0+ and kernel 5.2 or later). Empty values use the default setting in the datadog agent. |
| datadog.serviceMonitoring.httpMonitoringEnabled | string | `nil` | Enable HTTP monitoring for Universal Service Monitoring (Requires Agent 7.40.0+). Empty values use the default setting in the datadog agent. |
| datadog.serviceMonitoring.tls.go.enabled | bool | `nil` | Enable TLS monitoring for Golang services (Requires Agent 7.51.0+). Empty values use the default setting in the datadog agent. |
| datadog.serviceMonitoring.tls.istio.enabled | bool | `nil` | Enable TLS monitoring for Istio services (Requires Agent 7.50.0+). Empty values use the default setting in the datadog agent. |
| datadog.serviceMonitoring.tls.native.enabled | bool | `nil` | Enable TLS monitoring for native (openssl, libssl, gnutls) services (Requires Agent 7.51.0+). Empty values use the default setting in the datadog agent. |
| datadog.serviceMonitoring.tls.nodejs.enabled | bool | `nil` | Enable TLS monitoring for Node.js services (Requires Agent 7.54.0+). Empty values use the default setting in the datadog agent. |
| datadog.site | string | `nil` | The site of the Datadog intake to send Agent data to. (documentation: https://docs.datadoghq.com/getting_started/site/) |
| datadog.systemProbe.apparmor | string | `"unconfined"` | Specify a apparmor profile for system-probe |
| datadog.systemProbe.bpfDebug | bool | `false` | Enable logging for kernel debug |
Expand Down
23 changes: 23 additions & 0 deletions charts/datadog/templates/system-probe-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,29 @@ data:
conntrack_init_timeout: {{ $.Values.datadog.systemProbe.conntrackInitTimeout }}
service_monitoring_config:
enabled: {{ $.Values.datadog.serviceMonitoring.enabled }}
{{- if not (eq .Values.datadog.serviceMonitoring.httpMonitoringEnabled nil) }}
enable_http_monitoring: {{ $.Values.datadog.serviceMonitoring.httpMonitoringEnabled }}
{{- end }}
{{- if not (eq .Values.datadog.serviceMonitoring.http2MonitoringEnabled nil) }}
enable_http2_monitoring: {{ $.Values.datadog.serviceMonitoring.http2MonitoringEnabled }}
{{- end }}
tls:
{{- if not (eq .Values.datadog.serviceMonitoring.tls.go.enabled nil) }}
go:
enabled: {{ $.Values.datadog.serviceMonitoring.tls.go.enabled }}
{{- end }}
{{- if not (eq .Values.datadog.serviceMonitoring.tls.istio.enabled nil) }}
istio:
enabled: {{ $.Values.datadog.serviceMonitoring.tls.istio.enabled }}
{{- end }}
{{- if not (eq .Values.datadog.serviceMonitoring.tls.nodejs.enabled nil) }}
nodejs:
enabled: {{ $.Values.datadog.serviceMonitoring.tls.nodejs.enabled }}
{{- end }}
{{- if not (eq .Values.datadog.serviceMonitoring.tls.native.enabled nil) }}
native:
enabled: {{ $.Values.datadog.serviceMonitoring.tls.native.enabled }}
{{- end }}
{{- if not (eq .Values.datadog.discovery.enabled nil) }}
discovery:
enabled: {{ $.Values.datadog.discovery.enabled }}
Expand Down
20 changes: 20 additions & 0 deletions charts/datadog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,26 @@ datadog:
# datadog.serviceMonitoring.enabled -- Enable Universal Service Monitoring
enabled: false

# datadog.serviceMonitoring.httpMonitoringEnabled -- Enable HTTP monitoring for Universal Service Monitoring (Requires Agent 7.40.0+). Empty values use the default setting in the datadog agent.
httpMonitoringEnabled:

# datadog.serviceMonitoring.http2MonitoringEnabled -- Enable HTTP2 & gRPC monitoring for Universal Service Monitoring (Requires Agent 7.53.0+ and kernel 5.2 or later). Empty values use the default setting in the datadog agent.
http2MonitoringEnabled:

tls:
go:
# datadog.serviceMonitoring.tls.go.enabled -- (bool) Enable TLS monitoring for Golang services (Requires Agent 7.51.0+). Empty values use the default setting in the datadog agent.
enabled:
istio:
# datadog.serviceMonitoring.tls.istio.enabled -- (bool) Enable TLS monitoring for Istio services (Requires Agent 7.50.0+). Empty values use the default setting in the datadog agent.
enabled:
nodejs:
# datadog.serviceMonitoring.tls.nodejs.enabled -- (bool) Enable TLS monitoring for Node.js services (Requires Agent 7.54.0+). Empty values use the default setting in the datadog agent.
enabled:
native:
# datadog.serviceMonitoring.tls.native.enabled -- (bool) Enable TLS monitoring for native (openssl, libssl, gnutls) services (Requires Agent 7.51.0+). Empty values use the default setting in the datadog agent.
enabled:

discovery:
# datadog.discovery.enabled -- (bool) Enable Service Discovery
enabled: # false
Expand Down

0 comments on commit fa73f62

Please sign in to comment.