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

config: correct the explanation of status and metrics. #13024

Merged
merged 3 commits into from
Nov 4, 2019
Merged

config: correct the explanation of status and metrics. #13024

merged 3 commits into from
Nov 4, 2019

Conversation

ericsyh
Copy link
Contributor

@ericsyh ericsyh commented Oct 30, 2019

What problem does this PR solve?

The explanation of metrics-addr and status-port is not so accurate.
status-port copied metrics-addr explanation which is a mistake, need to remove it.
metrics-addr leaves empty will disable the push to Pushgateway, rather than Prometheus push.

What is changed and how it works?

  • Delete the mistake explanation for status-port
  • Add HTTP API example for status-host and status-port
  • Correct the explanation for metrics-addr

Check List

Tests

  • No code

Related changes

  • Need to cherry-pick to the release branch

@codecov
Copy link

codecov bot commented Oct 30, 2019

Codecov Report

Merging #13024 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #13024   +/-   ##
===========================================
  Coverage   80.0635%   80.0635%           
===========================================
  Files           468        468           
  Lines        110160     110160           
===========================================
  Hits          88198      88198           
  Misses        15187      15187           
  Partials       6775       6775

@tiancaiamao
Copy link
Contributor

LGTM

@tiancaiamao tiancaiamao added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 4, 2019
Copy link
Member

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

@ericsyh ericsyh merged commit 97061e8 into pingcap:master Nov 4, 2019
@ericsyh ericsyh deleted the ericsyh-config branch November 4, 2019 03:29
@sre-bot
Copy link
Contributor

sre-bot commented Nov 4, 2019

cherry pick to release-3.1 in PR #13107

@sre-bot
Copy link
Contributor

sre-bot commented Nov 4, 2019

cherry pick to release-3.0 in PR #13108

@sre-bot
Copy link
Contributor

sre-bot commented Nov 4, 2019

cherry pick to release-2.1 failed

@sre-bot
Copy link
Contributor

sre-bot commented Apr 7, 2020

It seems that, not for sure, we failed to cherry-pick this commit to release-2.1. Please comment '/run-cherry-picker' to try to trigger the cherry-picker if we did fail to cherry-pick this commit before. @ericsyh PTAL.

@XuHuaiyu
Copy link
Contributor

XuHuaiyu commented Apr 8, 2020

/run-cherry-picker

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request Apr 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Apr 8, 2020

cherry pick to release-2.1 in PR #16179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/config status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants