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

track total pipeline interpreter executionTime as a single metric #155

Merged
merged 2 commits into from Jan 5, 2017

Conversation

Projects
None yet
2 participants
@kroepke
Member

kroepke commented Jan 4, 2017

@kroepke kroepke added this to the 2.2.0 milestone Jan 4, 2017

@@ -92,8 +95,11 @@ public PipelineInterpreter(Journal journal,
*/
@Override
public Messages process(Messages messages) {
final Timer.Context context = executionTime.time();

This comment has been minimized.

@joschi

joschi Jan 4, 2017

Contributor

Timer.Context implements Closable, so you could use a try-with-resources here.

This comment has been minimized.

@kroepke

kroepke Jan 5, 2017

Member

Fair enough

@joschi joschi self-assigned this Jan 4, 2017

@joschi joschi merged commit 27d52d0 into master Jan 5, 2017

3 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details

@joschi joschi deleted the server-issue-3124 branch Jan 5, 2017

@joschi joschi removed the ready-for-review label Jan 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment