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

Add /debug/shards API #1066

Closed
jiacai2050 opened this issue Jul 12, 2023 · 0 comments · Fixed by #1070
Closed

Add /debug/shards API #1066

jiacai2050 opened this issue Jul 12, 2023 · 0 comments · Fixed by #1070
Assignees
Labels
feature New feature or request

Comments

@jiacai2050
Copy link
Contributor

Describe This Problem

In distributed deployments, it's helpful to know which shards a ceresdb server has.

Proposal

Add HTTP API GET /debug/shards.

Additional Context

No response

@jiacai2050 jiacai2050 added the feature New feature or request label Jul 12, 2023
@baojinri baojinri self-assigned this Jul 12, 2023
jiacai2050 pushed a commit that referenced this issue Jul 13, 2023
## Rationale
Close #1066 

## Detailed Changes
- Add cluster in http server
- Add list shards in cluster trait
- Add query api in http server

## Test Plan
- Existing tests
- Manually tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants