Skip to content

Mimir #495

@alibabaedge

Description

@alibabaedge

Mimir Integration Plan for Observability Stack

Goal

Add Grafana Mimir for metrics storage and complete LGTM stack implementation with "Trace to metrics" support.

Implementation Steps

  • Docker Compose - Add mimir service to docker-compose-observability.yml and docker-compose-observability-dev.yml (Image: grafana/mimir:latest, Ports: Dev 9109, Volume for data)

  • Mimir Configuration - Create mimir-config.yml (monolithic mode, filesystem storage, configure retention)

  • Grafana Alloy - Update alloy-config.river: replace otelcol.exporter.debug.metricsotelcol.exporter.otlphttp.metrics, endpoint http://mimir:9009/otlp/v1/metrics

  • Grafana Data Source - Create grafana/provisioning/datasources/mimir.yml (Type: Prometheus, URL: http://mimir:9009/prometheus) + manually add for external Grafana

  • Dashboard - Add RED metrics panels and update validatorinfo-overview-import.json with ${DS_MIMIR}

  • Documentation - Update docs/OBSERVABILITY.md with Mimir description and available metrics

  • Testing - Verify metrics ingestion locally and trace-to-metrics correlation on production

Expected Result

  • ✅ Complete LGTM Stack (Loki + Grafana + Tempo + Mimir)
  • ✅ RED metrics from OpenTelemetry
  • ✅ Correlation between traces, logs, and metrics

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions