Skip to content

fix(observability): add Docker healthchecks for Prometheus and APISIX, document cross-stack DNS naming#511

Merged
wax911 merged 2 commits into
devfrom
fix/observability-healthchecks-docs
Jun 26, 2026
Merged

fix(observability): add Docker healthchecks for Prometheus and APISIX, document cross-stack DNS naming#511
wax911 merged 2 commits into
devfrom
fix/observability-healthchecks-docs

Conversation

@wax911

@wax911 wax911 commented Jun 26, 2026

Copy link
Copy Markdown
Member

Description

Completes observability improvements for #503.

Changes

  • Healthchecks: Added Docker healthchecks to APISIX gateway (port 9091, prometheus metrics endpoint) and Prometheus (port 9090, /-/ready endpoint). Swarm can now detect unhealthy observability services and restart them.
  • Documentation: Added cross-stack DNS naming convention comment in prometheus.yml header and a note in README.md under Prometheus scrape targets explaining <stack>_<service> naming.
  • Stacks: Regenerated infrastructure and observability stacks (healthcheck blocks now in spanning output).

Validation

  • docker compose config passes for both modified compose files
  • ./stackctl.sh generate — all 3 stacks generated cleanly
  • ./stackctl.sh sync — no drift, all stacks in sync

Ref: #503

…, document cross-stack DNS naming

- Add healthcheck to APISIX gateway (port 9091, prometheus metrics endpoint)
- Add healthcheck to Prometheus (port 9090, /-/ready endpoint)
- Document cross-stack DNS convention in prometheus.yml header
- Update README with cross-stack target naming note
- Regenerate stacks (healthcheck blocks now in spanning output)

Ref: #503
Fix yamllint line-length violations (119 > 80, 101 > 80 characters).
Convert single-line flow-style arrays to block sequence format.

Ref: #503
@wax911 wax911 merged commit 8f72cfb into dev Jun 26, 2026
7 of 8 checks passed
@wax911 wax911 deleted the fix/observability-healthchecks-docs branch June 26, 2026 23:31
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.

feat(stackctl): support gitignored partial stack overrides for local and dev-server deployments

1 participant