Skip to content

Observability stack migration/reset decision (Prometheus/Loki/Grafana) #4330

Description

@JSONbored

Part of #4325.

Context

--profile observability brings up Prometheus, Loki, Grafana, Alertmanager, and Tempo. Unlike the application data (Postgres/Qdrant), this is operational telemetry, not business data — it may be legitimate to start these fresh on the new host rather than migrate historical time-series/log data, but that's a decision this issue should make explicitly rather than something that happens by default through inaction.

Requirements

  • Decide, per component, whether history is migrated or the new host starts clean: Prometheus (retention window per its configured PROMETHEUS_RETENTION_TIME), Loki (log retention), Grafana (dashboards/provisioning — these are config, not data, and should transfer regardless of the data-history decision).
  • Grafana provisioning (grafana/provisioning, grafana/dashboards) and Prometheus alerting rules (prometheus/rules) are config checked into the repo already — these come for free with the pinned-ref checkout from the base-provisioning sub-issue and don't need a separate data-migration step.
  • If historical metrics/log data is NOT migrated, confirm that no active alert or dashboard panel depends on long-lookback history in a way that would misfire immediately post-cutover (e.g. a rate/last_over_time-style panel across a longer window than the fresh instance has data for).

Deliverables

  • Explicit written decision: migrate or reset, per component (Prometheus data / Loki data / Grafana dashboards config)
  • If reset: confirmed no alert rule produces a false positive purely from a cold start
  • If migrate: chosen mechanism validated with a spot-check query returning the same historical value on both hosts

Expected outcome

A deliberate, written decision about observability continuity — not an accidental data loss discovered after the fact.

Effort

S

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions