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

Exposing cluster topology and status via frontend http api #1131

Closed
sunng87 opened this issue Mar 7, 2023 · 3 comments
Closed

Exposing cluster topology and status via frontend http api #1131

sunng87 opened this issue Mar 7, 2023 · 3 comments
Assignees
Labels
Distributed Should look over the whole cluster. Feature request Request a feature
Milestone

Comments

@sunng87
Copy link
Member

sunng87 commented Mar 7, 2023

What type of enhancement is this?

API improvement

What does the enhancement do?

As mentioned in GreptimeTeam/dashboard#159 , it would be nice to have an overview of cluster status, including:

  • how many datanodes, frontends and metas in current cluster
  • their address, load and other usage information
  • how many clients are connected to current cluster

These information will be reporting to meta via heartbeats, and exposed via frontend HTTP API, say /v1/self/status

Implementation challenges

No response

@sunng87 sunng87 added the Enhancement New feature or request label Mar 7, 2023
@sunng87 sunng87 added Feature request Request a feature and removed Enhancement New feature or request labels Mar 7, 2023
@fengjiachun fengjiachun added this to the v0.2 milestone Mar 9, 2023
@fengjiachun fengjiachun modified the milestones: v0.2, v0.3 Apr 12, 2023
@MichaelScofield MichaelScofield added the Distributed Should look over the whole cluster. label Jun 7, 2023
@fengys1996 fengys1996 assigned fengys1996 and unassigned fengys1996 Dec 27, 2023
@SSebo
Copy link
Contributor

SSebo commented Dec 27, 2023

Is this issue open for community contributor? @sunng87

@sunng87
Copy link
Member Author

sunng87 commented Dec 27, 2023

I think we are approaching an alternative solution for this in #2921 and #2931 . You might be interested in one of those tasks.

@sunng87
Copy link
Member Author

sunng87 commented Dec 27, 2023

I'm closing this because we are going to implement this with sql and table data from information schema.

@sunng87 sunng87 closed this as completed Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Distributed Should look over the whole cluster. Feature request Request a feature
Projects
Status: Done
Status: Todo
Development

No branches or pull requests

5 participants