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

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

commit 73e850683eabb699ddfd857818c2f5c59b82e0d5
Author: Gao Hongtao <[email protected]>
AuthorDate: Tue Jan 7 12:24:00 2025 +0000

    Fix property metric collection failure
    
    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