This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new 13271781 [horus] Add metrics norm (#423)
13271781 is described below
commit 13271781351cf5f631ecca5e2bbc84a1dd1daada
Author: mfordjody <[email protected]>
AuthorDate: Fri Oct 4 09:32:53 2024 +0800
[horus] Add metrics norm (#423)
---
app/horus/core/horuser/metrics.go | 7 +++++++
app/horus/core/horuser/{instant_query.go => query.go} | 0
2 files changed, 7 insertions(+)
diff --git a/app/horus/core/horuser/metrics.go
b/app/horus/core/horuser/metrics.go
new file mode 100644
index 00000000..3c9bdda8
--- /dev/null
+++ b/app/horus/core/horuser/metrics.go
@@ -0,0 +1,7 @@
+package horuser
+
+import "github.com/prometheus/client_golang/prometheus"
+
+func (h *Horuser) Collect(ch chan<- prometheus.Metric) {}
+
+func (h *Horuser) Describe(ch chan<- *prometheus.Desc) {}
diff --git a/app/horus/core/horuser/instant_query.go
b/app/horus/core/horuser/query.go
similarity index 100%
rename from app/horus/core/horuser/instant_query.go
rename to app/horus/core/horuser/query.go