Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Provide metrics for ZooKeeper clients #10

Open
nicktelford opened this issue Feb 14, 2013 · 0 comments
Open

Provide metrics for ZooKeeper clients #10

nicktelford opened this issue Feb 14, 2013 · 0 comments

Comments

@nicktelford
Copy link
Contributor

Ideally, ZooKeeper client instances should be instrumentable with metrics; specifically, each request type (e.g. "create", "set", "getACL", etc.) should be timed to measure request latency etc.

This is problematic because:

  • ZooKeeper is a class, there is no interface that would allow us to naturally extend the API.
  • The constructor of ZooKeeper initialises the thread-pool and socket connections for the client, which prevents us from writing tests for any sub-classes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant