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(meta-service): add metrics last_seq #7429

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

drmingdrmer
Copy link
Member

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

feat(meta-service): add metrics last_seq

Other changes:

  • Refactor: subscribe_metrics() does not need to watch another Receiver:
    MetaNode.running_rx for shutting down event.
    When MetaNode is shutting down, metrics_rx.changed() returns an
    error indicating Raft is shutting down.

  • Refactor: reduce indent :()

  • Fix: databend-meta report last_seq metrics #7395

Changelog

Related Issues

Other changes:

- Refactor: subscribe_metrics() does not need to watch another Receiver:
  `MetaNode.running_rx` for shutting down event.
  When MetaNode is shutting down, `metrics_rx.changed()` returns an
  error indicating Raft is shutting down.

- Refactor: reduce indent `:()`

- Fix: datafuselabs#7395
@vercel
Copy link

vercel bot commented Sep 1, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Sep 1, 2022 at 8:18AM (UTC)

@drmingdrmer drmingdrmer marked this pull request as ready for review September 1, 2022 08:19
@drmingdrmer drmingdrmer added C-improvement Category: improvement pr-feature this PR introduces a new feature to the codebase A-meta Area: databend meta serive labels Sep 1, 2022
@drmingdrmer
Copy link
Member Author

@drmingdrmer drmingdrmer merged commit 6e95f5a into datafuselabs:main Sep 2, 2022
@drmingdrmer drmingdrmer deleted the 2-last-seq branch September 2, 2022 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: databend meta serive C-improvement Category: improvement pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

databend-meta report last_seq metrics
1 participant