You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ju...@apache.org on 2023/07/10 03:49:02 UTC
[dubbo-go] branch main updated: fix: disable metrics filter by default instead (#2354)
This is an automated email from the ASF dual-hosted git repository.
justxuewei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/main by this push:
new 1fb03b5cf fix: disable metrics filter by default instead (#2354)
1fb03b5cf is described below
commit 1fb03b5cfbf81aee2e26057b3708bc339f1c4c47
Author: Wang Guan <wg...@gmail.com>
AuthorDate: Mon Jul 10 11:48:56 2023 +0800
fix: disable metrics filter by default instead (#2354)
---
config/metric_config.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/metric_config.go b/config/metric_config.go
index b47d48a56..3a819a30b 100644
--- a/config/metric_config.go
+++ b/config/metric_config.go
@@ -31,7 +31,7 @@ import (
type MetricConfig struct {
Mode string `default:"pull" yaml:"mode" json:"mode,omitempty" property:"mode"` // push or pull,
Namespace string `default:"dubbo" yaml:"namespace" json:"namespace,omitempty" property:"namespace"`
- Enable *bool `default:"true" yaml:"enable" json:"enable,omitempty" property:"enable"`
+ Enable *bool `default:"false" yaml:"enable" json:"enable,omitempty" property:"enable"`
Port string `default:"9090" yaml:"port" json:"port,omitempty" property:"port"`
Path string `default:"/metrics" yaml:"path" json:"path,omitempty" property:"path"`
PushGatewayAddress string `default:"" yaml:"push-gateway-address" json:"push-gateway-address,omitempty" property:"push-gateway-address"`