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 ma...@apache.org on 2019/06/28 14:17:33 UTC
[james-project] 02/03: JAMES-2773 add glowroot plugins to track
IMAP transaction
This is an automated email from the ASF dual-hosted git repository.
matthieu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit c474562f235f539a04983c812fb85997f880269b
Author: RĂ©mi Kowalski <rk...@linagora.com>
AuthorDate: Wed May 15 11:54:46 2019 +0200
JAMES-2773 add glowroot plugins to track IMAP transaction
---
.../destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
.../destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
.../destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
.../cassandra/destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
.../jpa-smtp/destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
.../guice/jpa/destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
.../memory/destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
.../run/spring/destination/glowroot/plugins/imap.json | 19 +++++++++++++++++++
8 files changed, 152 insertions(+)
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/imap.json b/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/imap.json b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/imap.json b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/imap.json b/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/imap.json b/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa/destination/glowroot/plugins/imap.json b/dockerfiles/run/guice/jpa/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/guice/jpa/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/memory/destination/glowroot/plugins/imap.json b/dockerfiles/run/guice/memory/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/guice/memory/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/spring/destination/glowroot/plugins/imap.json b/dockerfiles/run/spring/destination/glowroot/plugins/imap.json
new file mode 100644
index 0000000..d27904f
--- /dev/null
+++ b/dockerfiles/run/spring/destination/glowroot/plugins/imap.json
@@ -0,0 +1,19 @@
+{
+ "name": "IMAP Plugin",
+ "id": "imap",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.imap.processor.base.AbstractChainedProcessor",
+ "methodName": "doProcess",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "IMAP",
+ "transactionNameTemplate": "IMAP processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "imapProcessor"
+ }
+ ]
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org