Skip to content

feat(KLEF-177): Monitoring - #31

Merged
isaacwallace123 merged 1 commit into
mainfrom
feat/KLEF-177-Monitoring
Apr 20, 2026
Merged

feat(KLEF-177): Monitoring#31
isaacwallace123 merged 1 commit into
mainfrom
feat/KLEF-177-Monitoring

Conversation

@NathanRoos

Copy link
Copy Markdown
Contributor

Pull Request

Summary

Adds a log tailer that follows running container output and ships it to the platform.

Related Issues

Closes #


Changes

What's Included

  • ports/log_shipper.go — LogShipper interface and NoopLogShipper
  • logs/tailer.go — reconcile loop every 10s, one goroutine per running workload; uses stdcopy.StdCopy to demux Docker's multiplexed stdout/stderr; batches up to 100 lines or flushes every 5 seconds
  • platform/client.go — ShipLogs method added
  • main.go — Tailer started alongside the metrics scraper

What's Not Included


Testing

How Was This Tested?

go build ./... — no compile errors. Not run against a live container.

Test Coverage

  • Unit tests added or updated
  • Integration tests added or updated
  • Manually tested end-to-end

Breaking Changes

Does this PR introduce breaking changes?

  • Yes
  • No

If yes, describe the impact and any required migration steps:


Security Considerations

  • This PR affects authentication or authorization logic
  • This PR touches secrets, tokens, or environment variables
  • This PR affects infrastructure, deployment pipelines, or network configuration

If any box is checked, describe the security impact and any mitigations applied:


Documentation

Does this PR require documentation updates?

  • Yes
  • No

If yes, check all that apply:

  • README.md
  • ARCHITECTURE.md
  • API reference
  • Architecture diagrams (C4 / DDD)
  • /docs

UI/UX (If Applicable)

  • Includes new components or views
  • Changes styles or theme tokens
  • Responsive behavior verified
  • Requires design approval

Screenshots or recordings:


Pre-Merge Checklist

  • PR title follows semantic format (feat:, fix:, chore:, docs:, refactor:, test:)
  • All CI checks passing
  • Code follows project style guidelines
  • No debug logs or commented-out code left in
  • Dependencies reviewed (no unnecessary additions)
  • No sensitive information included

Reviewer Notes

@NathanRoos NathanRoos self-assigned this Apr 20, 2026
@github-actions github-actions Bot added the feature New feature label Apr 20, 2026
@isaacwallace123
isaacwallace123 merged commit 0c871ce into main Apr 20, 2026
6 checks passed
@isaacwallace123
isaacwallace123 deleted the feat/KLEF-177-Monitoring branch April 20, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants