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

ZOOKEEPER-3376: Extract metrics-api module. #2054

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

horizonzy
Copy link
Member

Extract metrics-api module.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM apart from a comment about the dependencies

zookeeper-metrics-providers/zookeeper-metrics-api/pom.xml Outdated Show resolved Hide resolved
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this in an API module, this is a specific implementation of a logging framework

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed, the PromethuesProvider will use RateLogger, So move RateLogger from zookeeper-server to metrics-api. In RateLogger, it will use Logger, so we need slf4j-api dependency.

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.

2 participants