You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2012/10/28 02:45:12 UTC
[jira] [Commented] (CASSANDRA-4862) Include session information in
tracing activity output
[ https://issues.apache.org/jira/browse/CASSANDRA-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485539#comment-13485539 ]
Aleksey Yeschenko commented on CASSANDRA-4862:
----------------------------------------------
Attached a slightly refactored v2.
> Include session information in tracing activity output
> ------------------------------------------------------
>
> Key: CASSANDRA-4862
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4862
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.0 beta 1
> Reporter: Jonathan Ellis
> Assignee: Aleksey Yeschenko
> Fix For: 1.2.0 beta 2
>
> Attachments: CASSANDRA-4862-v2.txt
>
>
> Would like something like this:
> activity | timestamp | source | source_elapsed
> -------------------------------------+--------------+-----------+----------------
> execute_cql3_query | 09:57:27,290 | 127.0.0.1 | 0
> Determining replicas for mutation | 09:57:27,290 | 127.0.0.1 | 2465
> Sending message to /127.0.0.2 | 09:57:27,294 | 127.0.0.1 | 7105
> Messsage received from /127.0.0.1 | 09:57:27,296 | 127.0.0.2 | 62
> Applying mutation | 09:57:27,298 | 127.0.0.2 | 1246
> Acquiring switchLock | 09:57:27,298 | 127.0.0.2 | 1353
> Appending to commitlog | 09:57:27,298 | 127.0.0.2 | 1378
> Adding to memtable | 09:57:27,298 | 127.0.0.2 | 1439
> Enqueuing response to /127.0.0.1 | 09:57:27,298 | 127.0.0.2 | 1892
> Messsage received from /127.0.0.2 | 09:57:27,301 | 127.0.0.1 | 14493
> Sending message to /127.0.0.1 | 09:57:27,301 | 127.0.0.2 | 4527
> Processing response from /127.0.0.2 | 09:57:27,302 | 127.0.0.1 | 15072
> Request complete | 09:57:27,302 | 127.0.0.1 | 15100
> {noformat}
> ... where first and last lines are coming from the sessions table.
> Note that currently session table records started_at and finished_at; this will require also recording duration from the stopwatch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira