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:17 UTC

[james-project] 49/49: JAMES-2773 add glowroot plugin to track put into blobstore

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 caaed8be8a4a4fa9fa16de4a69663a94b8b253cb
Author: RĂ©mi KOWALSKI <rk...@linagora.com>
AuthorDate: Tue Nov 19 15:35:22 2019 +0100

    JAMES-2773 add glowroot plugin to track put into blobstore
---
 .../destination/glowroot/plugins/blobstore.json    | 26 ++++++++++++++++++++++
 .../destination/glowroot/plugins/blobstore.json    | 26 ++++++++++++++++++++++
 .../destination/glowroot/plugins/blobstore.json    | 26 ++++++++++++++++++++++
 .../destination/glowroot/plugins/blobstore.json    | 26 ++++++++++++++++++++++
 .../destination/glowroot/plugins/blobstore.json    | 26 ++++++++++++++++++++++
 .../destination/glowroot/plugins/blobstore.json    | 26 ++++++++++++++++++++++
 .../destination/glowroot/plugins/blobstore.json    | 26 ++++++++++++++++++++++
 7 files changed, 182 insertions(+)

diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/blobstore.json b/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/blobstore.json
new file mode 100644
index 0000000..84291c6
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/glowroot/plugins/blobstore.json
@@ -0,0 +1,26 @@
+{
+  "name": "BlobStore Plugin",
+  "id": "blob_store",
+  "instrumentation": [
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putDirectly",
+      "methodParameterTypes": [
+        ".."
+      ]
+    },
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putAndComputeId",
+      "methodParameterTypes": [
+        ".."
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/blobstore.json b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/blobstore.json
new file mode 100644
index 0000000..84291c6
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/glowroot/plugins/blobstore.json
@@ -0,0 +1,26 @@
+{
+  "name": "BlobStore Plugin",
+  "id": "blob_store",
+  "instrumentation": [
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putDirectly",
+      "methodParameterTypes": [
+        ".."
+      ]
+    },
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putAndComputeId",
+      "methodParameterTypes": [
+        ".."
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/blobstore.json b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/blobstore.json
new file mode 100644
index 0000000..84291c6
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/glowroot/plugins/blobstore.json
@@ -0,0 +1,26 @@
+{
+  "name": "BlobStore Plugin",
+  "id": "blob_store",
+  "instrumentation": [
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putDirectly",
+      "methodParameterTypes": [
+        ".."
+      ]
+    },
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putAndComputeId",
+      "methodParameterTypes": [
+        ".."
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/blobstore.json b/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/blobstore.json
new file mode 100644
index 0000000..84291c6
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra/destination/glowroot/plugins/blobstore.json
@@ -0,0 +1,26 @@
+{
+  "name": "BlobStore Plugin",
+  "id": "blob_store",
+  "instrumentation": [
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putDirectly",
+      "methodParameterTypes": [
+        ".."
+      ]
+    },
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putAndComputeId",
+      "methodParameterTypes": [
+        ".."
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/blobstore.json b/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/blobstore.json
new file mode 100644
index 0000000..84291c6
--- /dev/null
+++ b/dockerfiles/run/guice/jpa-smtp/destination/glowroot/plugins/blobstore.json
@@ -0,0 +1,26 @@
+{
+  "name": "BlobStore Plugin",
+  "id": "blob_store",
+  "instrumentation": [
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putDirectly",
+      "methodParameterTypes": [
+        ".."
+      ]
+    },
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putAndComputeId",
+      "methodParameterTypes": [
+        ".."
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa/destination/glowroot/plugins/blobstore.json b/dockerfiles/run/guice/jpa/destination/glowroot/plugins/blobstore.json
new file mode 100644
index 0000000..84291c6
--- /dev/null
+++ b/dockerfiles/run/guice/jpa/destination/glowroot/plugins/blobstore.json
@@ -0,0 +1,26 @@
+{
+  "name": "BlobStore Plugin",
+  "id": "blob_store",
+  "instrumentation": [
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putDirectly",
+      "methodParameterTypes": [
+        ".."
+      ]
+    },
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putAndComputeId",
+      "methodParameterTypes": [
+        ".."
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/dockerfiles/run/guice/memory/destination/glowroot/plugins/blobstore.json b/dockerfiles/run/guice/memory/destination/glowroot/plugins/blobstore.json
new file mode 100644
index 0000000..84291c6
--- /dev/null
+++ b/dockerfiles/run/guice/memory/destination/glowroot/plugins/blobstore.json
@@ -0,0 +1,26 @@
+{
+  "name": "BlobStore Plugin",
+  "id": "blob_store",
+  "instrumentation": [
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putDirectly",
+      "methodParameterTypes": [
+        ".."
+      ]
+    },
+    {
+      "captureKind": "trace-entry",
+      "traceEntryMessageTemplate": "{{this.class.name}}.{{methodName}}",
+      "timerName": "blobstore",
+      "className": "org.apache.james.blob.objectstorage.BlobPutter",
+      "methodName": "putAndComputeId",
+      "methodParameterTypes": [
+        ".."
+      ]
+    }
+  ]
+}
\ 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