Skip to content

Commit

Permalink
fix: disable metrics filter by default instead (#2354)
Browse files Browse the repository at this point in the history
  • Loading branch information
ev1lQuark committed Jul 10, 2023
1 parent ab5be4a commit 1fb03b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/metric_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 1fb03b5

Please sign in to comment.