Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable metrics filter by default instead #2354

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

ev1lQuark
Copy link
Contributor

Enable multiple dubbo go instances, the metrics function is enabled by default and the default port of the Prometheus server is 9000, which will cause port occupation problems. It is better to turn off the metrics function by default, and leave it to the user to decide whether to enable it and enable port configuration.


启用多个 dubbo go 实例,metrics 功能默认开启且 Prometheus server 默认端口为9000,会产生端口占用的问题。不如默认关闭 metrics 功能,是否启用以及启用端口配置交由用户来做决定。

@sonarcloud
Copy link

sonarcloud bot commented Jul 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@justxuewei justxuewei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks!

@codecov-commenter
Copy link

Codecov Report

Merging #2354 (af63896) into main (f831ea5) will increase coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2354      +/-   ##
==========================================
+ Coverage   43.94%   44.15%   +0.21%     
==========================================
  Files         294      294              
  Lines       18019    18019              
==========================================
+ Hits         7919     7957      +38     
+ Misses       9257     9214      -43     
- Partials      843      848       +5     
Impacted Files Coverage Δ
config/metric_config.go 58.06% <ø> (ø)

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@justxuewei justxuewei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks!

@justxuewei justxuewei merged commit 1fb03b5 into apache:main Jul 10, 2023
6 checks passed
@ev1lQuark ev1lQuark deleted the conf branch July 19, 2023 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants