diff options
author | jackpoz <giacomopoz@gmail.com> | 2020-07-28 17:46:38 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2020-07-28 17:49:51 +0200 |
commit | 5cd93df9eec1d1b310916fefecc9282e02e9cf2d (patch) | |
tree | a2d5411ed5926d7f36853e39ef1027d936c8ffe1 /contrib | |
parent | 1245833cdd9988a2ac9c3a9374b40e76a53d889a (diff) |
Core/Metric: Add new metric in World::UpdateSessions()
Add new metric about how long adding sessions took
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/grafana/4_Performance_profiling.json | 172 |
1 files changed, 15 insertions, 157 deletions
diff --git a/contrib/grafana/4_Performance_profiling.json b/contrib/grafana/4_Performance_profiling.json index b16c2bf5d80..0803039310a 100644 --- a/contrib/grafana/4_Performance_profiling.json +++ b/contrib/grafana/4_Performance_profiling.json @@ -29,7 +29,7 @@ "gnetId": null, "graphTooltip": 0, "id": 15, - "iteration": 1595882804610, + "iteration": 1595951047228, "links": [], "panels": [ { @@ -471,6 +471,12 @@ "key": "realm", "operator": "=~", "value": "/^$realm$/" + }, + { + "condition": "AND", + "key": "parent_type", + "operator": "!~", + "value": "/./" } ] } @@ -825,15 +831,19 @@ "hiddenSeries": false, "id": 9, "legend": { + "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": true, - "max": false, + "max": true, "min": false, - "show": false, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, "total": false, - "values": false + "values": true }, "lines": true, "linewidth": 2, @@ -949,7 +959,6 @@ "dashLength": 10, "dashes": false, "datasource": null, - "description": "", "fieldConfig": { "defaults": { "custom": {} @@ -965,157 +974,6 @@ "y": 23 }, "hiddenSeries": false, - "id": 10, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "hideEmpty": false, - "hideZero": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": false, - "linewidth": 2, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "Account ID $tag_account_id", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "account_id" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "world_update_sessions_time", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT max(\"value\") FROM \"map_update_time_diff\" WHERE (\"realm\" =~ /^$realm$/) AND $timeFilter GROUP BY time($__interval), \"map_id\" fill(none)", - "rawQuery": false, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "max" - } - ] - ], - "tags": [ - { - "key": "realm", - "operator": "=~", - "value": "/^$realm$/" - }, - { - "condition": "AND", - "key": "value", - "operator": ">", - "value": "100" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Update sessions - Above 100 ms", - "tooltip": { - "shared": false, - "sort": 2, - "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 - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 31 - }, - "hiddenSeries": false, "id": 11, "legend": { "alignAsTable": true, @@ -1295,5 +1153,5 @@ "timezone": "", "title": "Performance profiling", "uid": "IRRL03nMk", - "version": 6 + "version": 7 }
\ No newline at end of file |