Three new defaults in the Dash0 operator
Python and Ruby auto-instrumentation are on by default, clusters on Kubernetes 1.36 or later get image volumes, and filelog offsets move from a config map to the node.
Version 0.162.0 of the Dash0 operator changes three defaults.
Python and Ruby auto-instrumentation
Until now, you had to turn on Python and Ruby auto-instrumentation with a Helm value. Now both are on by default and out of beta, just like Java, Node.js and .NET. Python needs version 3.10 or later, Ruby 3.3 or later.
To opt out, set operator.instrumentation.enablePythonAutoInstrumentation=false or operator.instrumentation.enableRubyAutoInstrumentation=false.
Read the docs: Python and Ruby auto-instrumentation
Image volumes on Kubernetes 1.36 and later
Until now, an init container copied the instrumentation files into every instrumented pod. On clusters running Kubernetes 1.36 or later, the operator now mounts the instrumentation image as a volume instead, so pods start faster and use no extra ephemeral storage. Older clusters keep the init container.
To keep the init container everywhere, set operator.instrumentation.delivery=init-container.
Read the docs: Using Image Volumes for Auto-Instrumentation Files
Filelog offsets on the node
Until now, the collectors stored how far they had read each log file in a config map, updated every few seconds. On large clusters, that puts a constant write load on etcd and can even fill it up. Now the offsets go into a hostPath directory on each node.
Good to know
- The operator first checks whether your cluster admits a writable
hostPathvolume, and keeps the config map if it doesn't, for example on GKE Autopilot. - On upgrade, the existing offsets are copied to the node, so no logs are lost or sent twice.
- To choose the storage yourself, set
operator.collectors.filelogOffsetStorageModetohostPathorconfigMap.
Read the docs: Filelog Offset Storage