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

Add a sync status endpoint / metrics to agents #6119

Open
ShimmerGlass opened this issue Jul 12, 2019 · 0 comments
Open

Add a sync status endpoint / metrics to agents #6119

ShimmerGlass opened this issue Jul 12, 2019 · 0 comments
Labels
theme/telemetry Anything related to telemetry or observability type/enhancement Proposed improvement or new feature
Milestone

Comments

@ShimmerGlass
Copy link
Contributor

Background

The Consul agents sync to servers model is eventually consistent. It will not return errors when an action is performed but rather retry periodically :

Issue

Whether the sync failing is due to a bug, a bad setup, or temporary failure it is hard do detect these desyncs at scale :

  • When such issues occur the only traces are in the logs
  • There is no way to have an overview of an agent sync state

We would like to detect these issues to :

  • Monitor the sync status of agents and their services
  • Fail early in the case of conflicts

Proposal

  • Add an endpoint such as /v1/agent/status returning the state of the agent sync for its node, service , checks. Additionally other things such as the proposed async persistent state (Make agent local state async #6101) could find there place there too.
  • Add metrics for these async elements to enable global monitoring
@pearkes pearkes added type/enhancement Proposed improvement or new feature theme/telemetry Anything related to telemetry or observability labels Aug 28, 2019
@pearkes pearkes added this to the Unplanned milestone Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/telemetry Anything related to telemetry or observability type/enhancement Proposed improvement or new feature
Projects
None yet
Development

No branches or pull requests

2 participants