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

Adding more metrics. #161

Merged
merged 1 commit into from
Apr 15, 2019
Merged

Adding more metrics. #161

merged 1 commit into from
Apr 15, 2019

Conversation

apkar
Copy link
Contributor

@apkar apkar commented Apr 15, 2019

  • Remove queryRate and messageRate. They are already covered by query latency and message size.
  • Changed names to follow Prometheus naming convention
  • Added few other metrics

@apkar apkar requested a review from dongxinEric April 15, 2019 18:10
}
}

Reference<Cursor> Cursor::add(std::map<int64_t, Reference<Cursor>>& siblings, Reference<Cursor> cursor) {
cursor->siblings = &siblings;

// FIXME: limit the number of allowed cursors?
Copy link
Contributor

Choose a reason for hiding this comment

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

Why removing this comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created an issue #160

@@ -35,7 +35,7 @@ ACTOR Future<Optional<std::pair<Standalone<StringRef>, DataValue>>> getArrayAnce
futures.push_back(cx->get(dk.bytes()));
}

if (futures.size()) {
if (!futures.empty()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👏

Copy link
Contributor

@dongxinEric dongxinEric left a comment

Choose a reason for hiding this comment

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

LGTM

@apkar apkar merged commit b091b95 into FoundationDB:master Apr 15, 2019
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.

2 participants