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

refactor: Make prometheus features push and process optional to get rid of openssl #433

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Nov 20, 2023

This PR fix #407 in a compatible way:

- Users enable default feature still enables prometheus/process.
- Users disable default feature can enable feature prometheus based on their needs.

prometheus is so deep in the tikv-client's code, we can't remove it entirely. This PR changes it goal to make push and process optional.

@Xuanwo Xuanwo changed the title refactor: Make prometheus deps optional refactor: Make prometheus features push and process optional to get rid of openssl Nov 20, 2023
Copy link
Collaborator

@pingyu pingyu left a comment

Choose a reason for hiding this comment

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

LGTM~

@pingyu pingyu merged commit d440f06 into tikv:master Nov 21, 2023
4 checks passed
@Xuanwo Xuanwo deleted the make-prometheus-optional branch November 21, 2023 01:41
bxq2011hust pushed a commit to FISCO-BCOS/tikv-client-rust that referenced this pull request Mar 19, 2024
…et rid of openssl (tikv#433)

* refactor: Make prometheus deps optional

Signed-off-by: Xuanwo <[email protected]>

* Remove push and process

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
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.

prometheus should be optional and hide under feature gate
2 participants