1. Installing with Docker Compose #
Download, generate secrets, start.
In three steps #
mkdir observa && cd observa
curl -fsSLO https://observa.rousseltm.fr/download/observa-compose.tar.gz
curl -fsSLO https://observa.rousseltm.fr/download/observa-compose.tar.gz.sha256
sha256sum -c observa-compose.tar.gz.sha256
tar xzf observa-compose.tar.gz
./scripts/generate-env.sh
docker compose pull && docker compose up -d --no-build
# → http://localhost:3000The archive contains compose.yml, .env.example, the secret generation script and the provisioning folder. Images are published on ghcr.io/rousseltm. The generate-env.sh script creates the .env file with random secrets and prints the administrator password (admin account) and the alert ingest token: write them down.
Watch out : There is no default password: if you lose the one printed by the script, read theADMIN_PASSWORDvariable in.env. Never commit that file.
First steps #
- Connect sources: Connections → Data sources menu, or YAML files in
deploy/provisioning/datasources/. - Configure contact points (Teams, Slack, e-mail, ServiceNow…).
- Pick your Prometheus in Built-in alerts & SLA → Settings to enable built-in alerts.
- Point Prometheus at Observa's Alertmanager API to centralize its alerts.
Going to production #
ROOT_URL=https://observa.example.com
COOKIE_SECURE=true
DATABASE_URL=postgresql+psycopg://observa:<mot-de-passe>@pg.example.com:5432/observa
SESSION_HOURS=8
LOG_LEVEL=INFO
OTEL_ENABLED=true
QUERY_CACHE_REDIS_URL=redis://redis:6379/0- A TLS reverse proxy in front of Observa, with
COOKIE_SECURE=trueand an HTTPSROOT_URL(notification links, SSO). - A managed, backed-up PostgreSQL rather than the embedded one.
- Secrets (
SECRET_KEY,SERVICE_TOKEN,ALERT_INGEST_TOKEN) generated once and kept:SECRET_KEYencrypts source secrets in the database.
Common mistake : Changing SECRET_KEY afterwards makes stored source secrets unreadable: back it up with the database.2. Installing on Kubernetes #
Helm chart, external database and secrets.
The Helm chart #
# Registre OCI (GHCR)
helm install observa oci://ghcr.io/rousseltm/charts/observa -n observa --create-namespace \
--set rootUrl=https://observa.example.com \
--set ingress.enabled=true --set ingress.host=observa.example.com
# or classic Helm repository
helm repo add observa https://observa.rousseltm.fr/charts
helm install observa observa/observa -n observa --create-namespace
# Administrator password
kubectl -n observa get secret observa-secrets -o jsonpath='{.data.admin-password}' | base64 -dlogging: { format: json, level: INFO }
otel: { enabled: true, endpoint: http://otel-collector.monitoring:4318 }
config:
SESSION_HOURS: "12"
api:
extraEnv:
- name: GROUP_ROLE_MAPPING
value: "GG-Admins:Admin"
existingSecret: observa-secrets
postgresql:
enabled: false
externalDatabase:
host: pg.example.com
existingSecret: observa-db
sslmode: verify-fullBest practice : Disable the embedded database (postgresql.enabled: false) and reference existing secrets (existingSecret) created by your secret management tool:values.yamlcan then be committed safely.
Good to know : The chart's NetworkPolicies only filter ingress: allow egress from thequery(to sources),alerting(to notifications),api(to LDAP, OIDC, SAML) andai(to the AI provider) pods.
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
Installing Grafana Loki (Docker Compose, binary and Helm)
Install and validate Grafana Loki: minimal configuration, Docker Compose with Grafana and Alloy, ...
Installing Grafana Tempo (Docker Compose, binary and Helm)
Install Grafana Tempo: the tempo.yaml configuration, Docker Compose with Grafana and Prometheus, ...
Securing Observa: authentication, roles and multi-tenancy
Configure access to Observa: local accounts, LDAP and Active Directory, OIDC, SAML, auth proxy, r...
Observa best practices
Best practices to run Observa in production: deployment, security, sources, dashboards, alerting,...
Discovering Observa: the self-hosted observability console
What Observa is, what it adds to Grafana OSS, its five-service architecture, its parity with Graf...
Connecting sources and collecting telemetry for Observa
Declare data sources in Observa (UI or provisioning), handle authentication, PKI, mTLS and proxy,...
Dashboards, Explore and Drilldown in Observa
Build Grafana v2 dashboards in Observa: visualizations, variables, transformations, import from g...
Alerting in Observa: rules, notifications, built-in alerts, SLA and Sigma
Write alert rules in Prometheus format, route notifications in Alertmanager format, enable the 1,...
SLOs, on-call and incidents in Observa
Define SLOs in Observa (error budget, burn rate, multi-window alerts), organize on-call and escal...