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

store/tikv, metrics: record detail rpc type and store id. #5461

Merged
merged 4 commits into from
Dec 21, 2017
Merged

store/tikv, metrics: record detail rpc type and store id. #5461

merged 4 commits into from
Dec 21, 2017

Conversation

disksing
Copy link
Contributor

No description provided.

case CmdCop:
return "cop"
case CmdCopStream:
return "scpStream"
Copy link
Member

Choose a reason for hiding this comment

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

copStream

func (t CmdType) String() string {
switch t {
case CmdGet:
return "get"
Copy link
Member

Choose a reason for hiding this comment

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

use upper case for the first char may be better?

@@ -85,7 +85,7 @@ var (
Name: "request_seconds",
Help: "Bucketed histogram of sending request duration.",
Buckets: prometheus.ExponentialBuckets(0.0005, 2, 18),
Copy link
Member

Choose a reason for hiding this comment

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

maybe we should use a larger bucket, expand to 20?

@siddontang
Copy link
Member

Rest LGTM

@disksing
Copy link
Contributor Author

Done. @siddontang

@shenli
Copy link
Member

shenli commented Dec 21, 2017

LGTM

@shenli
Copy link
Member

shenli commented Dec 21, 2017

/run-all-tests

@shenli shenli added the status/LGT1 Indicates that a PR has LGTM 1. label Dec 21, 2017
@tiancaiamao
Copy link
Contributor

LGTM

@disksing disksing merged commit a23e744 into pingcap:master Dec 21, 2017
@disksing disksing deleted the metrics branch December 21, 2017 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants