Skip to main content

Install the observability stack

Install the observability Helm chart a DALP instance exports to: an Alloy collector, VictoriaLogs, Tempo, VictoriaMetrics, and Grafana, then verify telemetry.

The observability chart is the receiving side of DALP telemetry. A DALP instance exports traces, metrics and logs over OTLP (the OpenTelemetry Protocol) whether or not anything is listening (Observability).

This chart deploys one Helm release that receives that export, routes each signal to its own store and shows all three in Grafana with DALP dashboards provisioned. Install it when you want observability without assembling a stack yourself. Skip it if you already run a fleet-wide collector, and point DALP's export endpoints there instead.

Installing it changes two things beyond the new pods:

  • Zero-configuration wiring: The dalp chart's export defaults target this stack's collector in the monitoring namespace, so installing observability first delivers telemetry from the first pod onward with no extra export values.
  • Telemetry identity: The chart refuses to render until you set global.dalpInstance and global.deploymentEnvironment. Every signal carries that name, so choose a slug you can keep.

You can also run part of the stack. Every component sits behind an enable flag, so you can disable any store you already operate elsewhere. When you disable a store, repoint the matching alloy.endpoints.internal.<signal> endpoint and Grafana datasource to your external store.

One release receives, stores, and graphs what the platform already exports.The platform's OTLP-exporting components, the Platform API, the Console, and this documentation site, export traces, metrics, and logs to obs-alloy, the collector this chart deploys, each signal targeting its own endpoint on OTLP ports 4317 for gRPC and 4318 for HTTP. Alloy also scrapes the cluster and node directly, kubelet and cAdvisor metrics plus the stdout of workloads that do not export OTLP, the ledger node, proxies, and policy controllers among them. Alloy routes each signal to its own store: logs to obs-logs running VictoriaLogs with 168 hour retention, traces to obs-tempo running Tempo with 168 hour retention, and metrics to obs-metrics running VictoriaMetrics with one month retention. All three stores feed obs-grafana, where DALP dashboards are provisioned by default and alert rules are opt in.One release receives, stores, and graphs what the platform already exports.The platform's OTLP-exporting components, the Platform API, the Console, and this documentation site, export traces, metrics, and logs to obs-alloy, the collector this chart deploys, each signal targeting its own endpoint on OTLP ports 4317 for gRPC and 4318 for HTTP. Alloy also scrapes the cluster and node directly, kubelet and cAdvisor metrics plus the stdout of workloads that do not export OTLP, the ledger node, proxies, and policy controllers among them. Alloy routes each signal to its own store: logs to obs-logs running VictoriaLogs with 168 hour retention, traces to obs-tempo running Tempo with 168 hour retention, and metrics to obs-metrics running VictoriaMetrics with one month retention. All three stores feed obs-grafana, where DALP dashboards are provisioned by default and alert rules are opt in.

Services export OTLP to Alloy, which routes logs, traces and metrics to VictoriaLogs, Tempo and VictoriaMetrics, and Grafana reads all three.

Steps

  1. Name the deployment's telemetry identity

    Set global.dalpInstance to a stable slug for this deployment: 1 to 63 characters, lowercase letters, digits, and hyphens, starting and ending with a letter or digit. Set global.deploymentEnvironment to one of local, development, test, staging, demo, or production. Both are required and validated at render time, and neither has a default.

    The pair is stamped on every metric, log, trace, and profile the stack handles, and two deployments sharing one slug merge silently into a single identity in every fleet-level dashboard and alert group, while every signal still flows. Pick a slug you can keep, because changing it later splits the deployment's history into two identities.

    The render also refuses the slug local in any environment other than local, which catches the common copy-paste of a local values file into a staging install.

  2. Write the values file

    Start the values file with the identity pair, then configure credentials, routing, storage, and retention for your deployment:

    global:
      dalpInstance: "example-primary"
      deploymentEnvironment: "production"

    On a restricted or multi-tenant cluster, scope Alloy before you install rather than after. Set alloy.rbac.namespaces to the namespaces you want the ClusterRole to cover. That list limits pod discovery for stdout scraping. It does not restrict OTLP logs, which can arrive from any pod that can reach the receiver Service. The platform's dapi, dapp, and docs containers export OTLP, so the stdout scrape excludes them. Set alloy.podDiscovery.namespaces instead when the scrape needs a different scope than the RBAC namespaces.

    The Alloy role grants only what the shipped Alloy configuration reads through the Kubernetes API, and it grants no access to Secrets or ConfigMaps. The two Alloy passwords reach it as environment variables, so it never asks the API server for them. If you replace the Alloy configuration with one that uses remote.kubernetes.* components, add the rule they need to alloy.rbac.rules. Setting that list replaces the chart's default rules, so keep the pod, pod log, namespace and replica set rules that the chart's values.yaml sets there, and add yours beside them.

    Set alloy.clustername to your cluster's name. Alloy stamps it as cluster_name on every signal that lacks one, and falls back to settlemint when it is empty.

    Set storage, retention and credentials now, not during an incident. To keep a store you already run elsewhere, disable the bundled component and repoint Alloy and Grafana at your own. Each component has its own enable flag: victoria-logs-single.enabled, tempo.enabled, victoria-metrics-single.enabled, grafana.enabled, alloy.enabled. Disabling one alone leaves Alloy writing to a Service that no longer exists.

    Set alloy.endpoints.internal.prometheus.url, alloy.endpoints.internal.otel.url or alloy.endpoints.internal.logs.victoriaLogsUrl to your store's address, and point the corresponding Grafana datasource at the same place.

    To hold telemetry longer than the defaults, raise the retention values now: victoria-logs-single.server.retentionPeriod and tempo.tempo.retention both default to seven days, and victoria-metrics-single.server.retentionPeriod to 1 month. A seven-day window cannot answer an investigation into older data, so size retention for the questions you must answer. This stack holds operational telemetry.

    The platform's audit trail lives in its database, which Backup and recovery covers.

    Choose who owns the Grafana administrator login before you install. That account sees every log line, trace and metric in the stack. The chart has no default password. On first install, the chart generates a random 40-character password, stores it in the obs-grafana Secret and keeps it on later upgrades. The user name is settlemint unless you set grafana.adminUser. With grafana.persistence.enabled: true, choose the user name before the first install, because Grafana keeps the user it first created and a later change to the name does not rename that user.

    Bring your own Secret when your pipeline renders the chart with helm template, or with a GitOps tool that renders the same way, rather than running helm install or helm upgrade. Such a render cannot read the Secret already in the cluster, so each render generates a new password and the password changes at every deploy. Create a Secret with admin-user and admin-password keys and set grafana.admin.existingSecret to its name. You can also set grafana.adminPassword, but the password then sits in your values file and in the Helm release history.

    Outside the local environment, the chart refuses to render with a public password: Grafana's built-in default, or the fixed password that earlier chart versions shipped. It checks grafana.adminPassword and, when Helm can read the cluster, the Secret already there. It judges no other password, so choose a strong one when you set your own. The environment is the value you set in global.deploymentEnvironment, so set local only on a developer machine. Troubleshooting covers an upgrade that stops on this check.

    By default, the chart exposes Grafana to nothing outside the cluster. Its Ingress, OpenShift Route and Gateway API HTTPRoute are all off: grafana.ingress.enabled, grafana.openShiftRoute.enabled and grafana.route.main.enabled. To publish Grafana through an Ingress, set grafana.ingress.enabled: true, your host in grafana.ingress.hosts, your controller's class in grafana.ingress.ingressClassName and a certificate in grafana.ingress.tls. The default host and class are placeholders, and the chart adds no TLS. A published Grafana shows its sign-in form to every client that reaches it, so publish it only on a network you trust or behind your own authentication.

    Inside the cluster, the chart adds no NetworkPolicy. Any pod can reach Grafana, and the stores answer queries on their Services without a login. Anyone who can read Secrets, create pods or open a shell in the Grafana pod in monitoring can get the administrator password. Limit both paths with your cluster's network policies and RBAC.

  3. Install the release

    helm install observability oci://pkg.distribution.settlemint.com/settlemint/observability \
      --version <chart version> \
      --namespace monitoring --create-namespace \
      --values my-values.yaml

    The chart fixes its service names whatever the release name: obs-alloy, obs-logs, obs-tempo, obs-metrics and obs-grafana.

    Namespace placement is what matters: dalp exporters default to obs-alloy in monitoring, requiring zero export overrides when installed there. Installing in another namespace works, and requires overriding each signal's otlp.endpoint plus global.observability.namespace on the dalp release if you enable debug bundle wiring.

    Install the receiving stack before the platform on a new deployment to avoid losing early telemetry. When upgrading both releases, check compatibility between the collector configuration and application exporters before deciding the order.

  4. Sign in to Grafana

    Read the generated password from the obs-grafana Secret. With your own Secret, read its admin-password key instead.

    kubectl --namespace monitoring get secret obs-grafana \
      --output jsonpath='{.data.admin-password}' | base64 -d

    Forward a local port to Grafana:

    kubectl --namespace monitoring port-forward svc/obs-grafana 3000:80

    Open http://localhost:3000, or your host when Grafana is published. Sign in as settlemint, or as the user name you set.

    To rotate the generated password, delete the obs-grafana Secret and run helm upgrade straight after, because the Grafana pod cannot start without its Secret. The upgrade generates a new password and restarts Grafana, and the previous password stops working when the new pod starts. When you change a Secret you manage, the previous password works until you restart Grafana with kubectl --namespace monitoring rollout restart deployment/obs-grafana.

    Grafana applies the administrator password only when it first creates its database. The chart therefore resets the stored password to the Secret's value each time the Grafana pod starts, so a rotated password takes effect with grafana.persistence.enabled: true too. Change the password only through the Secret: a password changed on Grafana's profile page goes back to the Secret's value at the next start. The reset changes the administrator password only. With grafana.persistence.enabled: true, also remove other users, service accounts and tokens that were created while the old password was valid.

  5. Connect the platform release

    If the platform runs with default export settings and this stack sits in monitoring, telemetry flows with no further change. One connection is opt-in: set global.observability.enabled: true on the dalp release and the admin debug bundle derives its VictoriaLogs and Tempo query endpoints from this stack's service DNS.

    A platform administrator's Export debug information action in the Console then pulls raw logs and traces without cluster access. An organisation owner's export leaves them out because they carry activity across all organisations. The connection defaults to off because dalp cannot assume this chart is installed. Explicit dapi.observabilityLogsUrl and dapi.observabilityTempoUrl values override the derivation for a renamed or out-of-cluster stack.

    For export-side choices, the sample ratio, a different collector per signal, or an external backend, follow Observability.

The provisioned dashboards are grouped into folders named 00-start-here, services, cluster, telemetry, fleet, and local. The local folder ships in every environment.

What the chart deploys

Component
Role
Enable flag (default)
Alloy
OTLP collector and router that scrapes cluster and pods
alloy.enabled (on)
VictoriaLogs
Log store
victoria-logs-single.enabled (on)
Tempo
Trace store
tempo.enabled (on)
VictoriaMetrics
Metrics store
victoria-metrics-single.enabled (on)
Grafana
Dashboards, datasources, alerting
grafana.enabled (on)
kube-state-metrics
Cluster metric source
kube-state-metrics.enabled (on)
node exporter
Node metric source
prometheus-node-exporter.enabled (on)
metrics-server
Cluster resource metrics API
metrics-server.enabled (off)

Grafana's three datasources come provisioned and cross-linked: a log line carries a link to its trace, and a trace links back to the logs in its time window, so an investigation moves between signals without hand-building queries.

Alert rules are a deliberate second step

Dashboards work as soon as the release installs. The alert rules ship in the chart but stay dormant until you set grafana.sidecar.alerts.enabled: true, and enabling them forces a second choice: grafana.sidecar.alerts.notificationOwner must be active or shadow. Exactly one Grafana in an estate should be active and deliver notifications. A shadow install evaluates every rule and shows its state, but an always-on mute route stops it paging anyone, which is how a second stack observes the same fleet without doubling every page.

Once enabled, the rule groups cover these areas:

Area
Rule groups
What they watch
Application and ledger
Application, Blockchain, BlockchainHealth
Log volume and absence, route errors and latency, ledger heap, block lag, sync, and peers
Data layer
PgBouncer, PostgresAvailability, RedisConnectivity
Pool exhaustion, PgBouncer and Postgres availability, replica lag, Redis connectivity
Indexer
Didx, DidxCanton, DidxDirectoryLineage, DidxLive, DidxNativeBalance
Runner socket failures, a dropped head WebSocket, a chain no pod owns, Canton ingestion that failed, halted or stalled, directory conflicts, indexing lag, wallet balance
Transactions and wallets
AccountAbstraction, FundingPause, TransactionRecovery
Dropped bundles, funding requests that stay open or expire unfunded, and requests stuck on a used, held or unknown nonce slot, wedged nonce lanes and stale dead letters
Delivery and identity
Webhooks, OnboardingDeploy, EstateIdentity, RpcPool
Webhook backlog, stuck deploys, slug conflicts, RPC health
Settlement and trading
Settlement, TradingVenue
Failed XvP and token-sale workflows, and scheduled market transitions and dated market changes that failed or applied late
Market data
MarketData
Stale exchange rates, price feeds past their staleness bound, a failing stale-feed sweep
Platform guardrails
Security, Migrations
Kyverno quorum, latency, denials and admission heartbeat, and migration failures
Infrastructure
Infrastructure, Velero, Heartbeat
Crash loops, replica mismatches, resource pressure, cert expiry, backups, heartbeat

Two families of absence rules fire on silence instead of a threshold: per-service log-ingest rules for streams that stop arriving, and a per-cluster heartbeat for a whole cluster that stops reporting. They exist because a broken telemetry path silences every log-based alert without any signal of its own.

Delivery goes to Slack in one of two modes. Webhook mode posts everything to one channel through grafana.sidecar.alerts.slackUrl. Bot mode routes critical and warning alerts to separate channels with runbook and dashboard links. It reads its token from the grafana-alerting-slack-token Secret, which the chart only renders from a chart value as a development convenience. Supply the token through your own secret machinery in a real environment, and never through a values file in version control.

Tune before trusting: the thresholds under dalp.observability are starting points. LowOperatorWalletBalance has no threshold value: it compares each operator wallet with the low-balance mark the platform publishes for each network, 0.1 whole units of the network's native currency whatever its decimal precision, the same mark the Console payer status uses. The chart refuses to render while nativeBalance.lowThreshold is still set.

webhooks.queueDepthThreshold defaults to 500, and webhooks.overdueMsThreshold defaults to 300000 milliseconds (5 minutes). These control the backlog and stalled-delivery alerts. transactionReports.queuedWindowSeconds defaults to 900 seconds (15 minutes), the reporting window a regulator transaction report may stay queued before TransactionReportsQueuedTooLong fires. Set it to your regulator's deadline. kyverno.admissionLatencyHighSeconds defaults to 7 seconds, below the admission webhook's 10-second timeout.

webhooks.queueDepthThreshold also carries a ceiling the others do not: the gauge it compares against saturates at 50000, so a threshold at or above that value could never fire, and the chart refuses to render one that high.

The log-ingest service list and the heartbeat cluster list must also match your deployment. The log-ingest rules generate one rule per entry of dalp.observability.logIngest.services. The default names five log streams: dapi (the runner, scheduler, and indexer), dapi-v1 and dapi-v2 (the two Platform API fleets), dapp (the Console), and docs (this documentation site). Each rule fires an alert named after its stream, such as ApplicationLogIngestAbsentDapiV1 for dapi-v1, followed by the namespace when the rule watches named namespaces. Trim the entry for a service you don't deploy, or that rule fires forever. The dalp chart always deploys both API fleets, so keep dapi-v1 and dapi-v2. A list in your values file replaces the whole default, so include every stream you deploy, both fleets among them. The heartbeat rules generate one per entry of dalp.observability.heartbeat.clusters and default to none, because the chart cannot infer which clusters are supposed to report into it.

Two services write a record that keeps their streams arriving while idle. Each Platform API pod writes an info record every minute. The Console writes one in a minute when it logged nothing else. The dapi and docs streams have no such record and rely on what those containers log. The Platform API record follows global.dalpApp.config.telemetry.logs.level on the dalp release, and dapi.config.telemetry.logs.level overrides it when set. Keep the effective value at info or debug, or the dapi-v1 and dapi-v2 rules fire for an idle fleet.

One stack for several clusters

The bundled stack is sized for one instance's telemetry in one cluster. To aggregate a fleet, run one central stack and put edge installs into forwarding mode. Set alloy.forwardingMode.enabled: true and alloy.forwardingMode.otel.url to the central Alloy's endpoint, and every signal copies there while the local stores keep working, so an edge cluster stays diagnosable on its own even when the link is down. Signals a cluster does not need locally can be switched off individually under alloy.endpoints.internal.

The central side does not authenticate its inbound traffic by default: the standard OTLP receiver on 4317 (gRPC) and 4318 (HTTP) takes unauthenticated traffic from anywhere that can reach it, in-cluster or not. Setting alloy.receiver.auth.enabled: true and alloy.receiver.auth.username adds a second, authenticated OTLP receiver on ports 4320 (gRPC) and 4321 (HTTP) with basic auth.

The standard 4317 and 4318 stay open and unauthenticated alongside it, because enabling the auth receiver does not close them. Restrict ports 4317 and 4318 to the platform namespaces with a NetworkPolicy when the cluster is reachable from outside.

Both ends read their passwords from Secrets the chart deliberately does not create, observability-receiver-basic-auth on the receiving side and observability-forwarding-basic-auth on the sending side. Create each Secret, holding a single password key, before the install that enables it.

Rotating either password needs an Alloy pod restart, because the container reads it from its environment, and the config reloader only watches configuration.

Troubleshooting

helm install fails at render time asking for identity values

Four distinct messages come from the same guard, and each names its own fix. A required error naming global.dalpInstance or global.deploymentEnvironment means the value is missing. Set it. global.dalpInstance must be a 1-63 character lowercase slug means the slug is set but shaped wrong. It must be lowercase letters, digits, and hyphens, starting and ending with a letter or digit. global.deploymentEnvironment must be local, development, test, staging, demo, or production means the environment value is set but does not match one of those six; typing prod instead of production is the common miss. A message naming the slug and the environment together, ending “reserved for local installs”, means the slug local reached a non-local environment. Give the deployment its own stable slug instead. Fix the value the message names rather than working around it: every one of these failures is a signal that would otherwise surface as corrupted fleet dashboards weeks later.

helm upgrade fails at render time about a public Grafana password

The chart refuses a public Grafana administrator password outside the local environment. A message that starts “grafana.adminPassword is a public default password” means your values file sets one: remove it or set a strong password of your own. A message that names a Secret, such as “The Secret monitoring/obs-grafana holds a public default Grafana administrator password”, points at the Secret Grafana reads: obs-grafana, or the Secret in grafana.admin.existingSecret. A release first installed from a chart version that shipped a fixed password still holds it in obs-grafana, because the chart reuses that Secret on upgrade. Rotate the named Secret: delete obs-grafana and run the upgrade straight after, or put a new password in your own Secret. Anything that signs in to Grafana with the old password stops working. The same upgrade removes the Grafana Ingress, because the chart turns it off by default. To keep the address you had, set the Ingress values from the values-file step, TLS included.

helm install fails at render time complaining about webhooks.queueDepthThreshold

dalp.observability.webhooks.queueDepthThreshold must be a whole number from 0 up to, but not including, 50000. The gauge it compares against saturates at 50000, so a threshold at or above that cap could never fire. A non-numeric value would otherwise coerce to 0 and page on the first pending row that lingers 15 minutes, so the chart fails the render instead. Set the threshold to a whole number below 50000.

The render fails after I supplied my own Alloy extraEnv list

Helm replaces list values wholesale, so your alloy.alloy.extraEnv list dropped the chart's Secret-backed password entries, RECEIVER_PASSWORD and FORWARDING_PASSWORD. The chart fails the render when receiver auth or forwarding auth is enabled and its entry is missing, because catching the values mistake at deploy time beats discovering it as authentication failures on a live receiver. Repeat the chart's entries inside your own list alongside your additions.

Grafana is up but the service dashboards are empty

The stack shows what reaches it. Before the dalp release lands, empty is correct. Once it is installed, check placement and endpoints: the platform's export defaults target obs-alloy in monitoring, so a stack in a different namespace receives nothing until each signal's export endpoint on the platform release is overridden to match. Cluster dashboards are the control here. They draw on Alloy's own scrapes and fill in regardless of the platform. Cluster data with no service data points at the export path, while no data at all points at the stack itself.

A log-ingest absence alert fires and never resolves

First rule out a broken log path, as in the empty service dashboards entry above. Then check these settings:

  • dalp.observability.logIngest.services lists a service the deployment never runs. Trim the entry.
  • dalp.observability.logIngest.namespaces (falling back to alloy.podDiscovery.namespaces, then alloy.rbac.namespaces) names a namespace that never runs the service, or that turns log export off on purpose. Set the list to the namespaces that must report. The rule emits one series per namespace, so it fires when a single namespace stops logging.
  • The Platform API log level is warn or error, so an idle API fleet writes nothing. Set global.dalpApp.config.telemetry.logs.level, and dapi.config.telemetry.logs.level if you use it, to info or debug on the dalp release.

alloy.dalp.logIngest.services is a different list. It drops the stdout scrape and matches pod container names. Every Platform API, runner, scheduler, and indexer pod runs a container named dapi, so never add dapi-v1 or dapi-v2 to it. If you set alloy.dalp.logIngest.dropScrapedAppLogs to false while OTLP export is broken, API fleet lines arrive as dapi, and the two fleet rules keep firing until OTLP export works again. The list must never name a workload that does not export OTLP, the ledger node, proxies, and policy controllers included, because the scrape is the only way their logs arrive. Fix a wrong setting with a values change and an upgrade of the release that holds it. Do not silence the alert.

Alerts are enabled but nothing reaches Slack

Check ownership first: a notificationOwner of shadow mutes all delivery by design, and only an active owner pages. Then check the delivery mode: webhook mode needs grafana.sidecar.alerts.slackUrl set, and bot mode needs the token present in the grafana-alerting-slack-token Secret. A rule that fires in Grafana with nothing delivered points to one of these two configurations.

Frequently asked questions

Can several DALP deployments share one stack?

Yes. Every signal carries its global.dalpInstance slug, so two deployments in the same Grafana stay on separate dashboards and alert groups as long as neither reuses the other's value. A deployment in the same cluster can point straight at this stack's receiver. A deployment in another cluster reaches it through forwarding mode instead: it keeps running its own local stack and relays a copy here, with the authenticated receiver turned on this side.

What does changing the slug cost once the deployment has history?

The stamped global.dalpInstance value is how every earlier signal ties back to this deployment. Changing the slug starts a second identity. Existing history retains the old slug. New signals use the replacement. Treat the slug as fixed for the life of the deployment.

Can I install this chart after the platform chart instead of before?

Yes. A DALP instance exports whether or not anything is listening, so it drops telemetry until this chart's receiver exists and resumes once obs-alloy responds in the monitoring namespace without needing a restart. Installing this chart first avoids that initial gap.

Do I need to enable alerting to get value from this chart?

No. Dashboards and their cross-linked datasources come up as soon as the release installs: cluster panels show data immediately, and service panels fill in once the dalp release starts exporting to it. Alerting is a separate step. It stays dormant until grafana.sidecar.alerts.enabled is set, and turning it on forces a second choice, active or shadow, so a working install and a paging install are separate decisions.

What happens to the 30Gi of stored telemetry when I uninstall?

It stays. VictoriaLogs, Tempo, and VictoriaMetrics each use a stateful workload with its own persistent volume claim. helm uninstall removes the release's pods and services but leaves those claims. Kubernetes retains their storage after the workload is removed. The three 10Gi claims stay bound and billable until you delete them with kubectl delete pvc. A reinstall with matching claim names can reuse the retained data. A complete teardown also requires a deliberate decision about those claims and their underlying volumes.

Was this page helpful?