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

Passes the method info to the MetricsOps defs #521

Merged
merged 2 commits into from
Jan 18, 2019

Conversation

fedefernandez
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jan 18, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #521   +/-   ##
=======================================
  Coverage   81.42%   81.42%           
=======================================
  Files          64       64           
  Lines         985      985           
  Branches       19       17    -2     
=======================================
  Hits          802      802           
  Misses        183      183
Impacted Files Coverage Δ
...rometheus/server/MonitoringServerInterceptor.scala 100% <ø> (ø) ⬆️
...rpc/prometheus/server/ServerMetricsForMethod.scala 100% <ø> (ø) ⬆️
...rometheus/client/MonitoringClientInterceptor.scala 100% <ø> (ø) ⬆️
...rpc/prometheus/client/ClientMetricsForMethod.scala 100% <ø> (ø) ⬆️
.../mu/rpc/internal/interceptors/GrpcMethodInfo.scala 100% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 04e59a0...ac42eeb. Read the comment docs.


def recordTotalTime(
method: MethodType,
Copy link
Member

Choose a reason for hiding this comment

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

Is the MethodType part of the GrpcMethodInfo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Choose a reason for hiding this comment

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

Then maybe we can remove MethodType from the declaration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, I'm almost sure this is what I did 😅

@fedefernandez fedefernandez merged commit 77e0470 into master Jan 18, 2019
@fedefernandez fedefernandez deleted the ff/metrics-ops-method-info branch January 18, 2019 17:33
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.

3 participants