1. A seven-step approach #
Order matters.
The recommended path #
2. Best practices by area #
What to do, and why.
Deployment #
- TLS reverse proxy,
COOKIE_SECURE=true, HTTPSROOT_URL. - Managed, backed-up PostgreSQL, with
SECRET_KEYkept separately. - At least two replicas of each service on Kubernetes, Redis for the shared cache.
- Configuration through versioned environment variables (
values.yaml), secrets inexistingSecrets.
Security #
- SSO (OIDC, SAML or LDAPS) and roles assigned by groups with
GROUP_ROLE_MAPPING. DEFAULT_ROLE=Viewerand default multi-tenant access set tonone.- One service account per automation or agent, with the minimal role; audit review.
Sources and collection #
- Sources provisioned in YAML, secrets as
${VAR},prometheusuid for the main source. - Shared OpenTelemetry attribute convention (
service.name,deployment.environment.name,service.criticality,tenant.id). - Controlled cardinality: no user ID or raw URL as a label.
Dashboards #
- One dashboard per question (service, platform, business), RED and USE methods.
- Variables rather than copies,
$__rate_interval, folders and permissions per team. - Provision reference dashboards so you get them back after a reinstall.
Alerting and reliability #
- Built-in alerts in
automode, copied then tuned when a threshold does not fit. - Routing by severity and service level, grouping by
alertnameandservice_name. - Alert on SLOs (burn rate) for critical services, rather than on every technical symptom.
- Tested escalation chains, post-mortem after every major incident.
AI #
- Local model for sensitive data,
AI_ALLOWED_ROLEandAI_MAX_STEPSset. - Viewer MCP tokens by default; Editor only for supervised agents.
3. Common mistakes and commands #
What goes wrong most often.
Common mistakes #
| Mistake | Consequence | Fix |
|---|---|---|
| Thinking Observa stores data | empty dashboards | deploy or connect Prometheus, Loki, Tempo |
Source uid other than prometheus | shipped dashboards failing | rename the uid or remap on import |
service.criticality missing | every service in bronze | add it to OTEL_RESOURCE_ATTRIBUTES or via relabeling |
Default multi-tenant access set to all | leak between customers | none |
all mode for built-in alerts | noise and pointless rules | stay in auto |
| Bulk import of Sigma rules | SOC alert fatigue | import by level and log source |
Lost SECRET_KEY | source secrets unreadable | back it up with the database |
Commands to know #
# Installation and operations (Docker Compose)
./scripts/generate-env.sh
docker compose pull && docker compose up -d --no-build
docker compose ps
docker compose logs -f api alerting
# Kubernetes
helm install observa observa/observa -n observa --create-namespace -f values.yaml
kubectl -n observa get secret observa-secrets -o jsonpath='{.data.admin-password}' | base64 -d
# API (service account token, Admin role for the cache)
curl -s -H "Authorization: Bearer $TOKEN" $OBS/api/datasources-cache
curl -s -X DELETE -H "Authorization: Bearer $TOKEN" $OBS/api/datasources-cache
curl -s -H "Authorization: Bearer $TOKEN" $OBS/api/alerting/sigma/rules
# AI agents
claude mcp add --transport http observa $OBS/api/mcp --header "Authorization: Bearer $TOKEN"Sources #
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
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,...
Dashboards, Explore and Drilldown in Observa
Build Grafana v2 dashboards in Observa: visualizations, variables, transformations, import from g...
SLOs, on-call and incidents in Observa
Define SLOs in Observa (error budget, burn rate, multi-window alerts), organize on-call and escal...
Securing Observa: authentication, roles and multi-tenancy
Configure access to Observa: local accounts, LDAP and Active Directory, OIDC, SAML, auth proxy, r...
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,...
Observa's AI assistant and MCP server
Configure Observa's AI assistant (Claude, OpenAI, Azure OpenAI or local model), use it to analyse...
Installing Observa: Docker Compose, Kubernetes and configuration
Deploy Observa in two minutes with Docker Compose, in production on Kubernetes with Helm, then co...
Grafana best practices: dashboards, provisioning, performance and security
Grafana best practices: designing readable dashboards, variables, dashboards as code, provisionin...