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:03:59 UTC
[james-project] 04/15: [Enhancement] Glowroot per mailet/matcher
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 d92d2df47ced365fc9116ba49d417ec492c6682b
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Jun 29 17:54:31 2020 +0700
[Enhancement] Glowroot per mailet/matcher transaction recording
Today they are recorded as part of "mailet container" transaction and do not allow
per mailet/matcher extensive diagnostic. Traces are recorded but this limits overall
statistic.
We will gain significative debugging insight from recording a new transaction...
---
.../cassandra-rabbitmq/destination/glowroot/plugins/spooler.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/spooler.json
index fd7732d..5937ca5 100644
--- a/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/spooler.json
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/spooler.json
@@ -24,7 +24,7 @@
"captureKind": "transaction",
"transactionType": "Mailet",
"transactionNameTemplate": "Mailet : {{this.class.name}}",
- "alreadyInTransactionBehavior": "capture-trace-entry",
+ "alreadyInTransactionBehavior": "capture-new-transaction",
"traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
"timerName": "mailet"
},
@@ -37,7 +37,7 @@
"captureKind": "transaction",
"transactionType": "Matcher",
"transactionNameTemplate": "Mailet processor : {{this.class.name}}",
- "alreadyInTransactionBehavior": "capture-trace-entry",
+ "alreadyInTransactionBehavior": "capture-new-transaction",
"traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
"timerName": "matcher"
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org