Saltar al contenido principal

Configuration

orbit.Config is bound from the modules.orbit.* subtree of your nucleus.yml (or set it directly in Go). All fields are optional.

Key (modules.orbit.*)TypeDefaultDescription
prefixstring/adminURL path Orbit mounts under.
titlestringHeading shown in the UI.
environmentstringLabel shown in the UI (e.g. production).
bootstrap_usernamestringAdmin user created on first boot.
bootstrap_emailstringEmail for the bootstrap user.
bootstrap_passwordstringPassword for the bootstrap user; empty → a random one is generated and printed once.
auth_databasestringapp defaultDB alias whose handle backs admin auth + the bootstrap user (use a dedicated DB for the admin user store).
migrations_pathstringmigrationsDirectory the migrations view reads.
audit_max_sizeint10000In-memory audit-log ring size.
multitenant_enabledboolfalseFilter records by the request's resolved tenant.
multitenant_defaultstringDefault tenant when none is resolved.
multitenant_ids[]stringKnown tenant IDs for the selector UI.
live_exclude_patterns[]stringPath patterns excluded from the live HTTP feed.
trace_url_templatestringExternal trace-explorer URL template (supports {trace_id}).
cluster_enabledboolfalseAggregate the live feed across nodes via a Redis relay.
cluster_redis_urlstringRedis URL for the live-telemetry relay.
cluster_channelstringnucleus:admin:live:v1Pub/sub channel for the relay.
cluster_node_idstringruntime idExplicit node identifier in the relay.
cluster_tokenstringShared secret to reject untrusted relay messages.

Example

# nucleus.yml
modules:
orbit:
prefix: /admin
title: Acme Admin
environment: production
bootstrap_username: admin
bootstrap_email: admin@acme.test

A note on the cluster keys

The cluster_* keys above configure the single-process Redis relay for aggregating the live feed across nodes. That is distinct from the standalone agent/server fleet model (a dedicated observability server that many agents stream to) documented under Cluster observability. Most applications need neither — the in-process panel works on its own.