This is an automated email from the ASF dual-hosted git repository. rouazana pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 83b7a56c86733c7c040e949b34cf65d0c8f406ce Author: Rene Cordier <[email protected]> AuthorDate: Thu Mar 28 10:21:16 2019 +0700 JAMES-2686 grafana board for predeletion hooks execution times --- .../PreDeletionHooks-1553684324244-dashboard.json | 187 +++++++++++++++++++++ grafana-reporting/README.md | 1 + src/site/xdoc/server/metrics.xml | 1 + 3 files changed, 189 insertions(+) diff --git a/grafana-reporting/PreDeletionHooks-1553684324244-dashboard.json b/grafana-reporting/PreDeletionHooks-1553684324244-dashboard.json new file mode 100644 index 0000000..71369c8 --- /dev/null +++ b/grafana-reporting/PreDeletionHooks-1553684324244-dashboard.json @@ -0,0 +1,187 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": 6, + "links": [], + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Elasticsearch", + "fill": 1, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "stack": false, + "steppedLine": false, + "targets": [ + { + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto", + "min_doc_count": 0, + "trimEdges": 0 + }, + "type": "date_histogram" + } + ], + "metrics": [ + { + "field": "p99", + "id": "1", + "meta": {}, + "settings": {}, + "type": "avg" + }, + { + "field": "p95", + "id": "3", + "meta": {}, + "settings": {}, + "type": "avg" + }, + { + "field": "p75", + "id": "4", + "meta": {}, + "settings": {}, + "type": "avg" + }, + { + "field": "p50", + "id": "5", + "meta": {}, + "settings": {}, + "type": "avg" + } + ], + "query": "name:preDeletionHook", + "refId": "A", + "timeField": "@timestamp" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "PreDeletionHook", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": false, + "schemaVersion": 18, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "PreDeletionHooks", + "uid": "ntIRCz6mk", + "version": 2 +} \ No newline at end of file diff --git a/grafana-reporting/README.md b/grafana-reporting/README.md index 73bac4c..7201b91 100644 --- a/grafana-reporting/README.md +++ b/grafana-reporting/README.md @@ -37,3 +37,4 @@ Note that you need to run a guice version of James. - Mailbox listeners statistics - MailQueue enqueue/dequeue timer & counter statistics - BlobStore timer statistics + - Statistics about pre-deletion hooks execution times diff --git a/src/site/xdoc/server/metrics.xml b/src/site/xdoc/server/metrics.xml index 433d62f..d9fa171 100644 --- a/src/site/xdoc/server/metrics.xml +++ b/src/site/xdoc/server/metrics.xml @@ -66,6 +66,7 @@ <li>Tika HTTP client statistics</li> <li>SpamAssassin TCP client statistics</li> <li>Mailbox listeners statistics time percentiles</li> + <li>Pre-deletion hooks execution statistics time percentiles</li> </ul> Retrieve <a href="https://github.com/apache/james-project/tree/master/grafana-reporting">available boards</a> for Grafana. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
