commit | b05ea1a8454d806394e1ecdfca550e8c709d4c21 | [log] [tgz] |
---|---|---|
author | liwang <liwang@apple.com> | Thu Jul 29 09:35:47 2021 +0000 |
committer | Damien Diederen <ddiederen@apache.org> | Thu Jul 29 09:35:47 2021 +0000 |
tree | a8b8dc04f577f60fd256de46ded7f8279792e07b | |
parent | 7a368b4b196af02190e6e57f18f56598ee32a626 [diff] |
ZOOKEEPER-4211: Expose Per Namespace Quota Metrics to Prometheus Motivation In 3.7, Quota limit can be enforced and the quota related stats are captured. From the "listquota" CLI command, we can the quota limit and usage info. This is an addition to that so we can collect the quota metrics per top namespace and expose them to the Prometheus for monitor and alert purpose. Summary of Changes - added 5 quota metrics - added GaugeSet metric type to group gauge metrics by key - changed PrometheusMetricsProvider to to support the GaugeSet - changed ZookeeperServer and DataTree to collect/publish quota metrics Author: liwang <liwang@apple.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Damien Diederen <ddiederen@apache.org> Closes #1644 from li4wang/ZOOKEEPER-4211
For the latest information about Apache ZooKeeper, please visit our website at:
and our wiki, at:
https://cwiki.apache.org/confluence/display/ZOOKEEPER
Either downloaded from https://zookeeper.apache.org/releases.html or found in zookeeper-assembly/target directory after building the project with maven.
apache-zookeeper-[version].tar.gz Contains all the source files which can be built by running: mvn clean install To generate an aggregated apidocs for zookeeper-server and zookeeper-jute: mvn javadoc:aggregate (generated files will be at target/site/apidocs) apache-zookeeper-[version]-bin.tar.gz Contains all the jar files required to run ZooKeeper Full documentation can also be found in the docs folder
As of version 3.5.5, the parent, zookeeper and zookeeper-jute artifacts are deployed to the central repository after the release is voted on and approved by the Apache ZooKeeper PMC:
https://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper
If you are going to compile with Java 1.8, you should use a recent release at u211 or above.
We always welcome new contributors to the project! See How to Contribute for details on how to submit patch through pull request and our contribution workflow.