chore: upgrade logging stack - mirrors, Alloy, Loki, Grafana (#96, #97, #98, #99) #102

Merged
egullickson merged 8 commits from issue-96-update-mirror-base-images into main 2026-02-06 02:16:51 +00:00
Owner

Summary

  • Update base image versions in mirror script (#96): python 3.11->3.13, loki 2.9.0->3.6.1, promtail->alloy, grafana 10.0.0->12.4.0
  • Replace deprecated mvp-promtail container with mvp-alloy using Grafana Alloy v1.12.2 (#97)
  • Add healthcheck to mvp-alloy service
  • Upgrade Loki from 2.9.0 to 3.6.1 (#98): migrate schema v11->v13, boltdb-shipper->tsdb, remove deprecated shared_store
  • Upgrade Grafana from 10.0.0 to 12.4.0 (#99): image version bump in docker-compose.yml
  • Update production workflow shared services
  • Update all documentation references (CLAUDE.md, LOGGING.md)
  • Delete old Promtail configuration
  • Update all "5-container" references to "9-container" across docs (#101)
  • Add missing OCR, Loki, Alloy, Grafana services to .ai/context.json (#101)
  • Fix container_count from 5 to 9 in .ai/context.json (#101)

Fixes #96
Fixes #97
Fixes #98
Fixes #99
Fixes #101
Relates to #95

Test Plan

  • Mirror workflow runs successfully with new image list
  • mvp-alloy container starts without Docker API version errors
  • Container logs from all 6 application containers appear in Loki
  • Alloy healthcheck passes (/ready endpoint on port 12345)
  • Production workflow references mvp-alloy correctly
  • Loki starts without errors on v3.6.1
  • Loki config uses tsdb + v13 schema
  • Log pushes from Alloy accepted successfully
  • 30-day retention policy preserved
  • Loki healthcheck passes (/ready endpoint)
  • Grafana starts without errors on v12.4.0
  • Loki datasource auto-provisioned and functional
  • Log queries return results in Explore view
  • Grafana healthcheck passes (/api/health endpoint)
  • No remaining "5-container" or "Promtail" references in .md/.json files
  • .ai/context.json shows container_count: 9 with all 9 services listed
## Summary - Update base image versions in mirror script (#96): python 3.11->3.13, loki 2.9.0->3.6.1, promtail->alloy, grafana 10.0.0->12.4.0 - Replace deprecated `mvp-promtail` container with `mvp-alloy` using Grafana Alloy v1.12.2 (#97) - Add healthcheck to mvp-alloy service - Upgrade Loki from 2.9.0 to 3.6.1 (#98): migrate schema v11->v13, boltdb-shipper->tsdb, remove deprecated shared_store - Upgrade Grafana from 10.0.0 to 12.4.0 (#99): image version bump in docker-compose.yml - Update production workflow shared services - Update all documentation references (CLAUDE.md, LOGGING.md) - Delete old Promtail configuration - Update all "5-container" references to "9-container" across docs (#101) - Add missing OCR, Loki, Alloy, Grafana services to `.ai/context.json` (#101) - Fix `container_count` from 5 to 9 in `.ai/context.json` (#101) Fixes #96 Fixes #97 Fixes #98 Fixes #99 Fixes #101 Relates to #95 ## Test Plan - [ ] Mirror workflow runs successfully with new image list - [ ] `mvp-alloy` container starts without Docker API version errors - [ ] Container logs from all 6 application containers appear in Loki - [ ] Alloy healthcheck passes (`/ready` endpoint on port 12345) - [ ] Production workflow references `mvp-alloy` correctly - [ ] Loki starts without errors on v3.6.1 - [ ] Loki config uses tsdb + v13 schema - [ ] Log pushes from Alloy accepted successfully - [ ] 30-day retention policy preserved - [ ] Loki healthcheck passes (`/ready` endpoint) - [ ] Grafana starts without errors on v12.4.0 - [ ] Loki datasource auto-provisioned and functional - [ ] Log queries return results in Explore view - [ ] Grafana healthcheck passes (`/api/health` endpoint) - [ ] No remaining "5-container" or "Promtail" references in .md/.json files - [ ] `.ai/context.json` shows `container_count: 9` with all 9 services listed
egullickson added 1 commit 2026-02-06 00:26:38 +00:00
chore: update base image versions in mirror script (refs #96)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 33s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 22s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m31s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
ce6b6cf7cf
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
egullickson added 2 commits 2026-02-06 01:08:28 +00:00
Promtail 2.9.0 embeds Docker client API v1.42 which is incompatible with
Docker Engine v29 (minimum API v1.44). Grafana Alloy v1.12.2 resolves this
by using a compatible Docker client.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
chore: add healthcheck to mvp-alloy service (refs #97)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 39s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 19s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m35s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
ccdcf9edeb
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
egullickson changed title from chore: update base image mirror script for container upgrades (#96) to chore: update mirror images and replace Promtail with Alloy (#96, #97) 2026-02-06 01:08:50 +00:00
egullickson added 1 commit 2026-02-06 01:26:16 +00:00
chore: upgrade Loki 2.9.0 to 3.6.1 with tsdb/v13 schema (refs #98)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 34s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 53s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m31s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
fc2dc21547
- Update Loki image from 2.9.0 to 3.6.1 in docker-compose.yml
- Migrate schema from v11 to v13, store from boltdb-shipper to tsdb
- Update storage_config to use tsdb_shipper with new index paths
- Remove deprecated shared_store config (removed in Loki 3.0)
- Disable structured metadata (not needed for current setup)
- Preserve 30-day retention policy (720h)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
egullickson changed title from chore: update mirror images and replace Promtail with Alloy (#96, #97) to chore: update mirror images, replace Promtail with Alloy, upgrade Loki (#96, #97, #98) 2026-02-06 01:26:27 +00:00
egullickson added 1 commit 2026-02-06 01:36:07 +00:00
chore: upgrade Grafana 10.0.0 to 12.4.0 (refs #99)
Some checks failed
Deploy to Staging / Build Images (pull_request) Successful in 33s
Deploy to Staging / Deploy to Staging (pull_request) Failing after 14s
Deploy to Staging / Verify Staging (pull_request) Has been skipped
Deploy to Staging / Notify Staging Ready (pull_request) Has been skipped
Deploy to Staging / Notify Staging Failure (pull_request) Successful in 7s
09f856958c
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
egullickson changed title from chore: update mirror images, replace Promtail with Alloy, upgrade Loki (#96, #97, #98) to chore: upgrade logging stack - mirrors, Alloy, Loki, Grafana (#96, #97, #98, #99) 2026-02-06 01:36:21 +00:00
egullickson added 1 commit 2026-02-06 01:49:17 +00:00
fix: update grafana images
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 33s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 20s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m37s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
1c50c0c740
egullickson added 1 commit 2026-02-06 02:00:48 +00:00
chore: upgrade OCR base image from python 3.11-slim to 3.13-slim (refs #100)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 3m48s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 52s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m31s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
5fca156ff2
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
egullickson added 1 commit 2026-02-06 02:11:38 +00:00
docs: update 5-container refs to 9-container architecture (refs #101)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 34s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 51s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m37s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
8331bde4b0
Update all documentation to reflect the current 9-container architecture
(6 application + 3 logging) after the logging stack upgrades. Add missing
OCR, Loki, Alloy, and Grafana services to context.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
egullickson merged commit b812282d69 into main 2026-02-06 02:16:51 +00:00
egullickson deleted branch issue-96-update-mirror-base-images 2026-02-06 02:16:52 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: egullickson/motovaultpro#102