Skip to main content

Observability

The OpenTelemetry pipeline a DALP instance exports by default: traces, metrics, and logs, and how the admin debug bundle auto-wires to an in-cluster stack.

DALP exports metrics, logs, and sampled traces over the OpenTelemetry Protocol (OTLP). Configure each signal's endpoint to use your collector or the bundled observability stack. The admin debug bundle reads stored logs and traces through a separate query path. Alerts that show a recovery risk lists the alerts that warn when a part of recovery stops working.

Every deployment declares a stable dalpInstance slug and deploymentEnvironment value, stamped on every signal it exports, so a central view can group a whole fleet by instance identity. Each Platform API role process owns one observability instance, with a separate exporter for each signal, so replica identity remains a reliable grouping key.

What exports by default

Signal
Enabled by default
Config key
Notes
Traces
Yes
telemetry.traces.otlp.endpoint
Batches export every 5 seconds (telemetry.traces.exportIntervalMs) by default. telemetry.traces.sampleRatio defaults to 0.1 (10%), a source-side safety guard against overloading your backend with unsampled volume. Raise it towards 1 (100%) only behind a measured tail sampler in your collector, such as Grafana Alloy, the collector the bundled stack runs.
Metrics
Yes
telemetry.metrics.otlp.endpoint
Pushed every 60 seconds (telemetry.metrics.exportIntervalMs) by default.
Logs
Yes
telemetry.logs.otlp.endpoint
info level by default. The console sink renders one logfmt line per record in kubectl logs whenever telemetry.logs.enabled stays true. Set telemetry.logs.exporter to "none" to stop OTLP export alone and keep kubectl logs output. Set telemetry.logs.enabled to false to stop both.

All three default to the same in-cluster Alloy OTLP receiver at obs-alloy.monitoring.svc.cluster.local:4318, which only the separate observability chart provides. Without that release or your own endpoint, nothing receives the data. Point these at a different collector by overriding each signal's otlp.endpoint key individually. There is no single global override for all three. This exporter configuration is a separate concern from the admin debug bundle below: the bundle reads telemetry back out of a VictoriaLogs and Tempo query API, while the keys above control what the Platform API pushes in.

OTLP telemetry pushes out on a timer, and the admin debug bundle reads back on request, along two separate paths.Each Platform API role process exports traces, metrics, and logs as three independent OTLP streams, each with its own endpoint key, all targeting the in-cluster Alloy collector at obs-alloy port 4318 by default. Any signal's endpoint overrides independently to point at an external collector instead. Separately, Console's Export debug information menu item, for organisation owners and platform administrators, calls a Platform API route that downloads a zip. For a platform administrator's export, that route also pulls logs and traces back out of a VictoriaLogs and Tempo query API instead of reading the exporters above. An organisation owner's export leaves them out. When global.observability.enabled is true, those endpoints derive automatically from the observability stack's service DNS, and dapi.observabilityLogsUrl and dapi.observabilityTempoUrl override them explicitly for an out-of-cluster stack or renamed services.OTLP telemetry pushes out on a timer, and the admin debug bundle reads back on request, along two separate paths.Each Platform API role process exports traces, metrics, and logs as three independent OTLP streams, each with its own endpoint key, all targeting the in-cluster Alloy collector at obs-alloy port 4318 by default. Any signal's endpoint overrides independently to point at an external collector instead. Separately, Console's Export debug information menu item, for organisation owners and platform administrators, calls a Platform API route that downloads a zip. For a platform administrator's export, that route also pulls logs and traces back out of a VictoriaLogs and Tempo query API instead of reading the exporters above. An organisation owner's export leaves them out. When global.observability.enabled is true, those endpoints derive automatically from the observability stack's service DNS, and dapi.observabilityLogsUrl and dapi.observabilityTempoUrl override them explicitly for an out-of-cluster stack or renamed services.

Role processes push OTLP traces, metrics and logs to the in-cluster Alloy receiver, while the admin debug bundle reads back on request, for a platform administrator's export only.

Point the exporters at the bundled in-cluster collector when you want zero-configuration observability and are comfortable keeping telemetry inside the cluster. Point them at an external OTLP endpoint instead when a compliance requirement keeps observability data outside the deployment's own cluster, or when you already run a fleet-wide observability backend and want this instance folded into it rather than siloed. Overriding the three endpoints independently is supported. A deployment can send traces to one backend and logs to another.

In the bundled stack's telemetry-forwarding mode, logs pass through an attribute allow list and text redaction before leaving, while metrics and traces are not redacted (see Telemetry forwarding only). Treat every signal as potentially containing personal data. The API keeps credentials out of its own request spans: it records no span for a request whose path carries a credential (a password reset link, a multisig invite, a compliance webhook address or the Utila signing decision), and it replaces the value of a credential-named query parameter, such as token, api_key or password, with REDACTED. Telemetry is for operations: the platform's audit record lives in Logging and audit trail.

During shutdown, the process stops accepting new work and makes bounded attempts to release role-owned resources and flush its telemetry exporters before forced exit. The flush runs last so it can report the shutdown itself. The flush is one bounded delivery attempt and gives no delivery guarantee, so the terminal log record also carries any final condition.

Which signal answers which operational question

The three signals answer different questions.

What you are asking
Reach for
Why
Which downstream call is responsible when one operation is slow or failing
A trace
Shows the causal path of one request, call by call
Whether a rate, count, or duration is trending worse, staying in range, or shifted since a deploy
A metric
Aggregates over time on a 60-second export interval, with up to one export interval of delay before ingestion
Exactly what one component reported, once a trace or metric has narrowed the search to a service and a time window
A log
A structured, point-in-time record carrying the identifiers that pivot back to the trace or metric around it

A webhook delivery attempt that times out, or a Console request that hangs waiting on a database query, are both trace questions.

Because metrics export every 60 seconds (telemetry.metrics.exportIntervalMs) by default, a metrics dashboard shows data with up to one export interval of delay before ingestion. Treat a metric reading during an active incident as slightly stale, and confirm a fast-moving condition against a trace or a direct check instead.

A log carries identifiers, such as a request id or a trace id, that let you pivot from a log line back to the trace or metric around it.

Every Platform API log line written while serving a request carries request_id, the value the response returns in X-Request-Id, so a reference a caller quotes finds those lines.

Kubernetes health probes (/healthz and /readyz) are separate from this OTLP pipeline: fast local checks that kubelet polls to route traffic or restart pods, never exported to VictoriaLogs or Tempo (see Platform API not ready).

In external bank-rail mode, the scheduler's /readyz also reports its bank FIX sessions. A session that is not logged on does not mark the pod unready (see Set up a connection).

The sampling trade-off

The default 10% trace sample ratio is a head sampler: the platform decides whether to keep a given trace before that request finishes, with no knowledge yet of whether it fails or runs slow. Raising the ratio towards 100% keeps every trace, including the large majority that succeed quickly and tell you nothing new, and ingestion and storage cost rises in direct proportion to the ratio you set.

A downstream tail sampler can keep traces according to their outcome or latency. It can only inspect traces that pass the source sampler. To evaluate every trace, raise source sampling to 100% and size the collector for that incoming load before applying selective retention. Measure exporter, collector, network, and storage costs when changing the ratio.

Retention is not controlled from this page

How long a trace, metric, or log line survives in your backend is a property of that backend's own configuration, not of anything in the table above. If your deployment uses the bundled in-cluster stack, its defaults keep logs and traces for 168 hours and metrics for one month. Observability stack covers the values that raise them. An investigation that starts days after an incident can fail because retention has expired. Raise retention if you need a longer window.

Alerts that show a recovery risk

Alerting is off by default. Set grafana.sidecar.alerts.enabled in the observability chart to turn these alerts on.

PostgresDown, ChainUnowned and IndexerChainParked carry critical severity and the other recovery alerts carry warning, so confirm that your routing reaches someone who can act on each. Backup and disaster recovery explains the objectives they protect.

Alert
It fires when
What it protects
VeleroBackupFailure, VeleroBackupPartialFailure, VeleroBackupStale
A cluster backup failed, partly failed, or no backup succeeded in over 24 hours
The recovery point for cluster volumes
PostgresDown
The PostgreSQL exporter reports the database as down
The system of record
PostgresReplicationLagHigh
Replication lag passes 300 seconds
The recovery point after a database failover
ChainUnowned
A chain has no live indexer owner
Ledger data freshness and catch-up time
IndexerBuildFailed
A reindex build failed within the last 15 minutes
Rebuild time after a release or a recovery
IndexerSpanRetryLoop
A lane retried the same failed database statement more than 9 times in 15 minutes, for 30 minutes
Ledger data freshness and rebuild time
IndexerWritingLaneRefused
The rebuild pods refused to write a build whose data layout this release cannot extend in place
Rebuild time after a release
IndexerContractQuarantined
The indexer quarantined a contract in the last hour, after a handler failed on one of its events or its logs for one block did not fit in an RPC response. Each contract fires its own alert
Completeness of Ledger Data for that contract
IndexerChainParked
The indexer parked a network in the last 15 minutes, after a failure it does not retry at once. It keeps firing while each five-minute retry parks the network again
Ledger data freshness for that network
RpcHealthSelectionDisabled
Health-based endpoint selection is not active for a network
Failover between ledger endpoints
RedisClientLatchedOffline
A pod's Redis connection stays unavailable for over five minutes
Cache and notification delivery

IndexerContractQuarantined resolves about an hour after its log line while the contract stays quarantined until a rebuild (see Indexer contract quarantined). IndexerChainParked resolves about 15 minutes after a retry succeeds. Match the park line's failure_tag: repair maps to Indexer chain parked, and any other tag maps to Ledger indexing stalled.

The three Velero alerts read Velero server metrics and stay silent unless Velero runs and is scraped. PostgresDown stays silent when postgres-exporter.enabled is false. PostgresReplicationLagHigh reads replication lag metrics from a primary or standby exporter and stays silent for unreplicated instances or managed services that do not expose lag to the exporter.

The admin debug bundle

The Console's account menu shows Export debug information to platform administrators and organisation owners. Selecting it calls a Platform API endpoint that queries platform stores and observability APIs server-side and defaults to the last 6 hours (capped at 24 hours). The Console packs the response into a zip archive and downloads it.

The zip's manifest covers 11 categories (build and deploy, service health, workflow state, blockchain RPC, indexer freshness, database, recent errors, API requests, observability logs, observability traces and operations configuration), each marked ok, redacted, partial or unavailable. build and deploy is always unavailable. Before returning the bundle, the API drops secret-named fields and replaces token-, key- or connection-string-shaped values with [REDACTED] (free-text error messages are not guaranteed to be redacted).

Scope differs by role:

  • Organisation owner: includes only requests and workflow runs for organisations the caller owns (up to 50 recent 4xx/5xx errors, 100 failed or >= 1,000 ms API requests, and 200 unfinished or newest failed workflow runs combined across those organisations). Observability logs and traces are omitted and marked unavailable.
  • Platform administrator: draws recent errors and API requests instance-wide (including requests outside any organisation, where organizationId is null), workflow runs for the active organisation, plus VictoriaLogs and Tempo data for the window.

Bundles downloaded when stopping a Report an issue recording follow the exact same rules.

Set global.observability.enabled: true when your deployment includes the bundled observability stack, and the debug bundle's in-cluster VictoriaLogs and Tempo query endpoints are derived from that stack's release service DNS, so you set no URL. global.observability.namespace (default monitoring) controls the namespace those derived endpoints target, and has no effect on where the traces, metrics, and logs exporters above send signals: those always target the fixed obs-alloy.monitoring.svc.cluster.local host unless you override each otlp.endpoint key yourself.

Two settings stay explicit regardless of auto-wiring:

  • dapi.observabilityLogsUrl / dapi.observabilityTempoUrl override the derived endpoints, for an out-of-cluster stack or renamed services.
  • dapi.observabilityBaseUrl sets the Grafana deep-link base, an external route host never auto-derived from in-cluster service DNS.

Alert on how long a dependency is unavailable

A gauge that reports whether an input is connected reads the same for a two-second blip and a two-hour outage. Both show the disconnected value, and only the second is an operator's problem. Alert on how long the input has been unavailable.

The platform's own signals follow this pattern. dalp.didx.ws.unavailable_seconds tracks how long the chain's newHeads WebSocket has been continuously down. dalp_redis_client_unavailable_seconds tracks the same for a Redis client. Both sit at 0 while connected. Both escalate their log line from WARN to ERROR once the outage passes 30 seconds. The log threshold is separate from an alert's evaluation and hold periods. The bundled sustained-outage alerts take about six minutes to fire. Tune them for your operating requirements. Reconnection can still recover without operator action after either threshold.

