Enable Grafana Cloud Database Observability for PostGIS

Aperta
#481 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, grafana, postgresql, python

Direzione di ricerca

Read the PostGIS image setup, services/observability/config.cloud.alloy, and the wiki Installation and Observability pages. Configure the requested database monitoring and document how to enable the opt-in setup for a benchmark run. Done means Grafana Cloud displays per-statement time, wait events, and I/O during a benchmark, and startup works on fresh and existing volumes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

deployment storage

Part of #476

Most ingest time is in Postgres. Earlier runs relied on watching relation sizes and pg_stat_activity by hand. Use Grafana Cloud Database Observability instead.

Scope

  • Always on in the PostGIS image:
    • pg_stat_statements in shared_preload_libraries, with the extension created in the tagbase database.
    • track_io_timing on.
    • A least-privilege monitoring role (pg_monitor) whose password comes from .env.
  • Opt-in in services/observability/config.cloud.alloy: a database_observability.postgres block and prometheus.exporter.postgres, forwarding to Grafana Cloud.
  • Document both on the wiki Installation and Observability pages, including how to turn on the opt-in part for a benchmark run.

Done when

  • During a benchmark run, Grafana Cloud shows the per-statement time, wait events and I/O for the procedure's statements.
  • Startup works on a fresh volume and on an existing one (the extension and role are created idempotently).
Lingua principale
Python
Stelle
7
Fork
1
Merge medio
3g 18h
PR unite (30g)
25

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tagbase/tagbase-server

Tutte le issue di tagbase/tagbase-server

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.