Skip to content

Show heartbeat origin IP on recent events - #41

Merged
nihey merged 2 commits into
mainfrom
feat/heartbeat-source-ip
Sep 2, 2026
Merged

Show heartbeat origin IP on recent events#41
nihey merged 2 commits into
mainfrom
feat/heartbeat-source-ip

Conversation

@nihey

@nihey nihey commented Sep 2, 2026

Copy link
Copy Markdown
Member

Summary

Heartbeat Up events now store and display the client origin IP on Recent events. Missed-heartbeat Down rows and HTTP/TCP probes stay without an IP.

The API trusts the reverse-proxy hop so production records the real client, not Traefik.

Validation

  • Added or updated tests for behavior changes
  • Ran relevant tests and checks
  • Updated relevant documentation
  • Confirmed no production data, credentials, or populated .env files are included

Checklist

  • Conventional commit subject used
  • Scope is focused and ready for review

Test plan

  • After deploy, ping a heartbeat check and confirm the new Up row shows the origin IP
  • Confirm older events and missed-heartbeat Down rows still have no IP
  • Confirm HTTP/TCP check events still have no IP

Store the client address on received pings so check timelines can show where a heartbeat came from, without inventing IPs for missed heartbeats or probes.
Cast Jest objectContaining matchers to object so CI eslint no longer treats the ping service spec as an unsafe any assignment.
@nihey
nihey merged commit f2b66ee into main Sep 2, 2026
8 checks passed
@nihey
nihey deleted the feat/heartbeat-source-ip branch September 2, 2026 13:32
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