RousselTMLEARNING

Article · Observa: from discovery to expertise

Observa best practices

1. A seven-step approach #

Order matters.

The recommended path #

Rollout approach
Each step builds on the previous one: SLOs assume consistent attributes, AI assumes clean rights.

2. Best practices by area #

What to do, and why.

Deployment #

  • TLS reverse proxy, COOKIE_SECURE=true, HTTPS ROOT_URL.
  • Managed, backed-up PostgreSQL, with SECRET_KEY kept separately.
  • At least two replicas of each service on Kubernetes, Redis for the shared cache.
  • Configuration through versioned environment variables (values.yaml), secrets in existingSecrets.

Security #

  • SSO (OIDC, SAML or LDAPS) and roles assigned by groups with GROUP_ROLE_MAPPING.
  • DEFAULT_ROLE=Viewer and default multi-tenant access set to none.
  • One service account per automation or agent, with the minimal role; audit review.

Sources and collection #

  • Sources provisioned in YAML, secrets as ${VAR}, prometheus uid 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 auto mode, copied then tuned when a threshold does not fit.
  • Routing by severity and service level, grouping by alertname and service_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_ROLE and AI_MAX_STEPS set.
  • Viewer MCP tokens by default; Editor only for supervised agents.

3. Common mistakes and commands #

What goes wrong most often.

Common mistakes #

MistakeConsequenceFix
Thinking Observa stores dataempty dashboardsdeploy or connect Prometheus, Loki, Tempo
Source uid other than prometheusshipped dashboards failingrename the uid or remap on import
service.criticality missingevery service in bronzeadd it to OTEL_RESOURCE_ATTRIBUTES or via relabeling
Default multi-tenant access set to allleak between customersnone
all mode for built-in alertsnoise and pointless rulesstay in auto
Bulk import of Sigma rulesSOC alert fatigueimport by level and log source
Lost SECRET_KEYsource secrets unreadableback 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 #

📄 Observa best practices →

My progress

  • ⏱ Estimated time : ≈ 6 min

Sign in to track your progress and take notes. Sign in

⭐ Rate this lesson

5.0 initial rating from the teaching team

Sign in to rate this lesson →

💬 Questions about this lesson

No questions yet: be the first to ask for help or share your configuration.

Ask a question about this lesson →

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...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!