Last updated:
Dash0 SignalControl Edge
SignalControl Edge (SCE) processes observability data inside your own Kubernetes cluster to cut egress cost. In order to achieve that, the operator wires a set of custom Dash0 components into the OpenTelemetry collector pipelines:
- tail-sampling drops ordinary/repetitive traces while keeping the ones that matter e.g., errors, fixed percentage, or based on custom criteria via OTTL
- RED (Rate, Errors, Duration) metrics are generated from spans before sampling so your dashboards stay accurate
- signal-to-metrics derives metrics from logs and traces - like RED metrics, this happens before sampling to keep metrics accurate
- spam filters that are evaluated in-cluster to reduce egress costs
- the metric recorder emits operational counters from in-cluster components - currently the volume dropped by the spam filter - so you keep visibility into filtered data without shipping the raw signals. It also carries the SignalControl metering counters, which are classified internal: they are not billed at ingest and do not appear in your telemetry
- the operation processor derives useful attributes and normalizes high-cardinality attributes
- log enrichment applies centrally learned log patterns, setting the OTLP severity, a normalized message and the matched pattern on each log record (opt-in)
- cardholder data redaction masks payment card numbers and removes card verification codes, track data and PIN blocks before telemetry leaves the cluster (opt-in)
Tail-sampling decisions that require cross-collector coordination are made by the Dash0 Decision Maker (SaaS-side). Sampling rules, spam filters, and signal-to-metrics rules are configured as Kubernetes custom resources and synced to the Dash0 backend.
Quickstart
Enabling SignalControl Edge takes two steps: turning the feature flag on in the Helm chart, and creating a
Dash0SignalControl resource to configure it.
The Helm flag controls whether the operator is given the SCE collector image, and whether the Dash0SignalControl and
Dash0SamplingRule CRDs will be installed in the cluster. It is set to false by default to ensure that without
explicitly enabling it, there are zero changes to clusters of customers not using SCE.
The Dash0SignalControl resource configures the individual SCE components. Please refer to
dash0signalcontrol_types.go
for all available configuration
fields and their defaults.
SignalControl Edge builds on top of the standard operator setup, so if you are new to the Dash0 operator, please read the Helm chart README first.
SignalControl Edge only acts on telemetry destined for Dash0, so the operator must have a default Dash0 exporter configured; without one, SCE has no effect. A few export constraints apply in the current beta: multi-organization exporters are not supported, and tail-sampling is applied only to the first Dash0 exporter/dataset of each namespace — configuring multiple Dash0 exporters/datasets within a single namespace is not supported for sampling.
Because tail-sampling makes a single keep-or-drop decision for an entire trace, we recommend to ensure all spans of a given trace are routed to the same dataset. When the spans of a trace are split across multiple namespaces and sampling is only applied to some of them, it might result in orphaned spans in Dash0.
To enable SignalControl Edge, the only additional required Helm setting is operator.signalControl.enabled which can be
either supplied in the values file or via --set operator.signalControl.enabled=true.
The SCE components do not run in the per-node collector. Instead, the operator deploys a dedicated SignalControl
collector (a Deployment plus a Service in the operator namespace) that receives the Dash0-bound telemetry of the other
two collectors, applies SignalControl Edge and exports to Dash0. Sizing therefore applies to that workload rather than
to every node: it defaults to two replicas with 1Gi of memory each
(operator.collectors.signalControlCollectorReplicas and
operator.collectors.signalControlCollectorContainerResources). Because tail-sampling buffers traces in memory while
decisions are pending, raise the memory limit for clusters with high trace volume.
Once the helm install or upgrade has completed, the next step is to create a Dash0SignalControl resource.
Note that this resource is a singleton: only one instance may exist per cluster.
Since every component except log enrichment and cardholder data redaction defaults to enabled, a minimal resource with an empty spec turns on the full SCE pipeline, including the Edge Proxy (recommended whenever you run more than one collector instance):
apiVersion: operator.dash0.com/v1alpha1
kind: Dash0SignalControl
metadata:
name: dash0-signal-control
spec: {}After creating this resource, you should now see two new components in the operator namespace — the SignalControl
collector and the edge proxy — and if you inspect the SignalControl collector's config map, you will see the SCE
components. The per-node collector's config map instead contains an otlp/signal-control-collector exporter.
As a test, you can define a cluster-scoped Dash0SamplingRule resource. The probabilistic rule below keeps 10% of all
traces and is evaluated locally in the collector, without involving the Decision Maker:
apiVersion: operator.dash0.com/v1alpha1
kind: Dash0SamplingRule
metadata:
name: sample-10-percent
spec:
enabled: true
display:
name: Sample 10% of all traces
conditions:
kind: probabilistic
spec:
rate: "0.1"How it works
SignalControl Edge does not replace the collector's normal processing — it runs after it. Telemetry first passes through the standard collector processors (resource detection, Kubernetes attributes, and so on) in the per-node collector, which then forwards everything destined for Dash0 to the SignalControl collector over OTLP. That collector applies the SignalControl Edge components and exports to Dash0. Telemetry destined for a non-Dash0 exporter never leaves the per-node collector and is unaffected. The regular collection behavior stays unchanged; the egress-reduction logic is layered on top.
Concentrating the SCE components in one workload means the tail-sampling reservoir, the RED-metrics pre-aggregation and the settings polling happen once per cluster rather than once per node.
Metering
SignalControl usage is metered inside your cluster. The operator wires a dash0metering processor into every
SignalControl collector pipeline that runs a SignalControl component, ahead of that component, and drains the counters to
Dash0 on their own pipeline. There is nothing to configure.
Two consequences are worth knowing:
- Once Dash0 enables enforcement for your organization, a SignalControl component only acts on telemetry that metering marked. Until then the components act on unmarked telemetry too. Enforcement governs the components, not the counting — metering counts in both states.
- The usage of a namespace that exports to several Dash0 datasets is attributed to its first dataset. The collector duplicates that namespace's telemetry across the dataset branches but counts it in one of them only, which is what keeps the same telemetry from being billed twice.
The collector checks its own metering configuration at startup and logs a warning per problem it finds, each naming a
rule such as capability-without-metering. If you are using namespaced exporters, one of them is expected here
and can be ignored: duplicate-counting-instance, naming the counting pipelines that share a routing connector — the
default branch and the first dataset branch of each namespace. It appears once per signal whose SignalControl pipelines
carry metering: traces always, metrics with the spam filter on, logs with the spam filter or signal-to-metrics on.
It is a false positive. The rule groups pipelines by the receiver they share and assumes each of them receives a copy of everything that receiver emits. The pipelines it names here sit on different routes of that connector, and the routes are mutually exclusive: a resource is routed by its namespace, or to the default branch when no namespace matches, never both. Nothing is counted twice. (Within a single route the connector does deliver to every pipeline of that route, which is how a namespace with several datasets gets a copy per dataset — and why only the first of those branches counts.)
Log enrichment
Log enrichment applies centrally learned log patterns in-cluster. Two processors run in the SignalControl collector's
logs pipeline: dash0logparser applies the learned patterns to set the OTLP severity and a normalized
dash0.log.message, and dash0loggrouping tags each record with the dash0.log.pattern it matched and the values it
extracted as dash0.log.attribute.*. Both run ahead of the spam filter, so spam-filter rules can match on the pattern and
severity that enrichment adds.
The patterns are learned by Dash0 and polled back into the cluster at runtime: in direct mode the dash0settingsonedge
extension fetches them; when the Edge Proxy is enabled they ride the proxy's settings stream instead. Either way, pattern
changes take effect without redeploying the collector.
Log enrichment is off by default. To turn it on, set spec.logEnrichment.enabled: true on the Dash0SignalControl
resource:
apiVersion: operator.dash0.com/v1alpha1
kind: Dash0SignalControl
metadata:
name: dash0-signal-control
spec:
logEnrichment:
enabled: true
# ... other settingsThe pattern refresh interval and the two cache expirations under spec.logEnrichment are optional; they are listed with
all other fields and their defaults in the field reference linked in the Quickstart.
Cardholder data redaction
Cardholder data redaction removes payment card data from telemetry inside the cluster, so it never reaches Dash0
unredacted. The dash0redaction processor scans log bodies, the attributes of log records, spans, span events, span
links and metric data points, span names and span event names. Resource attributes are only checked by key, e.g.
card_number or cvv. A primary account number is masked to its first six and last four digits
(411111******1111); card verification codes, track data and PIN blocks are replaced with <REDACTED>. Matching values
are redacted in place, signals are never dropped. Detection is pattern-based and cannot catch encoded, encrypted, or
split card numbers, so not emitting cardholder data at the source remains the primary safeguard.
The processor runs last in each of the SignalControl collector's traces, metrics and logs pipelines, after every other SCE processor that changes telemetry. RED metrics and signal-to-metrics are derived from the redacted telemetry. Telemetry that the per-node collector sends to a non-Dash0 exporter does not pass through the SignalControl collector and is not redacted.
Telemetry redacted in the cluster is marked as such, and Dash0 does not redact it a second time. The processor reports
the number of scanned and redacted items as dash0.redaction.items_scanned and dash0.redaction.items_redacted.
Cardholder data redaction is off by default. To turn it on, set spec.redaction.cardholderData.enabled: true on the
Dash0SignalControl resource:
apiVersion: operator.dash0.com/v1alpha1
kind: Dash0SignalControl
metadata:
name: dash0-signal-control
spec:
redaction:
cardholderData:
enabled: true
# ... other settingsZone-aware routing
The hop from the per-node collector to the SignalControl collector carries the cluster's entire Dash0-bound telemetry
volume, so on multi-zone clusters it is worth keeping inside the sending pod's availability zone. The operator sets
spec.trafficDistribution: PreferClose on the SignalControl collector's service, which makes Kubernetes prefer
endpoints in the sender's own zone. The field is only set on Kubernetes 1.31 or newer, the first version that enables it
by default; on older clusters, and on clusters whose Kubernetes version the operator could not determine, it is omitted
and routing stays zone-agnostic.
A few things to be aware of:
- Sizing is per zone. Kubernetes can only route within a zone that has a ready SignalControl collector pod. Set
operator.collectors.signalControlCollectorReplicasto at least the number of zones that run monitored workloads; the operator logs a warning when there are fewer replicas than zones. - Uncovered zones fall back, they do not fail. A zone without a ready endpoint simply sends to a collector in another zone. This costs cross-zone traffic, it never drops telemetry.
- All nodes need the
topology.kubernetes.io/zonelabel. Kubernetes ignores the zone hints entirely for a service as soon as a ready endpoint sits on a node without that label. Managed cloud providers set it automatically. - Cilium users need
loadBalancer.serviceTopology=true, otherwise the hints are ignored by the data plane. - Do not add the
service.kubernetes.io/topology-modeannotation to the service. That annotation takes precedence overspec.trafficDistributionand would replace the behavior described here with the older, heuristic mode.
To check that it is working, confirm that every ready endpoint is hinted for its own zone:
kubectl get endpointslice \
-n dash0-system \
-l kubernetes.io/service-name=dash0-operator-signal-control-collector-service \
-o yamlThe rules that drive these components (sampling rules, spam filters, signal-to-metrics rules) are authored as Kubernetes custom resources. The operator reconciles each resource and syncs it to the Dash0 backend via the Dash0 API. Independently, the collector pulls the effective, merged settings back down at runtime and feeds them to the SignalControl Edge components, so rule changes take effect without redeploying the collector.
Most rules are evaluated locally in the SignalControl collector. Tail-sampling decisions that require coordination across collector instances are instead delegated to the Dash0 Decision Maker on the SaaS side; when the Edge Proxy is enabled, collectors reach the Decision Maker through it rather than connecting individually. A trace whose spans are spread over several SignalControl collector replicas is still sampled correctly: the Decision Maker broadcasts each decision to every connected collector.
SCE-only mode
In SCE-only mode, the operator deploys only the SignalControl collector and the Edge Proxy. It does not deploy the
per-node collector daemonset, the cluster metrics collector deployment or the target allocator, and it does not
instrument workloads. Applications send OTLP directly to the SignalControl collector service
<name-prefix>-signal-control-collector-service.<operator-namespace>.svc.cluster.local, port 4317 (OTLP/gRPC) or 4318
(OTLP/HTTP).
<name-prefix> is the value of operator.managedResourceNamePrefix, or the Helm release name if that is not set.
Synchronizing Dash0 resources (dashboards, check rules, synthetic checks, views, sampling rules etc.) keeps working as usual, see Managing Dash0 Resources.
To enable SCE-only mode, install the operator with the following Helm values:
--set operator.signalControl.enabled=true
--set operator.telemetryCollectionEnabled=falseThe SignalControl collector is only deployed once an enabled Dash0SignalControl resource exists and the operator
configuration has a default Dash0 export. Until then, telemetry sent to the service is lost. A
Dash0OperatorConfiguration resource that is managed manually instead of via Helm has to set
spec.telemetryCollection.enabled=false.
What is not available
All processing that the per-node collector and the cluster metrics collector add is missing in SCE-only mode:
- Kubernetes metadata enrichment (
k8s_attributes), resource detection and thek8s.cluster.name/k8s.cluster.uidresource attributes - custom filters and transforms configured in the
Dash0OperatorConfigurationorDash0Monitoringresources - non-Dash0 exports
- profiles
- log collection (including the logs of the operator's own pods), Kubernetes event collection, Prometheus scraping and infrastructure metrics (kubelet stats, cluster metrics)
- automatic namespace monitoring (
operator.autoMonitorNamespaces.enabled)
As with operator.telemetryCollectionEnabled=false without Signal Control, most settings of the
Dash0OperatorConfiguration and Dash0Monitoring resources that enable these features are rejected. The others have
no effect.
The Edge Proxy sends its self-monitoring telemetry directly to the export of the operator configuration, unless that export is not a Dash0 export. On GKE Autopilot, the Edge Proxy does not send self-monitoring telemetry until its GKE Autopilot allowlist has been updated.
Namespaced exports
If Dash0Monitoring resources define their own Dash0 exports, the SignalControl collector routes telemetry to the
export of a namespace based on the k8s.namespace.name resource attribute. Since no collector adds this attribute in
SCE-only mode, applications have to set it themselves, for example via the Kubernetes downward API:
env:
- name: K8S_NAMESPACE_NAME
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: OTEL_RESOURCE_ATTRIBUTES
value: k8s.namespace.name=$(K8S_NAMESPACE_NAME)Telemetry without k8s.namespace.name is sent to the default export of the operator configuration.
Sizing and load balancing
The SignalControl collector receives the telemetry of every application process directly, instead of from a few
collector pods that batch it. Its exporters batch the telemetry before sending it to Dash0, using
operator.collectors.sendBatchSize and operator.collectors.sendBatchMaxSize. Size
operator.collectors.signalControlCollectorReplicas and operator.collectors.signalControlCollectorContainerResources
for the cluster's full telemetry volume.
The collector closes OTLP/gRPC connections after five minutes, so gRPC clients spread across new replicas after scaling up. OTLP/HTTP connections are not recycled and can stay unevenly distributed, so OTLP/gRPC is preferable.
Switching an existing installation
Switching an existing installation to SCE-only mode via helm upgrade is not supported: previously instrumented
workloads would keep sending telemetry to the removed per-node collector, and the target allocator resources would not
be removed. Instead:
- If
operator.telemetryCollectionEnabled=falsehas already been applied viahelm upgrade, set it back totrueviahelm upgradeand wait for the operator to be rolled out. The operator only removes the instrumentation on uninstall when it is not running in SCE-only mode. - Uninstall the operator, which removes the instrumentation from all workloads.
- Re-install it with
operator.telemetryCollectionEnabled=false.
In SCE-only mode, the operator stores instrumentWorkloads.mode=none and disabled log collection, event collection and
Prometheus scraping as defaults in new Dash0Monitoring resources. These values are kept when switching back to the
regular mode, so set them explicitly in these resources to instrument workloads and collect telemetry again.