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

INDY-1543: Metrics improvements #870

Merged
merged 11 commits into from
Aug 16, 2018

Conversation

skhoroshavin
Copy link
Member

No description provided.

Sergey Khoroshavin added 8 commits August 10, 2018 19:43
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@skhoroshavin
Copy link
Member Author

(ci) test this please

Sergey Khoroshavin added 2 commits August 15, 2018 11:07
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@@ -14,7 +15,8 @@

class MessageReqProcessor:
# This is a mixin, it's mixed with node.
def __init__(self):
def __init__(self, metrics=NullMetricsCollector):
Copy link
Contributor

Choose a reason for hiding this comment

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

Please consider having a decorator for injecting metrics into classes.

Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@skhoroshavin skhoroshavin changed the title [WIP] INDY-1543: Metrics improvements INDY-1543: Metrics improvements Aug 15, 2018
@skhoroshavin
Copy link
Member Author

(ci) test this please

1 similar comment
@ashcherbakov
Copy link
Contributor

(ci) test this please

@ashcherbakov ashcherbakov merged commit 1e1f5c2 into hyperledger:master Aug 16, 2018
@skhoroshavin skhoroshavin deleted the indy-1543 branch August 16, 2018 08:24
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

2 participants