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 2019/11/20 01:57:16 UTC
[james-project] 48/49: JAMES-2773 add glowroot plugin for mail
spooler
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 352d2bfbf94ccc5dc2aeb7b8d7c760de3535262b
Author: RĂ©mi KOWALSKI <rk...@linagora.com>
AuthorDate: Tue Nov 19 15:18:19 2019 +0100
JAMES-2773 add glowroot plugin for mail spooler
---
.../destination/glowroot/plugins/spooler.json | 19 +++++++++++++++++++
.../destination/glowroot/plugins/spooler.json | 19 +++++++++++++++++++
.../destination/glowroot/plugins/spooler.json | 19 +++++++++++++++++++
.../destination/glowroot/plugins/spooler.json | 19 +++++++++++++++++++
.../destination/glowroot/plugins/spooler.json | 19 +++++++++++++++++++
.../jpa/destination/glowroot/plugins/spooler.json | 19 +++++++++++++++++++
.../memory/destination/glowroot/plugins/spooler.json | 19 +++++++++++++++++++
7 files changed, 133 insertions(+)
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/spooler.json
new file mode 100644
index 0000000..b9623a0
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/spooler.json
@@ -0,0 +1,19 @@
+{
+ "name": "Spooler Plugin",
+ "id": "spooler",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.mailetcontainer.api.MailProcessor",
+ "methodName": "service",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "Spooler",
+ "transactionNameTemplate": "Mailet processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "mailetProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/spooler.json
new file mode 100644
index 0000000..b9623a0
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/spooler.json
@@ -0,0 +1,19 @@
+{
+ "name": "Spooler Plugin",
+ "id": "spooler",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.mailetcontainer.api.MailProcessor",
+ "methodName": "service",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "Spooler",
+ "transactionNameTemplate": "Mailet processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "mailetProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/spooler.json
new file mode 100644
index 0000000..b9623a0
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/spooler.json
@@ -0,0 +1,19 @@
+{
+ "name": "Spooler Plugin",
+ "id": "spooler",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.mailetcontainer.api.MailProcessor",
+ "methodName": "service",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "Spooler",
+ "transactionNameTemplate": "Mailet processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "mailetProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/spooler.json
new file mode 100644
index 0000000..b9623a0
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/spooler.json
@@ -0,0 +1,19 @@
+{
+ "name": "Spooler Plugin",
+ "id": "spooler",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.mailetcontainer.api.MailProcessor",
+ "methodName": "service",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "Spooler",
+ "transactionNameTemplate": "Mailet processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "mailetProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/spooler.json
new file mode 100644
index 0000000..b9623a0
--- /dev/null
+++ b/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/spooler.json
@@ -0,0 +1,19 @@
+{
+ "name": "Spooler Plugin",
+ "id": "spooler",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.mailetcontainer.api.MailProcessor",
+ "methodName": "service",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "Spooler",
+ "transactionNameTemplate": "Mailet processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "mailetProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/jpa/destination/glowroot/plugins/spooler.json
new file mode 100644
index 0000000..b9623a0
--- /dev/null
+++ b/dockerfiles/run/guice/jpa/destination/glowroot/plugins/spooler.json
@@ -0,0 +1,19 @@
+{
+ "name": "Spooler Plugin",
+ "id": "spooler",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.mailetcontainer.api.MailProcessor",
+ "methodName": "service",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "Spooler",
+ "transactionNameTemplate": "Mailet processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "mailetProcessor"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/memory/destination/glowroot/plugins/spooler.json b/dockerfiles/run/guice/memory/destination/glowroot/plugins/spooler.json
new file mode 100644
index 0000000..b9623a0
--- /dev/null
+++ b/dockerfiles/run/guice/memory/destination/glowroot/plugins/spooler.json
@@ -0,0 +1,19 @@
+{
+ "name": "Spooler Plugin",
+ "id": "spooler",
+ "instrumentation": [
+ {
+ "className": "org.apache.james.mailetcontainer.api.MailProcessor",
+ "methodName": "service",
+ "methodParameterTypes": [
+ ".."
+ ],
+ "captureKind": "transaction",
+ "transactionType": "Spooler",
+ "transactionNameTemplate": "Mailet processor : {{this.class.name}}",
+ "alreadyInTransactionBehavior": "capture-trace-entry",
+ "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+ "timerName": "mailetProcessor"
+ }
+ ]
+}
\ 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