This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git


The following commit(s) were added to refs/heads/main by this push:
     new 8dfe616f Fix property metric collection failure (#588)
8dfe616f is described below

commit 8dfe616f332848f041b0f184b023d9a256eac39e
Author: Gao Hongtao <[email protected]>
AuthorDate: Tue Jan 7 20:37:39 2025 +0800

    Fix property metric collection failure (#588)
    
    Signed-off-by: Gao Hongtao <[email protected]>
---
 banyand/property/db.go                  |  2 +-
 test/stress/classic/docker-compose.yaml | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/banyand/property/db.go b/banyand/property/db.go
index a0b3d616..37d4f53b 100644
--- a/banyand/property/db.go
+++ b/banyand/property/db.go
@@ -185,7 +185,7 @@ func (db *database) collect() {
                return
        }
        for _, s := range *sLst {
-               s.store.CollectMetrics(strconv.Itoa(int(s.id)))
+               s.store.CollectMetrics()
        }
 }
 
diff --git a/test/stress/classic/docker-compose.yaml 
b/test/stress/classic/docker-compose.yaml
index adde23ec..2c45b816 100644
--- a/test/stress/classic/docker-compose.yaml
+++ b/test/stress/classic/docker-compose.yaml
@@ -61,6 +61,18 @@ services:
       banyandb:
         condition: service_healthy
 
+  ui:
+    extends:
+      file: ../../docker/base-compose.yml
+      service: ui
+    ports:
+      - 8080:8080
+    networks:
+      - test
+    depends_on:
+      oap:
+        condition: service_healthy
+
   agent:
     extends:
       file: ../../docker/base-compose.yml

Reply via email to