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

feat(storage): enable metric collector in compactor node. #2160

Merged
merged 2 commits into from
Apr 26, 2022

Conversation

zwang28
Copy link
Contributor

@zwang28 zwang28 commented Apr 26, 2022

What's changed and what's your intention?

Enable prometheus collector in compactor server.

  • reusable MetricsManager is moved from compute crate to common crate.

Checklist

Refer to a related PR or issue link (optional)

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

license-eye has totally checked 753 files.

Valid Invalid Ignored Fixed
749 2 2 0
Click to see the invalid file list
  • src/common/src/service/metrics_manager.rs
  • src/common/src/service/mod.rs

src/common/src/service/metrics_manager.rs Show resolved Hide resolved
src/common/src/service/mod.rs Show resolved Hide resolved
@zwang28 zwang28 force-pushed the wangzheng/enable_compactor_metrics branch from 8a4cc20 to 7de217b Compare April 26, 2022 11:17
@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #2160 (7add6e6) into main (67639a5) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #2160   +/-   ##
=======================================
  Coverage   70.51%   70.51%           
=======================================
  Files         645      646    +1     
  Lines       81782    81800   +18     
=======================================
+ Hits        57669    57685   +16     
- Misses      24113    24115    +2     
Flag Coverage Δ
rust 70.51% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/common/src/lib.rs 100.00% <ø> (ø)
src/common/src/service/metrics_manager.rs 0.00% <0.00%> (ø)
src/compute/src/server.rs 0.00% <ø> (ø)
src/risedevtool/src/config_gen/prometheus_gen.rs 0.00% <0.00%> (ø)
src/risedevtool/src/service_config.rs 0.00% <ø> (ø)
src/storage/compactor/src/server.rs 0.00% <0.00%> (ø)
.../src/executor/managed_state/aggregation/extreme.rs 90.29% <0.00%> (+0.26%) ⬆️
src/storage/src/hummock/local_version_manager.rs 91.05% <0.00%> (+2.03%) ⬆️
src/meta/src/hummock/mock_hummock_meta_client.rs 49.36% <0.00%> (+5.06%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@zwang28 zwang28 force-pushed the wangzheng/enable_compactor_metrics branch from 7de217b to bc764bf Compare April 26, 2022 11:36
Copy link
Contributor

@wcy-fdu wcy-fdu left a comment

Choose a reason for hiding this comment

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

LGTM

@zwang28 zwang28 enabled auto-merge (squash) April 26, 2022 15:58
@zwang28 zwang28 merged commit fa2b7d2 into main Apr 26, 2022
@zwang28 zwang28 deleted the wangzheng/enable_compactor_metrics branch April 26, 2022 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants