Skip to content

Added try/except blocks for agent metrics + health checks - #46

Open
Saaketh0 wants to merge 1 commit into
mainfrom
bug/health-metrics-catching
Open

Added try/except blocks for agent metrics + health checks#46
Saaketh0 wants to merge 1 commit into
mainfrom
bug/health-metrics-catching

Conversation

@Saaketh0

Copy link
Copy Markdown
Collaborator

If global controller wasn't able to pull a local controllers metrics or poll a local controller for a health check, it would fail and crash. Fixed that. Same issue with future information crashing, but we never used health checking/metric checking so didn't encounter this.

@Saaketh0
Saaketh0 requested a review from iidsample August 22, 2026 00:53
@Saaketh0 Saaketh0 self-assigned this Aug 22, 2026
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: be890f4b-ed38-4535-b1bc-c64a89f0248f


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Saaketh0

Copy link
Copy Markdown
Collaborator Author

Oh also, the actual diff is extremely small, literally just a try/except with the extra logic in the except function. All the lines added were the result of indenting the past code inside the try block

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