You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if we want to acquire metrics from Clickhouse database, we need to go to each shards (clickhouse cluster) to send queries to get the infos we need, which is time consuming.
Describe the solution you have in mind :
Using CLI to directly send built-in queries to retrieve metrics from Clickhouse database.
Describe how your solution impacts user flows :
User can acquire the basic infos (storage usage, table infos, current insertion rate) for each shards.
User can choose whether to print the 2-d array or print the returned metrics by using --print-table flag
For example, when user type theia get clickhouse --diskInfo --print-table
Shard
Name
Path
Free
Total
Used Percentage
1
default
/var/lib/clickhouse/
1.75 GiB
1.84 GiB
5.04
2
default
/var/lib/clickhouse/
1.75 GiB
1.84 GiB
4.81
The text was updated successfully, but these errors were encountered:
Describe what you are trying to solve:
Currently, if we want to acquire metrics from Clickhouse database, we need to go to each shards (clickhouse cluster) to send queries to get the infos we need, which is time consuming.
Describe the solution you have in mind :
Using CLI to directly send built-in queries to retrieve metrics from Clickhouse database.
Describe how your solution impacts user flows :
User can acquire the basic infos (storage usage, table infos, current insertion rate) for each shards.
User can choose whether to print the 2-d array or print the returned metrics by using --print-table flag
For example, when user type
theia get clickhouse --diskInfo --print-table
The text was updated successfully, but these errors were encountered: