diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index ccd5a1f9dee..95887135cbe 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -320,6 +320,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Change Session ID type from int to string {pull}22359[22359] - Fix filesystem types on Windows in filesystem metricset. {pull}22531[22531] - Fix failiures caused by custom beat names with more than 15 characters {pull}22550[22550] +- Update NATS dashboards to leverage connection and route metricsets {pull}22646[22646] *Packetbeat* diff --git a/metricbeat/docs/images/metricbeat_nats_dashboard.png b/metricbeat/docs/images/metricbeat_nats_dashboard.png index 04f71345ef4..359cea905fc 100644 Binary files a/metricbeat/docs/images/metricbeat_nats_dashboard.png and b/metricbeat/docs/images/metricbeat_nats_dashboard.png differ diff --git a/metricbeat/module/nats/_meta/kibana/7/dashboard/Metricbeat-nats-overview.json b/metricbeat/module/nats/_meta/kibana/7/dashboard/Metricbeat-nats-overview.json index 7ff6121a2f6..99537cafeec 100644 --- a/metricbeat/module/nats/_meta/kibana/7/dashboard/Metricbeat-nats-overview.json +++ b/metricbeat/module/nats/_meta/kibana/7/dashboard/Metricbeat-nats-overview.json @@ -1,12 +1,368 @@ { "objects": [ + { + "attributes": { + "description": "Overview of NATS server status", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "highlightAll": true, + "query": { + "language": "kuery", + "query": "" + }, + "version": true + } + }, + "optionsJSON": { + "darkTheme": false, + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "title": "Subscriptions Info" + }, + "gridData": { + "h": 11, + "i": "6", + "w": 24, + "x": 0, + "y": 38 + }, + "panelIndex": "6", + "panelRefName": "panel_0", + "title": "Subscriptions Info", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Server Uptime" + }, + "gridData": { + "h": 11, + "i": "8", + "w": 24, + "x": 24, + "y": 38 + }, + "panelIndex": "8", + "panelRefName": "panel_1", + "title": "Server Uptime", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Subscriptions Stats Timeline" + }, + "gridData": { + "h": 10, + "i": "12", + "w": 13, + "x": 11, + "y": 28 + }, + "panelIndex": "12", + "panelRefName": "panel_2", + "title": "Subscriptions Stats Timeline", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Cache Hit Rate Timeline" + }, + "gridData": { + "h": 10, + "i": "18", + "w": 12, + "x": 24, + "y": 28 + }, + "panelIndex": "18", + "panelRefName": "panel_3", + "title": "Cache Hit Rate Timeline", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Memory Usage" + }, + "gridData": { + "h": 8, + "i": "4ffa8ccd-bd36-4eaf-973e-688b3025e95c", + "w": 15, + "x": 0, + "y": 0 + }, + "panelIndex": "4ffa8ccd-bd36-4eaf-973e-688b3025e95c", + "panelRefName": "panel_4", + "title": "Memory Usage", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Incoming Bytes Rate" + }, + "gridData": { + "h": 8, + "i": "b07d6b97-c0b5-4663-8507-8d3cc2a63367", + "w": 16, + "x": 15, + "y": 0 + }, + "panelIndex": "b07d6b97-c0b5-4663-8507-8d3cc2a63367", + "panelRefName": "panel_5", + "title": "Incoming Bytes Rate", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Connection Incoming Bytes" + }, + "gridData": { + "h": 8, + "i": "eb420bb0-754e-4544-bc1f-027568db1c8c", + "w": 17, + "x": 31, + "y": 0 + }, + "panelIndex": "eb420bb0-754e-4544-bc1f-027568db1c8c", + "panelRefName": "panel_6", + "title": "Connection Incoming Bytes", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Incoming Messages Rate" + }, + "gridData": { + "h": 10, + "i": "1ed3e570-4ece-42a4-92b1-fdc19e3e1ad5", + "w": 15, + "x": 0, + "y": 8 + }, + "panelIndex": "1ed3e570-4ece-42a4-92b1-fdc19e3e1ad5", + "panelRefName": "panel_7", + "title": "Incoming Messages Rate", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Connections" + }, + "gridData": { + "h": 10, + "i": "ed6181bc-4274-400a-a9d8-a84a027a4a77", + "w": 16, + "x": 15, + "y": 8 + }, + "panelIndex": "ed6181bc-4274-400a-a9d8-a84a027a4a77", + "panelRefName": "panel_8", + "title": "Connections", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Connections Uptime" + }, + "gridData": { + "h": 10, + "i": "7862e4cd-22db-493b-a3be-247570eaaa8a", + "w": 17, + "x": 31, + "y": 8 + }, + "panelIndex": "7862e4cd-22db-493b-a3be-247570eaaa8a", + "panelRefName": "panel_9", + "title": "Connections Uptime", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Total Routes" + }, + "gridData": { + "h": 10, + "i": "5c6f0fdf-67e6-4a39-8543-d46c3f833ac6", + "w": 15, + "x": 0, + "y": 18 + }, + "panelIndex": "5c6f0fdf-67e6-4a39-8543-d46c3f833ac6", + "panelRefName": "panel_10", + "title": "Total Routes", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Total Connections" + }, + "gridData": { + "h": 10, + "i": "258a5243-55f6-4195-90cb-ef3ec94707db", + "w": 16, + "x": 15, + "y": 18 + }, + "panelIndex": "258a5243-55f6-4195-90cb-ef3ec94707db", + "panelRefName": "panel_11", + "title": "Total Connections", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "title": "Connection Pending Bytes" + }, + "gridData": { + "h": 10, + "i": "0e68fd8a-abd9-4391-b2d0-026e79714835", + "w": 17, + "x": 31, + "y": 18 + }, + "panelIndex": "0e68fd8a-abd9-4391-b2d0-026e79714835", + "panelRefName": "panel_12", + "title": "Connection Pending Bytes", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "hidePanelTitles": false, + "title": "Slow Consumers" + }, + "gridData": { + "h": 10, + "i": "3141f1f6-d2d1-4b3f-8a7a-7d915bcb5d7c", + "w": 11, + "x": 0, + "y": 28 + }, + "panelIndex": "3141f1f6-d2d1-4b3f-8a7a-7d915bcb5d7c", + "panelRefName": "panel_13", + "title": "Slow Consumers", + "version": "7.10.0" + }, + { + "embeddableConfig": { + "hidePanelTitles": false, + "title": "Subscription Cache Actions" + }, + "gridData": { + "h": 10, + "i": "66f0d0ac-bf45-40e3-ba8c-32d6360e8584", + "w": 12, + "x": 36, + "y": 28 + }, + "panelIndex": "66f0d0ac-bf45-40e3-ba8c-32d6360e8584", + "panelRefName": "panel_14", + "title": "Subscription Cache Actions", + "version": "7.10.0" + } + ], + "timeRestore": false, + "title": "[Metricbeat NATS] Overview ECS", + "version": 1 + }, + "id": "Metricbeat-Nats-Dashboard-ecs", + "migrationVersion": { + "dashboard": "7.9.3" + }, + "namespaces": [ + "default" + ], + "references": [ + { + "id": "b129b220-1e44-11e9-a1b4-79a7ae42ab61-ecs", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "206f1bc0-1e45-11e9-a1b4-79a7ae42ab61-ecs", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "754215c0-1e46-11e9-a1b4-79a7ae42ab61-ecs", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "dff743a0-1f1c-11e9-a673-d9577e5e50eb-ecs", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "b877eb90-2988-11eb-8245-71f739a9f622", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "d3142a50-2987-11eb-8245-71f739a9f622", + "name": "panel_5", + "type": "visualization" + }, + { + "id": "5146f2a0-2987-11eb-8245-71f739a9f622", + "name": "panel_6", + "type": "visualization" + }, + { + "id": "eeb33da0-2987-11eb-8245-71f739a9f622", + "name": "panel_7", + "type": "visualization" + }, + { + "id": "431edfc0-2988-11eb-8245-71f739a9f622", + "name": "panel_8", + "type": "visualization" + }, + { + "id": "898d2fe0-2986-11eb-8245-71f739a9f622", + "name": "panel_9", + "type": "visualization" + }, + { + "id": "3a670a80-2986-11eb-8245-71f739a9f622", + "name": "panel_10", + "type": "visualization" + }, + { + "id": "55c2d340-2986-11eb-8245-71f739a9f622", + "name": "panel_11", + "type": "visualization" + }, + { + "id": "68d40020-2987-11eb-8245-71f739a9f622", + "name": "panel_12", + "type": "visualization" + }, + { + "id": "84e60a90-2a79-11eb-952d-594e5c56d011", + "name": "panel_13", + "type": "visualization" + }, + { + "id": "d80d4c30-2a81-11eb-9625-31ed579c09b3", + "name": "panel_14", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2020-11-19T16:12:16.796Z", + "version": "WzM3MDAsMV0=" + }, { "attributes": { "description": "", "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], - "index": "metricbeat-*", + "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", "query": { "language": "kuery", "query": "" @@ -125,9 +481,22 @@ } }, "id": "b129b220-1e44-11e9-a1b4-79a7ae42ab61-ecs", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [ + { + "id": "metricbeat-*", + "name": "kibanaSavedObjectMeta.searchSourceJSON.index", + "type": "index-pattern" + } + ], "type": "visualization", - "updated_at": "2019-01-24T07:54:30.301Z", - "version": 3 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI1MywxXQ==" }, { "attributes": { @@ -135,14 +504,14 @@ "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], - "index": "metricbeat-*", + "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", "query": { "language": "kuery", "query": "" } } }, - "title": "Current Memory Usage [Metricbeat NATS] ECS", + "title": "Server Uptime [Metricbeat NATS] ECS", "uiStateJSON": {}, "version": 1, "visState": { @@ -151,77 +520,27 @@ "enabled": true, "id": "1", "params": { - "customLabel": "Memory (Bytes)", - "field": "nats.stats.mem.bytes" + "customLabel": "Server Uptime", + "field": "nats.stats.uptime" }, "schema": "metric", "type": "avg" - } - ], - "params": { - "addLegend": false, - "addTooltip": true, - "metric": { - "colorSchema": "Green to Red", - "colorsRange": [ - { - "from": 0, - "to": 10000 - } - ], - "invertColors": false, - "labels": { - "show": true - }, - "metricColorMode": "None", - "percentageMode": false, - "style": { - "bgColor": false, - "bgFill": "#000", - "fontSize": 42, - "labelColor": false, - "subText": "" - }, - "useRanges": false }, - "type": "metric" - }, - "title": "Current Memory Usage [Metricbeat NATS] ECS", - "type": "metric" - } - }, - "id": "30a61c00-1e45-11e9-a1b4-79a7ae42ab61-ecs", - "type": "visualization", - "updated_at": "2019-01-24T07:56:32.097Z", - "version": 4 - }, - { - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "index": "metricbeat-*", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Server Uptime [Metricbeat NATS] ECS", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ { "enabled": true, - "id": "1", + "id": "2", "params": { - "customLabel": "Server Uptime", - "field": "nats.stats.uptime" + "field": "nats.server.id", + "missingBucket": false, + "missingBucketLabel": "Missing", + "order": "desc", + "orderBy": "1", + "otherBucket": false, + "otherBucketLabel": "Other", + "size": 5 }, - "schema": "metric", - "type": "avg" + "schema": "group", + "type": "terms" } ], "params": { @@ -257,9 +576,22 @@ } }, "id": "206f1bc0-1e45-11e9-a1b4-79a7ae42ab61-ecs", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [ + { + "id": "metricbeat-*", + "name": "kibanaSavedObjectMeta.searchSourceJSON.index", + "type": "index-pattern" + } + ], "type": "visualization", - "updated_at": "2019-01-24T07:57:04.084Z", - "version": 4 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI1NCwxXQ==" }, { "attributes": { @@ -267,14 +599,14 @@ "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], - "index": "metricbeat-*", + "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", "query": { "language": "kuery", "query": "" } } }, - "title": "Total Connections [Metricbeat NATS] ECS", + "title": "Subscription Stats Timeline [Metricbeat NATS] ECS", "uiStateJSON": {}, "version": 1, "visState": { @@ -283,74 +615,8 @@ "enabled": true, "id": "1", "params": { - "customLabel": "Total Connections", - "field": "nats.stats.total_connections" - }, - "schema": "metric", - "type": "avg" - } - ], - "params": { - "addLegend": false, - "addTooltip": true, - "metric": { - "colorSchema": "Green to Red", - "colorsRange": [ - { - "from": 0, - "to": 10000 - } - ], - "invertColors": false, - "labels": { - "show": true - }, - "metricColorMode": "None", - "percentageMode": false, - "style": { - "bgColor": false, - "bgFill": "#000", - "fontSize": 42, - "labelColor": false, - "subText": "" - }, - "useRanges": false - }, - "type": "metric" - }, - "title": "Total Connections [Metricbeat NATS] ECS", - "type": "metric" - } - }, - "id": "4c380ff0-1e45-11e9-a1b4-79a7ae42ab61-ecs", - "type": "visualization", - "updated_at": "2019-01-24T07:57:32.006Z", - "version": 4 - }, - { - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "index": "metricbeat-*", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Remotes-Subsz-Connz-Routez Timeline [Metricbeat NATS] ECS", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Connections", - "field": "nats.connections.total" + "customLabel": "Cache Fanout Avg", + "field": "nats.subscriptions.cache.fanout.avg" }, "schema": "metric", "type": "avg" @@ -359,11 +625,17 @@ "enabled": true, "id": "2", "params": { - "customInterval": "2h", + "drop_partials": false, "extended_bounds": {}, "field": "@timestamp", "interval": "auto", - "min_doc_count": 1 + "min_doc_count": 0, + "scaleMetricValues": false, + "timeRange": { + "from": "now-15m", + "to": "now" + }, + "useNormalizedEsInterval": true }, "schema": "segment", "type": "date_histogram" @@ -372,28 +644,8 @@ "enabled": true, "id": "3", "params": { - "customLabel": "Routes", - "field": "nats.routes.total" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "Remotes", - "field": "nats.stats.remotes" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "5", - "params": { - "customLabel": "Subscriptions", - "field": "nats.subscriptions.total" + "customLabel": "Cache Fanout Max", + "field": "nats.subscriptions.cache.fanout.max" }, "schema": "metric", "type": "avg" @@ -426,63 +678,43 @@ "color": "#eee" } }, + "labels": {}, "legendPosition": "right", "seriesParams": [ { "data": { "id": "1", - "label": "Connections" + "label": "Cache Fanout Avg" }, "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", + "mode": "normal", "show": "true", "showCircles": true, - "type": "area", + "type": "line", "valueAxis": "ValueAxis-1" }, { "data": { "id": "3", - "label": "Routes" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": true, - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "4", - "label": "Remotes" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": true, - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "5", - "label": "Subscriptions" + "label": "Cache Fanout Max" }, "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", + "mode": "normal", "show": true, "showCircles": true, - "type": "area", + "type": "line", "valueAxis": "ValueAxis-1" } ], + "thresholdLine": { + "color": "#E7664C", + "show": false, + "style": "full", + "value": 10, + "width": 1 + }, "times": [], - "type": "area", + "type": "line", "valueAxes": [ { "id": "ValueAxis-1", @@ -501,20 +733,33 @@ "show": true, "style": {}, "title": { - "text": "Connections" + "text": "Cache Fanout Avg" }, "type": "value" } ] }, - "title": "Remotes-Subsz-Connz-Routez Timeline [Metricbeat NATS] ECS", - "type": "area" + "title": "Subscription Stats Timeline [Metricbeat NATS] ECS", + "type": "line" } }, - "id": "199d3d30-1e46-11e9-a1b4-79a7ae42ab61-ecs", + "id": "754215c0-1e46-11e9-a1b4-79a7ae42ab61-ecs", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [ + { + "id": "metricbeat-*", + "name": "kibanaSavedObjectMeta.searchSourceJSON.index", + "type": "index-pattern" + } + ], "type": "visualization", - "updated_at": "2019-01-24T07:53:31.785Z", - "version": 3 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI1NSwxXQ==" }, { "attributes": { @@ -522,14 +767,14 @@ "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], - "index": "metricbeat-*", + "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", "query": { "language": "kuery", "query": "" } } }, - "title": "Subscription Stats Timeline [Metricbeat NATS] ECS", + "title": "Cache Hit Rate Timeline [Metricbeat NATS] ECS", "uiStateJSON": {}, "version": 1, "visState": { @@ -538,8 +783,8 @@ "enabled": true, "id": "1", "params": { - "customLabel": "Cache Fanout Avg", - "field": "nats.subscriptions.cache.fanout.avg" + "customLabel": "Cache Hit Rate", + "field": "nats.subscriptions.cache.hit_rate" }, "schema": "metric", "type": "avg" @@ -548,7 +793,6 @@ "enabled": true, "id": "2", "params": { - "customInterval": "2h", "extended_bounds": {}, "field": "@timestamp", "interval": "auto", @@ -556,46 +800,6 @@ }, "schema": "segment", "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Cache Fanout Max", - "field": "nats.subscriptions.cache.fanout.max" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "5", - "params": { - "customLabel": "Inserts", - "field": "nats.subscriptions.inserts" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "6", - "params": { - "customLabel": "Removes", - "field": "nats.subscriptions.removes" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "7", - "params": { - "customLabel": "Matches", - "field": "nats.subscriptions.matches" - }, - "schema": "metric", - "type": "avg" } ], "params": { @@ -630,7 +834,7 @@ { "data": { "id": "1", - "label": "Cache Fanout Avg" + "label": "Cache Hit Rate" }, "drawLinesBetweenPoints": true, "mode": "normal", @@ -638,54 +842,6 @@ "showCircles": true, "type": "line", "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "3", - "label": "Cache Fanout Max" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": true, - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "5", - "label": "Inserts" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": true, - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "6", - "label": "Removes" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": true, - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "7", - "label": "Matches" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": true, - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" } ], "times": [], @@ -708,659 +864,701 @@ "show": true, "style": {}, "title": { - "text": "Cache Fanout Avg" + "text": "Cache Hit Rate (%)" }, "type": "value" } ] }, - "title": "Subscription Stats Timeline [Metricbeat NATS] ECS", + "title": "Cache Hit Rate Timeline [Metricbeat NATS] ECS", "type": "line" } }, - "id": "754215c0-1e46-11e9-a1b4-79a7ae42ab61-ecs", + "id": "dff743a0-1f1c-11e9-a673-d9577e5e50eb-ecs", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [ + { + "id": "metricbeat-*", + "name": "kibanaSavedObjectMeta.searchSourceJSON.index", + "type": "index-pattern" + } + ], "type": "visualization", - "updated_at": "2019-01-23T14:55:04.899Z", - "version": 3 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI1NiwxXQ==" }, { "attributes": { "description": "", "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "index": "metricbeat-*", - "query": { - "language": "kuery", - "query": "" - } - } + "searchSourceJSON": {} }, - "title": "Slow Consumers Timeline [Metricbeat NATS] ECS", + "title": "Memory Usage [Metricbeat NATS]", "uiStateJSON": {}, "version": 1, "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Slow Consumers", - "field": "nats.stats.slow_consumers" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "customInterval": "2h", - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - } - ], + "aggs": [], "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "bytes", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Memory Usage", + "line_width": 2, + "metrics": [ + { + "field": "nats.stats.mem.bytes", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "avg", + "unit": "" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.server.id", + "type": "timeseries", + "value_template": "{{value}}" } ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Slow Consumers" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Slow Consumers" - }, - "type": "value" - } - ] + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" }, - "title": "Slow Consumers Timeline [Metricbeat NATS] ECS", - "type": "line" + "title": "Memory Usage [Metricbeat NATS]", + "type": "metrics" } }, - "id": "94534190-1e97-11e9-b9e7-93b3bd2eec90-ecs", + "id": "b877eb90-2988-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], "type": "visualization", - "updated_at": "2019-01-23T14:53:57.137Z", - "version": 2 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI1NywxXQ==" }, { "attributes": { "description": "", "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "index": "metricbeat-*", - "query": { - "language": "kuery", - "query": "" - } - } + "searchSourceJSON": {} }, - "title": "IO Bytes Stats [Metricbeat NATS] ECS", + "title": "Incoming Bytes Rate [Metricbeat NATS]", "uiStateJSON": {}, "version": 1, "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "In Bytes", - "field": "nats.stats.in.bytes" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Out Bytes", - "field": "nats.stats.out.bytes" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "3", - "params": { - "customInterval": "2h", - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - } - ], + "aggs": [], "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "In Bytes" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - }, + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "data": { - "id": "2", - "label": "Out Bytes" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": true, - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "bytes", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Incoming Bytes Rate", + "line_width": 2, + "metrics": [ + { + "field": "nats.stats.in.bytes", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "positive_rate" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.server.id", + "type": "timeseries", + "value_template": "{{value}}" } ], - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "IO Bytes" - }, - "type": "value" - } - ] + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" }, - "title": "IO Bytes Stats [Metricbeat NATS] ECS", - "type": "line" + "title": "Incoming Bytes Rate [Metricbeat NATS]", + "type": "metrics" } }, - "id": "be1d8a20-1e98-11e9-b9e7-93b3bd2eec90-ecs", + "id": "d3142a50-2987-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], "type": "visualization", - "updated_at": "2019-01-24T07:48:22.914Z", - "version": 4 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI1OCwxXQ==" }, { "attributes": { "description": "", "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "index": "metricbeat-*", - "query": { - "language": "kuery", - "query": "" - } - } + "searchSourceJSON": {} }, - "title": "Memory Utilization Timeline [Metricbeat NATS] ECS", + "title": "Connection Incoming Bytes [Metricbeat NATS]", "uiStateJSON": {}, "version": 1, "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Memory Avg", - "field": "nats.stats.mem.bytes" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "customInterval": "2h", - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - } - ], + "aggs": [], "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" }, - "legendPosition": "right", - "seriesParams": [ + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "data": { - "id": "1", - "label": "Memory Avg" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "bytes", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Connection Incoming Bytes", + "line_width": 2, + "metrics": [ + { + "field": "nats.connection.in.bytes", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.connection.name", + "type": "timeseries", + "value_template": "{{value}}" } ], - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Memory Avg (Bytes)" - }, - "type": "value" - } - ] + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" }, - "title": "Memory Utilization Timeline [Metricbeat NATS] ECS", - "type": "line" + "title": "Connection Incoming Bytes [Metricbeat NATS]", + "type": "metrics" } }, - "id": "8204e820-1e99-11e9-b9e7-93b3bd2eec90-ecs", + "id": "5146f2a0-2987-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], "type": "visualization", - "updated_at": "2019-01-24T07:52:55.445Z", - "version": 5 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI1OSwxXQ==" }, { "attributes": { "description": "", "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "index": "metricbeat-*", - "query": { - "language": "kuery", - "query": "" - } - } + "searchSourceJSON": {} }, - "title": "IO Messages Stats [Metricbeat NATS] ECS", + "title": "Incoming Messages Rate [Metricbeat NATS]", "uiStateJSON": {}, "version": 1, "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "In Messages", - "field": "nats.stats.in.messages" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Out Messages", - "field": "nats.stats.out.messages" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "3", - "params": { - "customInterval": "2h", - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - } - ], + "aggs": [], "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "number", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Incoming Messages Rate", + "line_width": 2, + "metrics": [ + { + "field": "nats.stats.in.messages", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "positive_rate", + "unit": "" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.server.id", + "type": "timeseries", + "value_template": "{{value}}" } ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" + }, + "title": "Incoming Messages Rate [Metricbeat NATS]", + "type": "metrics" + } + }, + "id": "eeb33da0-2987-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], + "type": "visualization", + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI2MCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": {} + }, + "title": "Connections [Metricbeat NATS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" }, - "legendPosition": "right", - "seriesParams": [ + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "data": { - "id": "1", - "label": "In Messages" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "2", - "label": "Out Messages" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": true, - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "number", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Connections", + "line_width": 2, + "metrics": [ + { + "field": "nats.stats.total_connections", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "positive_rate", + "unit": "" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.server.id", + "type": "timeseries", + "value_template": "{{value}}" } ], - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "IO Messages" - }, - "type": "value" - } - ] + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" }, - "title": "IO Messages Stats [Metricbeat NATS] ECS", - "type": "line" + "title": "Connections [Metricbeat NATS]", + "type": "metrics" } }, - "id": "cdbf4110-1f0d-11e9-a673-d9577e5e50eb-ecs", + "id": "431edfc0-2988-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], "type": "visualization", - "updated_at": "2019-01-24T07:47:25.774Z", - "version": 2 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI2MSwxXQ==" }, { "attributes": { "description": "", "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "index": "metricbeat-*", - "query": { + "searchSourceJSON": {} + }, + "title": "Connections Uptime [Metricbeat NATS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { "language": "kuery", "query": "" - } - } + }, + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "s,s,", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Connection Uptime", + "line_width": 2, + "metrics": [ + { + "field": "nats.connection.uptime", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.connection.name", + "type": "timeseries", + "value_template": "{{value}}" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" + }, + "title": "Connections Uptime [Metricbeat NATS]", + "type": "metrics" + } + }, + "id": "898d2fe0-2986-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], + "type": "visualization", + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI2MiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": {} }, - "title": "CPU Utilization Timeline [Metricbeat NATS] ECS", + "title": "Total Routes [Metricbeat NATS]", "uiStateJSON": {}, "version": 1, "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "CPU Avg", - "field": "nats.stats.cpu" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "customInterval": "2h", - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - } - ], + "aggs": [], "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "number", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Routes", + "line_width": 2, + "metrics": [ + { + "field": "nats.routes.total", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.server.id", + "value_template": "{{value}}" } ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" + }, + "title": "Total Routes [Metricbeat NATS]", + "type": "metrics" + } + }, + "id": "3a670a80-2986-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], + "type": "visualization", + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI2MywxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": {} + }, + "title": "Total Connections [Metricbeat NATS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" }, - "legendPosition": "right", - "seriesParams": [ + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "data": { - "id": "1", - "label": "CPU Avg" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "number", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Connections", + "line_width": 2, + "metrics": [ + { + "field": "nats.connections.total", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.server.id", + "type": "timeseries", + "value_template": "{{value}}" } ], - "times": [], - "type": "line", - "valueAxes": [ + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" + }, + "title": "Total Connections [Metricbeat NATS]", + "type": "metrics" + } + }, + "id": "55c2d340-2986-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], + "type": "visualization", + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI2NCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": {} + }, + "title": "Connection Pending Bytes [Metricbeat NATS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "CPU Avg (%)" - }, - "type": "value" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "bytes", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Connection Pending Bytes", + "line_width": 2, + "metrics": [ + { + "field": "nats.connection.pending_bytes", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "avg" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.connection.name", + "type": "timeseries", + "value_template": "{{value}}" } - ] + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" }, - "title": "CPU Utilization Timeline [Metricbeat NATS] ECS", - "type": "line" + "title": "Connection Pending Bytes [Metricbeat NATS]", + "type": "metrics" } }, - "id": "138dc660-1f1a-11e9-a673-d9577e5e50eb-ecs", + "id": "68d40020-2987-11eb-8245-71f739a9f622", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], "type": "visualization", - "updated_at": "2019-01-24T07:51:51.767Z", - "version": 2 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI2NSwxXQ==" }, { "attributes": { @@ -1368,322 +1566,236 @@ "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], - "index": "metricbeat-*", "query": { "language": "kuery", "query": "" } } }, - "title": "Cache Hit Rate Timeline [Metricbeat NATS] ECS", + "title": "Slow Consumers [Metricbeat NATS]", "uiStateJSON": {}, "version": 1, "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Cache Hit Rate", - "field": "nats.subscriptions.cache.hit_rate" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "customInterval": "2h", - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - } - ], + "aggs": [], "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" }, - "legendPosition": "right", - "seriesParams": [ + "id": "e4c53250-2985-11eb-9192-5db805fbad79", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ { - "data": { - "id": "1", - "label": "Cache Hit Rate" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "number", + "id": "e4c53251-2985-11eb-9192-5db805fbad79", + "label": "Slow Consumers", + "line_width": 2, + "metrics": [ + { + "field": "nats.stats.slow_consumers", + "id": "e4c53252-2985-11eb-9192-5db805fbad79", + "type": "avg", + "unit": "" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "nats.server.id", + "type": "timeseries", + "value_template": "{{value}}" } ], - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Cache Hit Rate (%)" - }, - "type": "value" - } - ] + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" }, - "title": "Cache Hit Rate Timeline [Metricbeat NATS] ECS", - "type": "line" + "title": "Slow Consumers [Metricbeat NATS]", + "type": "metrics" } }, - "id": "dff743a0-1f1c-11e9-a673-d9577e5e50eb-ecs", + "id": "84e60a90-2a79-11eb-952d-594e5c56d011", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], "type": "visualization", - "updated_at": "2019-01-23T14:57:20.994Z", - "version": 2 + "updated_at": "2020-11-19T15:52:48.969Z", + "version": "WzI2NiwxXQ==" }, { "attributes": { - "description": "Overview of NATS server status", - "hits": 0, + "description": "", "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], - "highlightAll": true, "query": { "language": "kuery", "query": "" - }, - "version": true + } } }, - "optionsJSON": { - "darkTheme": false, - "hidePanelTitles": false, - "useMargins": true - }, - "panelsJSON": [ - { - "embeddableConfig": {}, - "gridData": { - "h": 11, - "i": "6", - "w": 24, - "x": 0, - "y": 45 - }, - "id": "b129b220-1e44-11e9-a1b4-79a7ae42ab61-ecs", - "panelIndex": "6", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 7, - "i": "7", - "w": 13, - "x": 24, - "y": 34 - }, - "id": "30a61c00-1e45-11e9-a1b4-79a7ae42ab61-ecs", - "panelIndex": "7", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 7, - "i": "8", - "w": 11, - "x": 37, - "y": 34 - }, - "id": "206f1bc0-1e45-11e9-a1b4-79a7ae42ab61-ecs", - "panelIndex": "8", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 8, - "i": "9", - "w": 8, - "x": 24, - "y": 41 - }, - "id": "4c380ff0-1e45-11e9-a1b4-79a7ae42ab61-ecs", - "panelIndex": "9", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 11, - "i": "11", - "w": 24, - "x": 0, - "y": 34 - }, - "id": "199d3d30-1e46-11e9-a1b4-79a7ae42ab61-ecs", - "panelIndex": "11", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 10, - "i": "12", - "w": 18, - "x": 15, - "y": 0 - }, - "id": "754215c0-1e46-11e9-a1b4-79a7ae42ab61-ecs", - "panelIndex": "12", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 10, - "i": "13", - "w": 15, - "x": 0, - "y": 0 - }, - "id": "94534190-1e97-11e9-b9e7-93b3bd2eec90-ecs", - "panelIndex": "13", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 12, - "i": "14", - "w": 24, - "x": 24, - "y": 10 + "title": "Subscription Cache Actions [Metricbeat NATS]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": 0, + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "filter": { + "language": "kuery", + "query": "" }, - "id": "be1d8a20-1e98-11e9-b9e7-93b3bd2eec90-ecs", - "panelIndex": "14", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": { - "vis": { - "legendOpen": true + "id": "a9b96760-2a81-11eb-8cd4-770b42226f97", + "index_pattern": "metricbeat-*", + "interval": "auto", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#6092C0", + "fill": 0, + "formatter": "number", + "id": "a9b96761-2a81-11eb-8cd4-770b42226f97", + "label": "rate(inserts)", + "line_width": 2, + "metrics": [ + { + "field": "nats.subscriptions.inserts", + "id": "a9b96762-2a81-11eb-8cd4-770b42226f97", + "type": "max" + }, + { + "field": "a9b96762-2a81-11eb-8cd4-770b42226f97", + "id": "a9b96764-2a81-11eb-8cd4-770b42226f97", + "type": "derivative", + "unit": "1s" + }, + { + "field": "a9b96764-2a81-11eb-8cd4-770b42226f97", + "id": "a9b96763-2a81-11eb-8cd4-770b42226f97", + "type": "positive_only" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "value_template": "{{value}}/s" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#D36086", + "fill": 0, + "formatter": "number", + "id": "a9b96765-2a81-11eb-8cd4-770b42226f97", + "label": "rate(removes)", + "line_width": 2, + "metrics": [ + { + "field": "nats.subscriptions.removes", + "id": "a9b96766-2a81-11eb-8cd4-770b42226f97", + "type": "max" + }, + { + "field": "a9b96766-2a81-11eb-8cd4-770b42226f97", + "id": "a9b96768-2a81-11eb-8cd4-770b42226f97", + "type": "derivative", + "unit": "1s" + }, + { + "field": "a9b96768-2a81-11eb-8cd4-770b42226f97", + "id": "a9b96767-2a81-11eb-8cd4-770b42226f97", + "type": "positive_only" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "value_template": "{{value}}/s" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "#54B399", + "fill": 0, + "formatter": "number", + "id": "a9b96769-2a81-11eb-8cd4-770b42226f97", + "label": "rate(matches)", + "line_width": 2, + "metrics": [ + { + "field": "nats.subscriptions.matches", + "id": "a9b9676a-2a81-11eb-8cd4-770b42226f97", + "type": "max" + }, + { + "field": "a9b9676a-2a81-11eb-8cd4-770b42226f97", + "id": "a9b9676c-2a81-11eb-8cd4-770b42226f97", + "type": "derivative", + "unit": "1s" + }, + { + "field": "a9b9676c-2a81-11eb-8cd4-770b42226f97", + "id": "a9b9676b-2a81-11eb-8cd4-770b42226f97", + "type": "positive_only" + } + ], + "point_size": 0, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "value_template": "{{value}}/s" } - }, - "gridData": { - "h": 12, - "i": "15", - "w": 24, - "x": 24, - "y": 22 - }, - "id": "8204e820-1e99-11e9-b9e7-93b3bd2eec90-ecs", - "panelIndex": "15", - "type": "visualization", - "version": "6.5.4" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 12, - "i": "16", - "w": 24, - "x": 0, - "y": 10 - }, - "id": "cdbf4110-1f0d-11e9-a673-d9577e5e50eb-ecs", - "panelIndex": "16", - "type": "visualization", - "version": "6.3.2" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 12, - "i": "17", - "w": 24, - "x": 0, - "y": 22 - }, - "id": "138dc660-1f1a-11e9-a673-d9577e5e50eb-ecs", - "panelIndex": "17", - "type": "visualization", - "version": "6.3.2" + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "@timestamp", + "tooltip_mode": "show_all", + "type": "timeseries" }, - { - "embeddableConfig": {}, - "gridData": { - "h": 10, - "i": "18", - "w": 15, - "x": 33, - "y": 0 - }, - "id": "dff743a0-1f1c-11e9-a673-d9577e5e50eb-ecs", - "panelIndex": "18", - "type": "visualization", - "version": "6.3.2" - } - ], - "timeRestore": false, - "title": "[Metricbeat NATS] Overview ECS", - "version": 1 + "title": "Subscription Cache Actions [Metricbeat NATS]", + "type": "metrics" + } }, - "id": "Metricbeat-Nats-Dashboard-ecs", - "type": "dashboard", - "updated_at": "2019-01-24T08:13:29.732Z", - "version": 4 + "id": "d80d4c30-2a81-11eb-9625-31ed579c09b3", + "migrationVersion": { + "visualization": "7.10.0" + }, + "namespaces": [ + "default" + ], + "references": [], + "type": "visualization", + "updated_at": "2020-11-19T16:11:12.882Z", + "version": "WzMyNjEsMV0=" } ], - "version": "6.3.2" + "version": "7.10.0" }