If you build your own alert on such a gauge, measure from when the outage started, not from the latest reconnect attempt: a duration that resets on every attempt stays near zero for the outage that does not resolve itself.

The dashboards and alert rules the bundled stack ships with, and its default retention windows, live with the stack itself: see Observability stack. The receiving stack's content and storage policy are not covered here.

The database metrics exporter

The PostgreSQL exporter ships enabled by default: it opens one direct session to your PostgreSQL server and reports the aggregate server backend count, on top of the metrics its own upstream collectors define. The platform adds no custom queries of its own. Set postgres-exporter.enabled to false to remove that session.

If you extend it, do not give a custom query a metric name a built-in collector already publishes. A duplicated name makes the exporter reject the whole scrape and serve nothing. The pod stays ready while that happens, because readiness does not read /metrics, so watch up and pg_up for the gap rather than the pod status.

Treat the exporter's own metric names as a fixed contract, and prefer widening what it already collects over declaring a metric again.

Neither probe queries the database. Both hit /, the exporter's static landing page, with a 5-second timeout: readiness every 15 seconds, liveness every 30 seconds. Only the Prometheus scrape of /metrics runs the collection, so the database pays for one collection per scrape interval and for nothing else. A readiness probe on /metrics would double that cost and would also mark the pod unready when the database is slow, which drops the scrape that carries pg_up and the wait metrics exactly when they answer the question.

The per-table series ship off. Set postgres-exporter.perTableCollectors to true to serve per-table scan, tuple, vacuum and analyze counters, plus heap and index block hit and read counters, under the pg_stat_user_tables_* and pg_statio_user_tables_* names. They come from two query families in the exporter's queries document, which read the same views without calling pg_table_size or pg_indexes_size. The exporter's own stat_user_tables and statio_user_tables collectors stay off in every configuration, because their size calls stat every fork and segment of every relation and index in the database. The price of this choice is two series, pg_stat_user_tables_table_size_bytes and pg_stat_user_tables_index_size_bytes, which are not served. The families need customQueries.enabled, and the chart refuses to render without it.

The exporter also opens its own database connection with work_mem set to 16 MB, so its pg_stat_statements read sorts in memory and writes no temporary file. No other connection changes.

Frequently asked questions

What happens if I set global.observability.enabled to true but never install the observability stack?

The debug bundle still derives the in-cluster VictoriaLogs and Tempo URLs from that flag, whether or not the stack is running. Each query carries its own five-second timeout, and an unreachable or erroring endpoint is reported as an unavailable artifact rather than failing the whole export, so the rest of the bundle still lands. The exporters above are unaffected either way, since they send OTLP to obs-alloy independently of this flag.

Can I disable trace export while keeping metrics and logs exporting?

Yes. Traces, metrics, and logs each carry their own enabled key under telemetry, defaulting to true, so turning one off leaves the other two untouched. No single switch disables all three at once: disabling logs, for instance, does nothing to the trace or metric exporters, which keep running on their own schedules and their own endpoints.

Do the three signals authenticate to their collector the same way?

Not necessarily. Each signal's OTLP block carries its own headers key alongside its endpoint, so traces, metrics, and logs can each present a different bearer token or API key, or none at all, to whatever collector they target. That matters most once you split signals across backends: a managed metrics vendor and an in-cluster log store rarely share one credential.

If I set dapi.observabilityLogsUrl explicitly, do I still need global.observability.enabled: true?

No. The debug bundle reads that value directly and uses it whenever it is a non-empty, valid HTTP or HTTPS URL, independent of the flag. global.observability.enabled only controls whether the chart derives a default for you. An explicit URL is used as given, whether the flag is on, off, or the bundled stack was never installed at all.

Can the debug bundle's incident window run past my backend's retention?

Yes, if your backend retains less history than the requested window. The bundle's window defaults to the six hours before the request and is capped at 24 hours of lookback regardless of what a caller asks for, well inside the bundled stack's 168-hour default for logs and traces. Retention only becomes a real risk for a direct backend query days or weeks later, which is a different question from this bundle's own short window.