diff --git a/packages/mongodb/changelog.yml b/packages/mongodb/changelog.yml index acdae6c2f7..b49c6da3ec 100644 --- a/packages/mongodb/changelog.yml +++ b/packages/mongodb/changelog.yml @@ -1,3 +1,8 @@ +- version: "1.7.0" + changes: + - description: Migrate `Metrics Overview` dashboard visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/5830 - version: "1.6.1" changes: - description: Added categories and/or subcategories. diff --git a/packages/mongodb/img/metricbeat-mongodb-overview.png b/packages/mongodb/img/metricbeat-mongodb-overview.png new file mode 100644 index 0000000000..6c28304e5b Binary files /dev/null and b/packages/mongodb/img/metricbeat-mongodb-overview.png differ diff --git a/packages/mongodb/kibana/dashboard/mongodb-Metrics-MongoDB.json b/packages/mongodb/kibana/dashboard/mongodb-Metrics-MongoDB.json index 4326ccf6fb..8f8df04cab 100644 --- a/packages/mongodb/kibana/dashboard/mongodb-Metrics-MongoDB.json +++ b/packages/mongodb/kibana/dashboard/mongodb-Metrics-MongoDB.json @@ -19,166 +19,1325 @@ "panelsJSON": [ { "embeddableConfig": { - "vis": { - "params": { - "sort": { - "columnIndex": null, - "direction": null + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-45c42eb1-8f78-4db0-96e4-1811e8492a82", + "type": "index-pattern" } - } - } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "45c42eb1-8f78-4db0-96e4-1811e8492a82": { + "columnOrder": [ + "0015e177-85bc-4501-ba93-5ec65a326974", + "3d630c80-38ff-4772-ab8a-68fb1541a9de", + "41587f54-b376-4090-946d-3f98b9c01e28", + "7f9ec3be-6c8d-474a-895a-039b700272c0", + "9e7d47ef-b3d7-496e-8fe7-0c1228c30fdf" + ], + "columns": { + "0015e177-85bc-4501-ba93-5ec65a326974": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "service.address: Descending", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "3d630c80-38ff-4772-ab8a-68fb1541a9de", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "service.address" + }, + "3d630c80-38ff-4772-ab8a-68fb1541a9de": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Number of connections", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.connections.current" + }, + "41587f54-b376-4090-946d-3f98b9c01e28": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Arch", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.memory.bits" + }, + "7f9ec3be-6c8d-474a-895a-039b700272c0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Resident memory", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.memory.resident.mb" + }, + "9e7d47ef-b3d7-496e-8fe7-0c1228c30fdf": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Virtual memory", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.memory.virtual.mb" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "columns": [ + { + "columnId": "0015e177-85bc-4501-ba93-5ec65a326974", + "isTransposed": false + }, + { + "alignment": "left", + "columnId": "3d630c80-38ff-4772-ab8a-68fb1541a9de", + "isTransposed": false + }, + { + "alignment": "left", + "columnId": "41587f54-b376-4090-946d-3f98b9c01e28", + "isTransposed": false + }, + { + "alignment": "left", + "columnId": "7f9ec3be-6c8d-474a-895a-039b700272c0", + "isTransposed": false + }, + { + "alignment": "left", + "columnId": "9e7d47ef-b3d7-496e-8fe7-0c1228c30fdf", + "isTransposed": false + } + ], + "layerId": "45c42eb1-8f78-4db0-96e4-1811e8492a82", + "layerType": "data", + "paging": { + "enabled": true, + "size": 10 + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsDatatable" + }, + "enhancements": {} }, "gridData": { "h": 12, - "i": "1", + "i": "bc6d5996-59f3-4afa-a07a-9b195f98526b", "w": 32, "x": 0, "y": 0 }, - "panelIndex": "1", - "panelRefName": "panel_0", - "version": "7.3.0" + "panelIndex": "bc6d5996-59f3-4afa-a07a-9b195f98526b", + "title": "Hosts", + "type": "lens", + "version": "8.1.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-629fcc28-f3f6-4e83-916c-2819fc27932f", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "629fcc28-f3f6-4e83-916c-2819fc27932f": { + "columnOrder": [ + "89a1e248-457e-4c1f-8d2e-1a06d123b98b", + "7c1cd580-5b6c-4936-8bb8-b28afc94acb2", + "6b3897b4-0ed3-4d0b-ae9d-112beb917f2a" + ], + "columns": { + "6b3897b4-0ed3-4d0b-ae9d-112beb917f2a": { + "dataType": "number", + "isBucketed": false, + "label": "Unique count of service.address", + "operationType": "unique_count", + "scale": "ratio", + "sourceField": "service.address" + }, + "7c1cd580-5b6c-4936-8bb8-b28afc94acb2": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of service.version", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "6b3897b4-0ed3-4d0b-ae9d-112beb917f2a", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "service.version" + }, + "89a1e248-457e-4c1f-8d2e-1a06d123b98b": { + "dataType": "string", + "isBucketed": true, + "label": "Top values of mongodb.status.storage_engine.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "6b3897b4-0ed3-4d0b-ae9d-112beb917f2a", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "mongodb.status.storage_engine.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "layers": [ + { + "categoryDisplay": "default", + "groups": [ + "89a1e248-457e-4c1f-8d2e-1a06d123b98b", + "7c1cd580-5b6c-4936-8bb8-b28afc94acb2" + ], + "layerId": "629fcc28-f3f6-4e83-916c-2819fc27932f", + "layerType": "data", + "legendDisplay": "default", + "legendPosition": "bottom", + "metric": "6b3897b4-0ed3-4d0b-ae9d-112beb917f2a", + "nestedLegend": false, + "numberDisplay": "percent" + } + ], + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "shape": "donut" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {} + }, "gridData": { "h": 12, - "i": "4", + "i": "aa0a1ce4-dab6-4b9d-a917-51ea8eabb3aa", "w": 16, "x": 32, "y": 0 }, - "panelIndex": "4", - "panelRefName": "panel_1", - "version": "7.3.0" + "panelIndex": "aa0a1ce4-dab6-4b9d-a917-51ea8eabb3aa", + "title": "Engine \u0026 Version", + "type": "lens", + "version": "8.1.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "4ac4c2b2-57a7-4452-9c9e-ded3004eb832": { + "columnOrder": [ + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3" + ], + "columns": { + "171b9c16-2712-4154-906f-3ea23ba7330b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Write Available", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.wired_tiger.concurrent_transactions.write.available" + }, + "6dfa235b-10f3-4355-8934-a82db71ecff3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Write Used", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.wired_tiger.concurrent_transactions.write.out" + }, + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3" + ], + "layerId": "4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "layerType": "data", + "position": "top", + "seriesType": "area_stacked", + "showGridlines": false, + "xAccessor": "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "yConfig": [ + { + "axisMode": "left", + "color": "#508642", + "forAccessor": "171b9c16-2712-4154-906f-3ea23ba7330b" + }, + { + "axisMode": "left", + "color": "#bf1b00", + "forAccessor": "6dfa235b-10f3-4355-8934-a82db71ecff3" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Count" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {} + }, "gridData": { "h": 12, - "i": "2", - "w": 24, - "x": 0, + "i": "38e509ef-aead-4347-8f62-79d1b27328e8", + "w": 12, + "x": 36, "y": 12 }, - "panelIndex": "2", - "panelRefName": "panel_2", - "version": "7.3.0" + "panelIndex": "38e509ef-aead-4347-8f62-79d1b27328e8", + "title": "Concurrent transactions Write", + "type": "lens", + "version": "8.1.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "4ac4c2b2-57a7-4452-9c9e-ded3004eb832": { + "columnOrder": [ + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd", + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc", + "588d29f1-b372-4e5c-b548-32aaeaea0ba0", + "19d533dc-eb1c-452d-bcaf-6d23d8971ccd" + ], + "columns": { + "171b9c16-2712-4154-906f-3ea23ba7330b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "command", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.ops.counters.command" + }, + "19d533dc-eb1c-452d-bcaf-6d23d8971ccd": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "update", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.ops.replicated.update" + }, + "588d29f1-b372-4e5c-b548-32aaeaea0ba0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "query", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.ops.counters.query" + }, + "6dfa235b-10f3-4355-8934-a82db71ecff3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "delete", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.ops.counters.delete" + }, + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b882feeb-c436-42a8-852d-ac3bcb89f2dd": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "getmore", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.ops.counters.getmore" + }, + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "insert", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.ops.counters.insert" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd", + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc", + "588d29f1-b372-4e5c-b548-32aaeaea0ba0", + "19d533dc-eb1c-452d-bcaf-6d23d8971ccd" + ], + "layerId": "4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "layerType": "data", + "position": "top", + "seriesType": "area_stacked", + "showGridlines": false, + "xAccessor": "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "yConfig": [ + { + "axisMode": "left", + "color": "#00a69b", + "forAccessor": "171b9c16-2712-4154-906f-3ea23ba7330b" + }, + { + "axisMode": "left", + "color": "#57c17b", + "forAccessor": "6dfa235b-10f3-4355-8934-a82db71ecff3" + }, + { + "axisMode": "left", + "color": "#6f87d8", + "forAccessor": "b882feeb-c436-42a8-852d-ac3bcb89f2dd" + }, + { + "axisMode": "left", + "color": "#663db8", + "forAccessor": "c5dc5e5d-1f17-4395-8a12-abea7371fdbc" + }, + { + "axisMode": "left", + "color": "#bc52bc", + "forAccessor": "588d29f1-b372-4e5c-b548-32aaeaea0ba0" + }, + { + "axisMode": "left", + "color": "#9e3533", + "forAccessor": "19d533dc-eb1c-452d-bcaf-6d23d8971ccd" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Count" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {} + }, "gridData": { "h": 12, - "i": "6", - "w": 12, - "x": 24, + "i": "8d83ef8a-9338-4a39-8f56-1007e767f237", + "w": 24, + "x": 0, "y": 12 }, - "panelIndex": "6", - "panelRefName": "panel_3", - "version": "7.3.0" + "panelIndex": "8d83ef8a-9338-4a39-8f56-1007e767f237", + "title": "Operation counters", + "type": "lens", + "version": "8.1.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "4ac4c2b2-57a7-4452-9c9e-ded3004eb832": { + "columnOrder": [ + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3" + ], + "columns": { + "171b9c16-2712-4154-906f-3ea23ba7330b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Read Available", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.wired_tiger.concurrent_transactions.read.available" + }, + "6dfa235b-10f3-4355-8934-a82db71ecff3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Read Used", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.wired_tiger.concurrent_transactions.read.out" + }, + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3" + ], + "layerId": "4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "layerType": "data", + "position": "top", + "seriesType": "area_stacked", + "showGridlines": false, + "xAccessor": "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "yConfig": [ + { + "axisMode": "left", + "color": "#508642", + "forAccessor": "171b9c16-2712-4154-906f-3ea23ba7330b" + }, + { + "axisMode": "left", + "color": "#bf1b00", + "forAccessor": "6dfa235b-10f3-4355-8934-a82db71ecff3" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Count" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {} + }, "gridData": { "h": 12, - "i": "7", + "i": "01cd0dd5-fe82-474c-a71d-1d383a578ac3", "w": 12, - "x": 36, + "x": 24, "y": 12 }, - "panelIndex": "7", - "panelRefName": "panel_4", - "version": "7.3.0" + "panelIndex": "01cd0dd5-fe82-474c-a71d-1d383a578ac3", + "title": "Concurrent transactions Read", + "type": "lens", + "version": "8.1.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "4ac4c2b2-57a7-4452-9c9e-ded3004eb832": { + "columnOrder": [ + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd" + ], + "columns": { + "171b9c16-2712-4154-906f-3ea23ba7330b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "max", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.wired_tiger.cache.maximum.bytes" + }, + "6dfa235b-10f3-4355-8934-a82db71ecff3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "used", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.wired_tiger.cache.used.bytes" + }, + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b882feeb-c436-42a8-852d-ac3bcb89f2dd": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "dirty", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.wired_tiger.cache.dirty.bytes" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd" + ], + "layerId": "4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "layerType": "data", + "position": "top", + "seriesType": "area_stacked", + "showGridlines": false, + "xAccessor": "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "yConfig": [ + { + "axisMode": "left", + "color": "#00a69b", + "forAccessor": "171b9c16-2712-4154-906f-3ea23ba7330b" + }, + { + "axisMode": "left", + "color": "#57c17b", + "forAccessor": "6dfa235b-10f3-4355-8934-a82db71ecff3" + }, + { + "axisMode": "left", + "color": "#6f87d8", + "forAccessor": "b882feeb-c436-42a8-852d-ac3bcb89f2dd" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Count" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {} + }, "gridData": { - "h": 16, - "i": "5", - "w": 48, + "h": 12, + "i": "bac2a243-da26-47e5-a25e-0190bbf6b2e5", + "w": 24, "x": 0, - "y": 36 + "y": 24 }, - "panelIndex": "5", - "panelRefName": "panel_5", - "version": "7.3.0" + "panelIndex": "bac2a243-da26-47e5-a25e-0190bbf6b2e5", + "title": "WiredTiger Cache", + "type": "lens", + "version": "8.1.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "4ac4c2b2-57a7-4452-9c9e-ded3004eb832": { + "columnOrder": [ + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd", + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc", + "588d29f1-b372-4e5c-b548-32aaeaea0ba0" + ], + "columns": { + "171b9c16-2712-4154-906f-3ea23ba7330b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "message", + "operationType": "max", + "scale": "ratio", + "sourceField": "mongodb.status.asserts.msg" + }, + "588d29f1-b372-4e5c-b548-32aaeaea0ba0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "warning", + "operationType": "max", + "scale": "ratio", + "sourceField": "mongodb.status.asserts.warning" + }, + "6dfa235b-10f3-4355-8934-a82db71ecff3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "regular", + "operationType": "max", + "scale": "ratio", + "sourceField": "mongodb.status.asserts.regular" + }, + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b882feeb-c436-42a8-852d-ac3bcb89f2dd": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "rollover", + "operationType": "max", + "scale": "ratio", + "sourceField": "mongodb.status.asserts.rollovers" + }, + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "user", + "operationType": "max", + "scale": "ratio", + "sourceField": "mongodb.status.asserts.user" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd", + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc", + "588d29f1-b372-4e5c-b548-32aaeaea0ba0" + ], + "layerId": "4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "layerType": "data", + "position": "top", + "seriesType": "area_stacked", + "showGridlines": false, + "xAccessor": "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "yConfig": [ + { + "axisMode": "left", + "color": "#00a69b", + "forAccessor": "171b9c16-2712-4154-906f-3ea23ba7330b" + }, + { + "axisMode": "left", + "color": "#57c17b", + "forAccessor": "6dfa235b-10f3-4355-8934-a82db71ecff3" + }, + { + "axisMode": "left", + "color": "#6f87d8", + "forAccessor": "b882feeb-c436-42a8-852d-ac3bcb89f2dd" + }, + { + "axisMode": "left", + "color": "#663db8", + "forAccessor": "c5dc5e5d-1f17-4395-8a12-abea7371fdbc" + }, + { + "axisMode": "left", + "color": "#bc52bc", + "forAccessor": "588d29f1-b372-4e5c-b548-32aaeaea0ba0" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Count" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {} + }, "gridData": { "h": 12, - "i": "3", + "i": "f010c091-9148-441c-9104-d991418b0584", "w": 24, "x": 24, "y": 24 }, - "panelIndex": "3", - "panelRefName": "panel_6", - "version": "7.3.0" + "panelIndex": "f010c091-9148-441c-9104-d991418b0584", + "title": "Asserts", + "type": "lens", + "version": "8.1.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "4ac4c2b2-57a7-4452-9c9e-ded3004eb832": { + "columnOrder": [ + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd", + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc" + ], + "columns": { + "171b9c16-2712-4154-906f-3ea23ba7330b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Mapped", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.memory.mapped.mb" + }, + "6dfa235b-10f3-4355-8934-a82db71ecff3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Mapped with journal", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.memory.mapped_with_journal.mb" + }, + "997050e4-41c9-43a3-ad7d-c4d5810f5ecd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b882feeb-c436-42a8-852d-ac3bcb89f2dd": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Rezident", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.memory.resident.mb" + }, + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Virtual", + "operationType": "average", + "scale": "ratio", + "sourceField": "mongodb.status.memory.virtual.mb" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" + }, + "visualization": { + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "171b9c16-2712-4154-906f-3ea23ba7330b", + "6dfa235b-10f3-4355-8934-a82db71ecff3", + "b882feeb-c436-42a8-852d-ac3bcb89f2dd", + "c5dc5e5d-1f17-4395-8a12-abea7371fdbc" + ], + "layerId": "4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "997050e4-41c9-43a3-ad7d-c4d5810f5ecd", + "yConfig": [ + { + "axisMode": "left", + "color": "#00a69b", + "forAccessor": "171b9c16-2712-4154-906f-3ea23ba7330b" + }, + { + "axisMode": "left", + "color": "#57c17b", + "forAccessor": "6dfa235b-10f3-4355-8934-a82db71ecff3" + }, + { + "axisMode": "left", + "color": "#6f87d8", + "forAccessor": "b882feeb-c436-42a8-852d-ac3bcb89f2dd" + }, + { + "axisMode": "left", + "color": "#663db8", + "forAccessor": "c5dc5e5d-1f17-4395-8a12-abea7371fdbc" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Count" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {} + }, "gridData": { - "h": 12, - "i": "8", - "w": 24, + "h": 16, + "i": "4de5684e-c5c9-45be-b15a-0251215994c2", + "w": 48, "x": 0, - "y": 24 + "y": 36 }, - "panelIndex": "8", - "panelRefName": "panel_7", - "version": "7.3.0" + "panelIndex": "4de5684e-c5c9-45be-b15a-0251215994c2", + "title": "Memory stats", + "type": "lens", + "version": "8.1.0" } ], "timeRestore": false, "title": "[Metrics MongoDB] Overview", "version": 1 }, + "coreMigrationVersion": "8.1.0", "id": "mongodb-Metrics-MongoDB", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.1.0" }, "references": [ { - "id": "mongodb-hosts", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "bc6d5996-59f3-4afa-a07a-9b195f98526b:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "bc6d5996-59f3-4afa-a07a-9b195f98526b:indexpattern-datasource-layer-45c42eb1-8f78-4db0-96e4-1811e8492a82", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "aa0a1ce4-dab6-4b9d-a917-51ea8eabb3aa:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "aa0a1ce4-dab6-4b9d-a917-51ea8eabb3aa:indexpattern-datasource-layer-629fcc28-f3f6-4e83-916c-2819fc27932f", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "38e509ef-aead-4347-8f62-79d1b27328e8:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "38e509ef-aead-4347-8f62-79d1b27328e8:indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "8d83ef8a-9338-4a39-8f56-1007e767f237:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "8d83ef8a-9338-4a39-8f56-1007e767f237:indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "01cd0dd5-fe82-474c-a71d-1d383a578ac3:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" }, { - "id": "mongodb-Engine-ampersand-Version", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "01cd0dd5-fe82-474c-a71d-1d383a578ac3:indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" }, { - "id": "mongodb-operation-counters", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "bac2a243-da26-47e5-a25e-0190bbf6b2e5:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" }, { - "id": "mongodb-Concurrent-transactions-Read", - "name": "panel_3", - "type": "visualization" + "id": "metrics-*", + "name": "bac2a243-da26-47e5-a25e-0190bbf6b2e5:indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" }, { - "id": "mongodb-Concurrent-transactions-Write", - "name": "panel_4", - "type": "visualization" + "id": "metrics-*", + "name": "f010c091-9148-441c-9104-d991418b0584:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" }, { - "id": "mongodb-memory-stats", - "name": "panel_5", - "type": "visualization" + "id": "metrics-*", + "name": "f010c091-9148-441c-9104-d991418b0584:indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" }, { - "id": "mongodb-asserts", - "name": "panel_6", - "type": "visualization" + "id": "metrics-*", + "name": "4de5684e-c5c9-45be-b15a-0251215994c2:indexpattern-datasource-current-indexpattern", + "type": "index-pattern" }, { - "id": "mongodb-WiredTiger-Cache", - "name": "panel_7", - "type": "visualization" + "id": "metrics-*", + "name": "4de5684e-c5c9-45be-b15a-0251215994c2:indexpattern-datasource-layer-4ac4c2b2-57a7-4452-9c9e-ded3004eb832", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/mongodb/kibana/search/mongodb-search.json b/packages/mongodb/kibana/search/mongodb-search.json deleted file mode 100644 index abd7a1fb36..0000000000 --- a/packages/mongodb/kibana/search/mongodb-search.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "attributes": { - "columns": [ - "_source" - ], - "description": "", - "hits": 0, - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "highlight": { - "fields": { - "*": {} - }, - "fragment_size": 2147483647, - "post_tags": [ - "@/kibana-highlighted-field@" - ], - "pre_tags": [ - "@kibana-highlighted-field@" - ], - "require_field_match": false - }, - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "(data_stream.dataset:mongodb.collstats OR data_stream.dataset:mongodb.dbstats OR data_stream.dataset:mongodb.metrics OR data_stream.dataset:mongodb.replstatus OR data_stream.dataset:mongodb.status)" - } - } - }, - "sort": [ - [ - "@timestamp", - "desc" - ] - ], - "title": "MongoDB search", - "version": 1 - }, - "id": "mongodb-search", - "migrationVersion": { - "search": "7.4.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "search" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-Concurrent-transactions-Read.json b/packages/mongodb/kibana/visualization/mongodb-Concurrent-transactions-Read.json deleted file mode 100644 index b7045c898f..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-Concurrent-transactions-Read.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "Concurrent transactions Read", - "uiStateJSON": { - "vis": { - "colors": { - "Read Available": "#508642", - "Read Used": "#BF1B00" - } - } - }, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Read Available", - "field": "mongodb.status.wired_tiger.concurrent_transactions.read.available" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Read Used", - "field": "mongodb.status.wired_tiger.concurrent_transactions.read.out" - }, - "schema": "metric", - "type": "avg" - } - ], - "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" - } - ], - "defaultYExtents": false, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "interpolate": "linear", - "legendPosition": "bottom", - "mode": "stacked", - "scale": "linear", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - } - ], - "setYExtents": false, - "shareYAxis": true, - "smoothLines": false, - "times": [], - "type": "area", - "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": "Count" - }, - "type": "value" - } - ], - "yAxis": {} - }, - "title": "Concurrent transactions Read [Metrics MongoDB]", - "type": "area" - } - }, - "id": "mongodb-Concurrent-transactions-Read", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-Concurrent-transactions-Write.json b/packages/mongodb/kibana/visualization/mongodb-Concurrent-transactions-Write.json deleted file mode 100644 index 1489ec3957..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-Concurrent-transactions-Write.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "Concurrent transactions Write", - "uiStateJSON": { - "vis": { - "colors": { - "Write Available": "#629E51", - "Write Used": "#BF1B00" - } - } - }, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Write Available", - "field": "mongodb.status.wired_tiger.concurrent_transactions.write.available" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Write Used", - "field": "mongodb.status.wired_tiger.concurrent_transactions.write.out" - }, - "schema": "metric", - "type": "avg" - } - ], - "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" - } - ], - "defaultYExtents": false, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "interpolate": "linear", - "legendPosition": "bottom", - "mode": "stacked", - "scale": "linear", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - } - ], - "setYExtents": false, - "shareYAxis": true, - "smoothLines": false, - "times": [], - "type": "area", - "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": "Count" - }, - "type": "value" - } - ], - "yAxis": {} - }, - "title": "Concurrent transactions Write [Metrics MongoDB]", - "type": "area" - } - }, - "id": "mongodb-Concurrent-transactions-Write", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-Engine-ampersand-Version.json b/packages/mongodb/kibana/visualization/mongodb-Engine-ampersand-Version.json deleted file mode 100644 index 01a2c51455..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-Engine-ampersand-Version.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "Engine \u0026 Version", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "field": "service.address" - }, - "schema": "metric", - "type": "cardinality" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Engine", - "field": "mongodb.status.storage_engine.name", - "order": "desc", - "orderBy": "1", - "size": 5 - }, - "schema": "segment", - "type": "terms" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Version", - "field": "service.version", - "order": "desc", - "orderBy": "1", - "size": 5 - }, - "schema": "segment", - "type": "terms" - } - ], - "params": { - "addLegend": true, - "addTooltip": true, - "isDonut": true, - "legendPosition": "bottom", - "shareYAxis": true, - "type": "pie" - }, - "title": "Engine \u0026 Version [Metrics MongoDB]", - "type": "pie" - } - }, - "id": "mongodb-Engine-ampersand-Version", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-WiredTiger-Cache.json b/packages/mongodb/kibana/visualization/mongodb-WiredTiger-Cache.json deleted file mode 100644 index 6fc1a3422c..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-WiredTiger-Cache.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "WiredTiger Cache", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "max", - "field": "mongodb.status.wired_tiger.cache.maximum.bytes" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "used", - "field": "mongodb.status.wired_tiger.cache.used.bytes" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "dirty", - "field": "mongodb.status.wired_tiger.cache.dirty.bytes" - }, - "schema": "metric", - "type": "avg" - } - ], - "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" - } - ], - "defaultYExtents": false, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "interpolate": "linear", - "legendPosition": "bottom", - "mode": "overlap", - "scale": "linear", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - } - ], - "setYExtents": false, - "shareYAxis": true, - "smoothLines": false, - "times": [], - "type": "area", - "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": "Count" - }, - "type": "value" - } - ], - "yAxis": {} - }, - "title": "WiredTiger Cache [Metrics MongoDB]", - "type": "area" - } - }, - "id": "mongodb-WiredTiger-Cache", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-asserts.json b/packages/mongodb/kibana/visualization/mongodb-asserts.json deleted file mode 100644 index 27858b390f..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-asserts.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "Asserts", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "message", - "field": "mongodb.status.asserts.msg" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "2", - "params": { - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "regular", - "field": "mongodb.status.asserts.regular" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "rollover", - "field": "mongodb.status.asserts.rollovers" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "5", - "params": { - "customLabel": "user", - "field": "mongodb.status.asserts.user" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "6", - "params": { - "customLabel": "warning", - "field": "mongodb.status.asserts.warning" - }, - "schema": "metric", - "type": "max" - } - ], - "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" - } - ], - "defaultYExtents": false, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "interpolate": "linear", - "legendPosition": "bottom", - "mode": "stacked", - "scale": "linear", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - } - ], - "setYExtents": false, - "shareYAxis": true, - "smoothLines": false, - "times": [], - "type": "area", - "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": "Count" - }, - "type": "value" - } - ], - "yAxis": {} - }, - "title": "Asserts [Metrics MongoDB]", - "type": "area" - } - }, - "id": "mongodb-asserts", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-hosts.json b/packages/mongodb/kibana/visualization/mongodb-hosts.json deleted file mode 100644 index c9d9776dc1..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-hosts.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "Hosts", - "uiStateJSON": { - "vis": { - "params": { - "sort": { - "columnIndex": null, - "direction": null - } - } - } - }, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Number of connections", - "field": "mongodb.status.connections.current" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "field": "service.address", - "order": "desc", - "orderBy": "1", - "size": 5 - }, - "schema": "bucket", - "type": "terms" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Arch", - "field": "mongodb.status.memory.bits" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "Resident memory", - "field": "mongodb.status.memory.resident.mb" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "5", - "params": { - "customLabel": "Virtual memory", - "field": "mongodb.status.memory.virtual.mb" - }, - "schema": "metric", - "type": "avg" - } - ], - "params": { - "perPage": 10, - "showMeticsAtAllLevels": false, - "showPartialRows": false, - "showTotal": false, - "sort": { - "columnIndex": null, - "direction": null - }, - "totalFunc": "sum" - }, - "title": "Hosts [Metrics MongoDB]", - "type": "table" - } - }, - "id": "mongodb-hosts", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-memory-stats.json b/packages/mongodb/kibana/visualization/mongodb-memory-stats.json deleted file mode 100644 index 27f47582c3..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-memory-stats.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "Memory stats", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Mapped", - "field": "mongodb.status.memory.mapped.mb" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Mapped with journal", - "field": "mongodb.status.memory.mapped_with_journal.mb" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "Rezident", - "field": "mongodb.status.memory.resident.mb" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "5", - "params": { - "customLabel": "Virtual", - "field": "mongodb.status.memory.virtual.mb" - }, - "schema": "metric", - "type": "avg" - } - ], - "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" - } - ], - "defaultYExtents": false, - "drawLinesBetweenPoints": true, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "interpolate": "linear", - "legendPosition": "bottom", - "radiusRatio": 9, - "scale": "log", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "setYExtents": false, - "shareYAxis": true, - "showCircles": true, - "smoothLines": false, - "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": "Count" - }, - "type": "value" - } - ], - "yAxis": {} - }, - "title": "Memory stats [Metrics MongoDB]", - "type": "line" - } - }, - "id": "mongodb-memory-stats", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/kibana/visualization/mongodb-operation-counters.json b/packages/mongodb/kibana/visualization/mongodb-operation-counters.json deleted file mode 100644 index cddb0b8bf9..0000000000 --- a/packages/mongodb/kibana/visualization/mongodb-operation-counters.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [] - } - }, - "savedSearchRefName": "search_0", - "title": "Operation counters", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "command", - "field": "mongodb.status.ops.counters.command" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "2", - "params": { - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1 - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "delete", - "field": "mongodb.status.ops.counters.delete" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "getmore", - "field": "mongodb.status.ops.counters.getmore" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "5", - "params": { - "customLabel": "insert", - "field": "mongodb.status.ops.counters.insert" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "6", - "params": { - "customLabel": "query", - "field": "mongodb.status.ops.counters.query" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "7", - "params": { - "customLabel": "update", - "field": "mongodb.status.ops.replicated.update" - }, - "schema": "metric", - "type": "avg" - } - ], - "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" - } - ], - "defaultYExtents": false, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "interpolate": "linear", - "legendPosition": "bottom", - "mode": "stacked", - "scale": "linear", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - } - ], - "setYExtents": false, - "shareYAxis": true, - "smoothLines": false, - "times": [], - "type": "area", - "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": "Count" - }, - "type": "value" - } - ], - "yAxis": {} - }, - "title": "Operation counters [Metrics MongoDB]", - "type": "area" - } - }, - "id": "mongodb-operation-counters", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "mongodb-search", - "name": "search_0", - "type": "search" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/mongodb/manifest.yml b/packages/mongodb/manifest.yml index b88df9c5b0..b905cef94a 100644 --- a/packages/mongodb/manifest.yml +++ b/packages/mongodb/manifest.yml @@ -1,6 +1,6 @@ name: mongodb title: MongoDB -version: 1.6.1 +version: 1.7.0 description: Collect logs and metrics from MongoDB instances with Elastic Agent. type: integration categories: @@ -15,12 +15,16 @@ format_version: 1.0.0 license: basic release: ga conditions: - kibana.version: "^7.14.0 || ^8.0.0" + kibana.version: "^8.1.0" screenshots: - src: /img/filebeat-mongodb-overview.png title: filebeat mongodb overview size: 1920x1080 type: image/png + - src: /img/metricbeat-mongodb-overview.png + title: metricbeat mongodb overview + size: 1920x1080 + type: image/png policy_templates: - name: mongodb title: MongoDB logs and metrics