Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convenience methods to connect Health Metrics to Small Peer Info #128

Open
bplattenburg opened this issue Oct 16, 2024 · 0 comments
Open

Comments

@bplattenburg
Copy link
Member

bplattenburg commented Oct 16, 2024

Add a convenience function to attach Health Metrics as a part of Small Peer Info metadata so that customers can use a single health collection instead of needing a separate heartbeat collection.

This should support:

  • Getting the existing metadata, then adding / updating a list of health metrics under the key healthMetrics
  • Takes in a list of HealthMetricProviders and an interval (see below)
  • Configuring a regular interval (in seconds) at which to update this data onto Small Peer Info, defaulting to every 5 mins. Enforce a minimum interval of 30 seconds.
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

No branches or pull requests

1 participant