Skip to content

chore: rename compose service web to preiweb for observability clarity - #344

Merged
paruff merged 1 commit into
mainfrom
chore/rename-web-service-to-preiweb
Aug 18, 2026
Merged

chore: rename compose service web to preiweb for observability clarity#344
paruff merged 1 commit into
mainfrom
chore/rename-web-service-to-preiweb

Conversation

@paruff

@paruff paruff commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

Renamed the Docker Compose service from generic web to preiweb — while running prei alongside uFawkesObs's shared observability stack, the generic name made it hard to identify prei's logs/containers among a dozen other services (alertmanager, alloy, dora-api, grafana, loki, ...) in Grafana/Loki queries and docker ps output.

What was verified

  • Confirmed web appears only once in docker-compose.yml (the service key itself) — no other service depends on it by name, safe rename.
  • Restarted the stack (docker compose down --remove-orphans && up -d) — prei-preiweb-1 comes up healthy on both prei_default and observability-lab networks.
  • OTEL_SERVICE_NAME=prei (traces) was already correctly set and unaffected by this rename — only the Loki compose_service label (sourced from the Compose service name) changes.

Test plan

  • Container starts healthy under the new name
  • Confirm new logs carry compose_service=preiweb in Loki going forward (old logs retain compose_service=web until they age out — expected, not a bug)

The generic name 'web' was indistinguishable from other apps' services
in shared Grafana/Loki dashboards when running alongside uFawkesObs.
Renamed to preiweb so logs and container names are identifiable at a
glance in the shared observability stack (compose_service Loki label,
container naming).
@paruff
paruff merged commit 7253ef4 into main Aug 18, 2026
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant