zyy17
a0e6bcbeb3
feat: add cpu_usage_millicores and memory_usage_bytes in information_schema.cluster_info table. ( #7051 )
...
* refactor: add `hostname` in cluster_info table
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: update information schema result
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* feat: enable zstd for bulk memtable encoded parts (#7045 )
feat: enable zstd in bulk memtable
Signed-off-by: evenyag <realevenyag@gmail.com >
* refactor: add `get_total_cpu_millicores()` / `get_total_cpu_cores()` / `get_total_memory_bytes()` / `get_total_memory_readable()` in common-stat
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* feat: add `cpu_usage_millicores` and `memory_usage_bytes` in `information_schema.cluster_info` table
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* fix: compile warning and integration test failed
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* fix: integration test failed
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: add `ResourceStat`
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: apply code review comments
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: update greptime-proto
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2025-10-24 03:12:45 +00:00
zyy17
cf1b8392af
refactor!: unify the API of getting total cpu and memory ( #7049 )
...
* refactor: add `get_total_cpu_millicores()` / `get_total_cpu_cores()` / `get_total_memory_bytes()` / `get_total_memory_readable()` in common-stat
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* tests: update sqlness test cases
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-10-16 12:41:34 +00:00
zyy17
6ab4672866
refactor: add peer_hostname field in information_schema.cluster_info table ( #7050 )
...
* refactor: add `hostname` in cluster_info table
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: update information schema result
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: apply code review comments
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: update greptime-proto
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* chore: add the compatibility for old proto
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-10-16 06:02:47 +00:00
Weny Xu
16febbd4c2
feat: add CPU, memory and node status info to cluster_info ( #6897 )
...
* feat: add CPU and memory info to `cluster_info`
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: add `node_status` to `cluster_info` table
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test: update sqlness
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: update proto
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-09-08 08:59:34 +00:00
dennis zhuang
d6bc117408
refactor: refactor admin functions with async udf ( #6770 )
...
* refactor: use async udf for admin functions
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: sqlness test
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: code style
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: clippy
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: remove unused error
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: style
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: style
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: code style
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: apply suggestions
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: logical_metric_table test
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
2025-08-20 03:35:38 +00:00
Ning Sun
bf191c5763
test: fix sqlness hash character count ( #6758 )
2025-08-18 11:06:05 +00:00
LFC
370d27587a
refactor: make greptimedb's tests ran as a submodule ( #6544 )
...
fix: failed to run a test when as a submodule
Signed-off-by: luofucong <luofc@foxmail.com >
2025-07-18 08:01:30 +00:00
Ruihang Xia
d7b6718be0
feat: run sqlness in parallel ( #5499 )
...
* define server mode
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* bump sqlness
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* all good
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refactor: Move config generation logic from Env to ServerMode
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* finalize
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change license header
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename variables
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* override parallelism
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename more variables
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-02-21 07:05:19 +00:00
Zhenchi
a6571d3392
chore: bump version to 0.10.0 ( #5040 )
...
* chore: bump version to 0.10.0
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix sqlness version regex
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-22 03:56:25 +00:00
Ning Sun
4dea4cac47
refactor: change sqlness ports to avoid conflict with local instance ( #4794 )
2024-10-08 07:33:24 +00:00
tison
285ffc5850
fix: build info should use build time env var ( #4343 )
...
* fix: build info should use build time env var
Signed-off-by: tison <wander4096@gmail.com >
* catch up
Signed-off-by: tison <wander4096@gmail.com >
* fixup lifetime
Signed-off-by: tison <wander4096@gmail.com >
* fixup
Signed-off-by: tison <wander4096@gmail.com >
* fix more
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
2024-07-12 03:08:30 +00:00
Ruihang Xia
374cfe74bf
fix(sqlness): relax start time regex to match various precisions ( #4326 )
...
* fix(sqlness): relax start time regex to match various precisions
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* exclude ip pattern
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-07-10 06:35:55 +00:00
discord9
09fff24ac4
feat: make flow distributed work&tests ( #4256 )
...
feat: flownode frontend client&test
feat: Frontend Client
feat: set frontend invoker for flownode
feat: set frontend invoker for flownode
chore: test script
WIP: test flow distributed
feat: hard coded demo
docs: flownode example toml
feat: add flownode support in runner
docs: comments for node
chore: after rebase
docs: add a todo
tests: move flow tests to common
fix: flownode sqlness dist test
chore: per review
docs: make
fix: make doc
2024-07-05 14:46:44 +00:00
Weny Xu
d6392acd65
fix(sqlness): catch different format timestamp ( #4149 )
2024-06-15 11:13:01 +00:00
Jeremyhi
7de62ef5d0
feat: add metasrv start time to node info ( #3883 )
2024-05-09 06:53:55 +00:00
Jeremyhi
6e1cc1df55
feat: metasrvs nodeinfo ( #3873 )
...
* feat: get metasrv nodeinfo
* fix: sqlness test
* chore: by comment
* feat: proto version
2024-05-07 11:20:57 +00:00
dennis zhuang
65d47bab56
feat: adds information_schema cluster_info table ( #3832 )
...
* feat: adds server running mode to KvBackendCatalogManager
* feat: adds MetaClient to KvBackendCatalogManager
* feat: impl information_schema.cluster_info table
* fix: forgot files
* test: update information_schema result
* feat: adds start_time and uptime to cluster_info
* chore: tweak cargo and comment
* feat: rename greptime_region_peers to region_peers
* fix: cluster_info result
* chore: simplify sqlness commands
* chore: set peer_id to -1 for frontends
* fix: move cluster_info to greptime catalog
* chore: use official proto
* feat: adds active_time
* chore: apply suggestion
Co-authored-by: Jeremyhi <jiachun_feng@proton.me >
* chore: STANDALONE for runtime_metrics
---------
Co-authored-by: Jeremyhi <jiachun_feng@proton.me >
Co-authored-by: tison <wander4096@gmail.com >
2024-05-02 02:49:46 +00:00