[
https://issues.apache.org/jira/browse/TINKERPOP3-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585888#comment-14585888
]
ASF GitHub Bot commented on TINKERPOP3-697:
-------------------------------------------
GitHub user rjbriody opened a pull request:
https://github.com/apache/incubator-tinkerpop/pull/80
Add hooks to MutableMetrics to manually set counts and duration.
Fixes TINKERPOP3-697
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rjbriody/incubator-tinkerpop master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-tinkerpop/pull/80.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #80
----
commit 7c518802102a0cad5061e31c796186dcff3951b6
Author: rjbriody <[email protected]>
Date: 2015-06-15T13:02:36Z
Add hooks to MutableMetrics to manually set counts and duration.
----
> Allow setting time on MutableMetrics
> ------------------------------------
>
> Key: TINKERPOP3-697
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-697
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: process
> Reporter: Matthias Broecheler
> Assignee: Bob Briody
>
> Currently, MutableMetrics must be explicitly started and stopped to measure
> time. However, TP3 might be implemented by a graph db which has an internal
> metrics and profiling framework from which the TP3 metrics are being
> populated. In this case, it should be possible to simply set the time on a
> mutable metric.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)