You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2020/07/03 02:04:00 UTC

[james-project] 05/15: [Enhancement] Glowroot per JMAP method transaction recording

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit deae28f489078e4c1c22af1edb11deba54ed0e1b
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Jun 29 17:55:21 2020 +0700

    [Enhancement] Glowroot per JMAP method transaction recording
    
    Today they are recorded as part of "/jmap" transaction and do not allow
    per method extensive diagnostic. Traces are recorded but this limits overall
    statistic.
    
    We will gain significative debugging insight from recording a new transaction...
---
 .../run/guice/cassandra-rabbitmq/destination/glowroot/plugins/jmap.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/jmap.json b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/jmap.json
index 9afce4b..b5a0ea1 100644
--- a/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/jmap.json
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/jmap.json
@@ -11,7 +11,7 @@
       "captureKind": "transaction",
       "transactionType": "JMAP",
       "transactionNameTemplate": "JMAP method : {{this.class.name}}",
-      "alreadyInTransactionBehavior": "capture-trace-entry",
+      "alreadyInTransactionBehavior": "capture-new-transaction",
       "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
       "timerName": "jmapMethod"
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org