diff --git a/packages/haproxy/changelog.yml b/packages/haproxy/changelog.yml index 94311bb44479..66dacbbebf95 100644 --- a/packages/haproxy/changelog.yml +++ b/packages/haproxy/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.7.0" + changes: + - description: Migrate stat data-stream visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/5611 - version: "1.5.1" changes: - description: Added categories and/or subcategories. diff --git a/packages/haproxy/img/haproxy-metrics-backend.png b/packages/haproxy/img/haproxy-metrics-backend.png new file mode 100644 index 000000000000..b78e62e6ee45 Binary files /dev/null and b/packages/haproxy/img/haproxy-metrics-backend.png differ diff --git a/packages/haproxy/img/haproxy-metrics-frontend.png b/packages/haproxy/img/haproxy-metrics-frontend.png new file mode 100644 index 000000000000..6aba807a10f8 Binary files /dev/null and b/packages/haproxy/img/haproxy-metrics-frontend.png differ diff --git a/packages/haproxy/img/haproxy-metrics-http-backend.png b/packages/haproxy/img/haproxy-metrics-http-backend.png new file mode 100644 index 000000000000..6e65f7db5dd9 Binary files /dev/null and b/packages/haproxy/img/haproxy-metrics-http-backend.png differ diff --git a/packages/haproxy/img/haproxy-metrics-http-frontend.png b/packages/haproxy/img/haproxy-metrics-http-frontend.png new file mode 100644 index 000000000000..a7a79c58e628 Binary files /dev/null and b/packages/haproxy/img/haproxy-metrics-http-frontend.png differ diff --git a/packages/haproxy/img/haproxy-metrics-http-server.png b/packages/haproxy/img/haproxy-metrics-http-server.png new file mode 100644 index 000000000000..6480b352d26b Binary files /dev/null and b/packages/haproxy/img/haproxy-metrics-http-server.png differ diff --git a/packages/haproxy/img/haproxy-metrics-overview.png b/packages/haproxy/img/haproxy-metrics-overview.png new file mode 100644 index 000000000000..17c7d9a91da8 Binary files /dev/null and b/packages/haproxy/img/haproxy-metrics-overview.png differ diff --git a/packages/haproxy/kibana/dashboard/haproxy-0836a4b0-47bd-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/dashboard/haproxy-0836a4b0-47bd-11e8-bc13-1397384faad3.json index fa02a519ef5b..113f64bc1a82 100644 --- a/packages/haproxy/kibana/dashboard/haproxy-0836a4b0-47bd-11e8-bc13-1397384faad3.json +++ b/packages/haproxy/kibana/dashboard/haproxy-0836a4b0-47bd-11e8-bc13-1397384faad3.json @@ -20,161 +20,1876 @@ }, "panelsJSON": [ { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-2fba7341-7686-4300-ac0b-71a934863c33", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-d92dc444-9899-4a3f-bba1-d88acc925dc3", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-73176231-3e7a-49e2-bc58-810f7f36f682", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc": { + "columnOrder": [ + "4c614dd6-2788-4719-a01f-0e28bed67033", + "4a605bd3-8d26-4157-949c-898b48e99c54", + "4a605bd3-8d26-4157-949c-898b48e99c54X0", + "4a605bd3-8d26-4157-949c-898b48e99c54X1", + "4a605bd3-8d26-4157-949c-898b48e99c54X2" + ], + "columns": { + "4a605bd3-8d26-4157-949c-898b48e99c54": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "300s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X2" + ], + "scale": "ratio" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.3xx" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "differences", + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X0" + ], + "scale": "ratio" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "type": "function" + } + }, + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X1" + ], + "scale": "ratio" + }, + "4c614dd6-2788-4719-a01f-0e28bed67033": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "2fba7341-7686-4300-ac0b-71a934863c33": { + "columnOrder": [ + "4894fcc1-f359-40e6-91d3-14d3c4687149", + "e65e16be-8949-45c1-9d62-4c7869130020", + "e65e16be-8949-45c1-9d62-4c7869130020X0", + "e65e16be-8949-45c1-9d62-4c7869130020X1", + "e65e16be-8949-45c1-9d62-4c7869130020X2" + ], + "columns": { + "4894fcc1-f359-40e6-91d3-14d3c4687149": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "e65e16be-8949-45c1-9d62-4c7869130020": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "200s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.2xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X2" + ], + "scale": "ratio" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.2xx" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "differences", + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X0" + ], + "scale": "ratio" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "e65e16be-8949-45c1-9d62-4c7869130020X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.2xx)), 0)", + "type": "function" + } + }, + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + }, + "73176231-3e7a-49e2-bc58-810f7f36f682": { + "columnOrder": [ + "45bd785e-e939-47af-8719-11cf3418004a", + "013c26c6-17fb-4a7b-8646-c32ca37d090c", + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358" + ], + "columns": { + "013c26c6-17fb-4a7b-8646-c32ca37d090c": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Other", + "operationType": "differences", + "references": [ + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358" + ], + "scale": "ratio" + }, + "45bd785e-e939-47af-8719-11cf3418004a": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.response.http.other", + "operationType": "sum", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.other" + } + }, + "incompleteColumns": {} + }, + "9da452b6-5ea7-4e64-8c6b-e480ca307e90": { + "columnOrder": [ + "8026680f-5eba-4a32-948e-b2d87783d32d", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2" + ], + "columns": { + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "400s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2" + ], + "scale": "ratio" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.4xx" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "differences", + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0" + ], + "scale": "ratio" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "type": "function" + } + }, + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1" + ], + "scale": "ratio" + }, + "8026680f-5eba-4a32-948e-b2d87783d32d": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "d92dc444-9899-4a3f-bba1-d88acc925dc3": { + "columnOrder": [ + "0b85f28a-b6c6-4e3e-b271-04be17a42f57", + "6748ff2b-a0de-4591-9936-1ee496048cc3", + "6748ff2b-a0de-4591-9936-1ee496048cc3X0", + "6748ff2b-a0de-4591-9936-1ee496048cc3X1", + "6748ff2b-a0de-4591-9936-1ee496048cc3X2" + ], + "columns": { + "0b85f28a-b6c6-4e3e-b271-04be17a42f57": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "500s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X2" + ], + "scale": "ratio" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.5xx" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "differences", + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X0" + ], + "scale": "ratio" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "type": "function" + } + }, + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + }, + "fc89f6a7-4d4f-441a-bfa2-b804d7078540": { + "columnOrder": [ + "79068ac4-ae7e-404b-8e31-fb5013792f4b", + "79f2b50f-858c-49a5-aec7-07267c81617d", + "72a566f0-7d61-4813-856e-22de65b8c0f5" + ], + "columns": { + "72a566f0-7d61-4813-856e-22de65b8c0f5": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.response.errors", + "operationType": "sum", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.errors" + }, + "79068ac4-ae7e-404b-8e31-fb5013792f4b": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "79f2b50f-858c-49a5-aec7-07267c81617d": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Response errors", + "operationType": "differences", + "references": [ + "72a566f0-7d61-4813-856e-22de65b8c0f5" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "e65e16be-8949-45c1-9d62-4c7869130020" + ], + "layerId": "2fba7341-7686-4300-ac0b-71a934863c33", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "4894fcc1-f359-40e6-91d3-14d3c4687149", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "e65e16be-8949-45c1-9d62-4c7869130020" + } + ] + }, + { + "accessors": [ + "4a605bd3-8d26-4157-949c-898b48e99c54" + ], + "layerId": "15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "layerType": "data", + "seriesType": "area", + "xAccessor": "4c614dd6-2788-4719-a01f-0e28bed67033", + "yConfig": [ + { + "axisMode": "left", + "color": "#40f000", + "forAccessor": "4a605bd3-8d26-4157-949c-898b48e99c54" + } + ] + }, + { + "accessors": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0" + ], + "layerId": "9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "layerType": "data", + "seriesType": "area", + "xAccessor": "8026680f-5eba-4a32-948e-b2d87783d32d", + "yConfig": [ + { + "axisMode": "left", + "color": "#fff600", + "forAccessor": "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0" + } + ] + }, + { + "accessors": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3" + ], + "layerId": "d92dc444-9899-4a3f-bba1-d88acc925dc3", + "layerType": "data", + "seriesType": "area", + "xAccessor": "0b85f28a-b6c6-4e3e-b271-04be17a42f57", + "yConfig": [ + { + "axisMode": "left", + "color": "#ff0004", + "forAccessor": "6748ff2b-a0de-4591-9936-1ee496048cc3" + } + ] + }, + { + "accessors": [ + "013c26c6-17fb-4a7b-8646-c32ca37d090c" + ], + "layerId": "73176231-3e7a-49e2-bc58-810f7f36f682", + "layerType": "data", + "seriesType": "area", + "xAccessor": "45bd785e-e939-47af-8719-11cf3418004a", + "yConfig": [ + { + "axisMode": "left", + "color": "#00fbff", + "forAccessor": "013c26c6-17fb-4a7b-8646-c32ca37d090c" + } + ] + }, + { + "accessors": [ + "79f2b50f-858c-49a5-aec7-07267c81617d" + ], + "layerId": "fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "layerType": "data", + "seriesType": "area", + "xAccessor": "79068ac4-ae7e-404b-8e31-fb5013792f4b", + "yConfig": [ + { + "axisMode": "left", + "color": "#0f1419", + "forAccessor": "79f2b50f-858c-49a5-aec7-07267c81617d" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { - "h": 8, - "i": "1", - "w": 16, + "h": 12, + "i": "ba0eb58b-973d-4093-a158-c4059f2c95ef", + "w": 24, "x": 0, - "y": 20 + "y": 0 + }, + "panelIndex": "ba0eb58b-973d-4093-a158-c4059f2c95ef", + "title": "HTTP response codes [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" + }, + { + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9a69fff1-d48f-4416-a221-dba5e4d604f6", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "9a69fff1-d48f-4416-a221-dba5e4d604f6": { + "columnOrder": [ + "41e693b1-0c54-42a8-862e-3253f0380481" + ], + "columns": { + "41e693b1-0c54-42a8-862e-3253f0380481": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Total servers", + "operationType": "unique_count", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.server.id" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type : 2 or haproxy.stat.component_type : 3" + }, + "visualization": { + "accessor": "41e693b1-0c54-42a8-862e-3253f0380481", + "colorMode": "None", + "layerId": "9a69fff1-d48f-4416-a221-dba5e4d604f6", + "layerType": "data", + "size": "xxl", + "textAlign": "center" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsLegacyMetric" + }, + "enhancements": {}, + "hidePanelTitles": true, + "type": "lens" + }, + "gridData": { + "h": 8, + "i": "1b72fd3b-5474-4226-8ce4-d8e7c2d7df53", + "w": 12, + "x": 24, + "y": 0 }, - "panelIndex": "1", - "panelRefName": "panel_0", - "version": "7.3.0" + "panelIndex": "1b72fd3b-5474-4226-8ce4-d8e7c2d7df53", + "title": "Total servers in backend [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9a69fff1-d48f-4416-a221-dba5e4d604f6", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "9a69fff1-d48f-4416-a221-dba5e4d604f6": { + "columnOrder": [ + "41e693b1-0c54-42a8-862e-3253f0380481" + ], + "columns": { + "41e693b1-0c54-42a8-862e-3253f0380481": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "haproxy.stat.status:UP" + }, + "isBucketed": false, + "label": "Active servers", + "operationType": "unique_count", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.server.id" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type : 2 or haproxy.stat.component_type : 3" + }, + "visualization": { + "accessor": "41e693b1-0c54-42a8-862e-3253f0380481", + "colorMode": "Labels", + "layerId": "9a69fff1-d48f-4416-a221-dba5e4d604f6", + "layerType": "data", + "palette": { + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#FF0006", + "stop": null + } + ], + "continuity": "below", + "maxSteps": 5, + "name": "custom", + "progression": "fixed", + "rangeMax": 0, + "rangeMin": null, + "rangeType": "number", + "reverse": false, + "steps": 3, + "stops": [ + { + "color": "#FF0006", + "stop": 100 + } + ] + }, + "type": "palette" + }, + "size": "xxl", + "textAlign": "center" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsLegacyMetric" + }, + "enhancements": {}, + "hidePanelTitles": true, + "type": "lens" + }, "gridData": { "h": 8, - "i": "2", + "i": "bd3adfc1-f405-4f2f-9f38-baf207ca4861", "w": 12, "x": 36, "y": 0 }, - "panelIndex": "2", - "panelRefName": "panel_1", - "version": "7.3.0" + "panelIndex": "bd3adfc1-f405-4f2f-9f38-baf207ca4861", + "title": "Active servers in backend [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-1ee12873-9e13-450d-bad6-e678489068c9", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "1ee12873-9e13-450d-bad6-e678489068c9": { + "columnOrder": [ + "feb5073a-f13e-46d0-8f21-eacc42edf1ed", + "78fe8508-e763-45b7-b8cb-24c3e05f5bd4", + "465e057f-4a01-4439-94d8-8b33d6afdcae", + "465e057f-4a01-4439-94d8-8b33d6afdcaeX0", + "465e057f-4a01-4439-94d8-8b33d6afdcaeX1" + ], + "columns": { + "465e057f-4a01-4439-94d8-8b33d6afdcae": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Downtime", + "operationType": "formula", + "params": { + "format": { + "id": "number", + "params": { + "decimals": 1, + "suffix": "s" + } + }, + "formula": "differences(average(haproxy.stat.downtime))", + "isFormulaBroken": false + }, + "references": [ + "465e057f-4a01-4439-94d8-8b33d6afdcaeX1" + ], + "scale": "ratio" + }, + "465e057f-4a01-4439-94d8-8b33d6afdcaeX0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Downtime", + "operationType": "average", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.downtime" + }, + "465e057f-4a01-4439-94d8-8b33d6afdcaeX1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Downtime", + "operationType": "differences", + "references": [ + "465e057f-4a01-4439-94d8-8b33d6afdcaeX0" + ], + "scale": "ratio" + }, + "78fe8508-e763-45b7-b8cb-24c3e05f5bd4": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "feb5073a-f13e-46d0-8f21-eacc42edf1ed": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type:1" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": false, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "465e057f-4a01-4439-94d8-8b33d6afdcae" + ], + "layerId": "1ee12873-9e13-450d-bad6-e678489068c9", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "feb5073a-f13e-46d0-8f21-eacc42edf1ed", + "xAccessor": "78fe8508-e763-45b7-b8cb-24c3e05f5bd4", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "465e057f-4a01-4439-94d8-8b33d6afdcae" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Downtime" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 12, - "i": "3", + "i": "ae6a352b-298b-4777-a5fc-7bd0250ebd71", "w": 24, "x": 24, "y": 8 }, - "panelIndex": "3", - "panelRefName": "panel_2", - "version": "7.3.0" + "panelIndex": "ae6a352b-298b-4777-a5fc-7bd0250ebd71", + "title": "Downtime seconds [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-2efeacdc-11ff-4bd2-87ca-2d9043a70e33", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "2efeacdc-11ff-4bd2-87ca-2d9043a70e33": { + "columnOrder": [ + "bf2476f3-39f3-4470-8bc1-bdb6319c892f", + "d8abf3ff-d2ff-41b5-85c4-1d21cc5a0626" + ], + "columns": { + "bf2476f3-39f3-4470-8bc1-bdb6319c892f": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "d8abf3ff-d2ff-41b5-85c4-1d21cc5a0626": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average response time", + "operationType": "average", + "params": { + "format": { + "id": "number", + "params": { + "decimals": 0, + "suffix": "ms" + } + } + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "d8abf3ff-d2ff-41b5-85c4-1d21cc5a0626" + ], + "layerId": "2efeacdc-11ff-4bd2-87ca-2d9043a70e33", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "bf2476f3-39f3-4470-8bc1-bdb6319c892f", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "d8abf3ff-d2ff-41b5-85c4-1d21cc5a0626" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 8, - "i": "4", - "w": 12, - "x": 24, - "y": 0 + "i": "1de7e639-a665-40dc-b14d-07a581236962", + "w": 24, + "x": 0, + "y": 12 }, - "panelIndex": "4", - "panelRefName": "panel_3", - "version": "7.3.0" + "panelIndex": "1de7e639-a665-40dc-b14d-07a581236962", + "title": "Average response time [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9595c8ab-61db-4fbd-83be-e6243ac036ad", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "9595c8ab-61db-4fbd-83be-e6243ac036ad": { + "columnOrder": [ + "eb5a7251-9dec-4d24-9b29-482e3f8488b3", + "6777cb2c-5de7-4dbd-810d-4e6a104c0d8c", + "786cf1cf-80eb-4c77-87b9-bb04bded03fc", + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX0", + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1", + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX2" + ], + "columns": { + "6777cb2c-5de7-4dbd-810d-4e6a104c0d8c": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Number of connections", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "isFormulaBroken": false + }, + "references": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX2" + ], + "scale": "ratio" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "differences", + "references": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX0" + ], + "scale": "ratio" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1", + 0 + ], + "location": { + "max": 60, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "type": "function" + } + }, + "references": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1" + ], + "scale": "ratio" + }, + "eb5a7251-9dec-4d24-9b29-482e3f8488b3": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type:(0 OR 1)" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fc" + ], + "layerId": "9595c8ab-61db-4fbd-83be-e6243ac036ad", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "eb5a7251-9dec-4d24-9b29-482e3f8488b3", + "xAccessor": "6777cb2c-5de7-4dbd-810d-4e6a104c0d8c", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "786cf1cf-80eb-4c77-87b9-bb04bded03fc" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { - "h": 8, - "i": "5", - "w": 16, - "x": 16, + "h": 12, + "i": "aff9b510-4658-479f-9542-e8a5c1c8bd2e", + "w": 24, + "x": 0, "y": 20 }, - "panelIndex": "5", - "panelRefName": "panel_4", - "version": "7.3.0" + "panelIndex": "aff9b510-4658-479f-9542-e8a5c1c8bd2e", + "title": "Connections [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-bb034084-46d5-4baf-a046-357af3f90608", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "bb034084-46d5-4baf-a046-357af3f90608": { + "columnOrder": [ + "2d5d395f-0d7e-4bd4-8ab8-bdd2a8439e2e", + "ae1c92ca-41e9-4e00-9bf0-420e20f73900" + ], + "columns": { + "2d5d395f-0d7e-4bd4-8ab8-bdd2a8439e2e": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ae1c92ca-41e9-4e00-9bf0-420e20f73900": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average time in queue", + "operationType": "average", + "params": {}, + "scale": "ratio", + "sourceField": "haproxy.stat.queue.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "ae1c92ca-41e9-4e00-9bf0-420e20f73900" + ], + "layerId": "bb034084-46d5-4baf-a046-357af3f90608", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "2d5d395f-0d7e-4bd4-8ab8-bdd2a8439e2e", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "ae1c92ca-41e9-4e00-9bf0-420e20f73900" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { - "h": 8, - "i": "6", - "w": 16, - "x": 32, - "y": 20 + "h": 12, + "i": "9703fcdb-d7fc-4329-97b2-c60d20126dc7", + "w": 24, + "x": 24, + "y": 32 }, - "panelIndex": "6", - "panelRefName": "panel_5", - "version": "7.3.0" + "panelIndex": "9703fcdb-d7fc-4329-97b2-c60d20126dc7", + "title": "Average time in queue [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fb6deeb1-6a0c-4dba-82d3-45b52b6c9913", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "fb6deeb1-6a0c-4dba-82d3-45b52b6c9913": { + "columnOrder": [ + "3b7525fa-e8b5-412c-afb0-f14b2e57adbd", + "aff29954-a0b2-4cff-8dcc-b80f5b98031d", + "439b1684-9751-4cca-a3fd-0cc98e931d38", + "49219a84-0d24-483f-aa08-aec014cb6a31" + ], + "columns": { + "3b7525fa-e8b5-412c-afb0-f14b2e57adbd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "439b1684-9751-4cca-a3fd-0cc98e931d38": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(90) Percentile", + "operationType": "percentile", + "params": { + "percentile": 90 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + }, + "49219a84-0d24-483f-aa08-aec014cb6a31": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(50) Percentile", + "operationType": "percentile", + "params": { + "percentile": 50 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + }, + "aff29954-a0b2-4cff-8dcc-b80f5b98031d": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(99) Percentile", + "operationType": "percentile", + "params": { + "percentile": 99 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "aff29954-a0b2-4cff-8dcc-b80f5b98031d", + "439b1684-9751-4cca-a3fd-0cc98e931d38", + "49219a84-0d24-483f-aa08-aec014cb6a31" + ], + "layerId": "fb6deeb1-6a0c-4dba-82d3-45b52b6c9913", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "3b7525fa-e8b5-412c-afb0-f14b2e57adbd", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "aff29954-a0b2-4cff-8dcc-b80f5b98031d" + }, + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "439b1684-9751-4cca-a3fd-0cc98e931d38" + }, + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "49219a84-0d24-483f-aa08-aec014cb6a31" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 12, - "i": "7", + "i": "86936ac9-d6f2-4798-b8f3-8ad60fd16f69", "w": 24, "x": 0, - "y": 0 + "y": 32 }, - "panelIndex": "7", - "panelRefName": "panel_6", - "version": "7.3.0" + "panelIndex": "86936ac9-d6f2-4798-b8f3-8ad60fd16f69", + "title": "Average connection time [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fd7f2257-6963-4c99-aef8-d7a0b8613165", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "fd7f2257-6963-4c99-aef8-d7a0b8613165": { + "columnOrder": [ + "bfb62b66-9d80-4f59-b4c3-e1a4888cf575", + "62cc3b88-53d4-473b-9418-12728f22e69b", + "e2e4c4f8-5971-4975-bdba-f4770e143275", + "ecd22c43-cbde-40ea-bbc1-c4c9a7f6eada" + ], + "columns": { + "62cc3b88-53d4-473b-9418-12728f22e69b": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.service_name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of @timestamp", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "@timestamp" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.service_name" + }, + "bfb62b66-9d80-4f59-b4c3-e1a4888cf575": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "e2e4c4f8-5971-4975-bdba-f4770e143275": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Connections per server", + "operationType": "differences", + "references": [ + "ecd22c43-cbde-40ea-bbc1-c4c9a7f6eada" + ], + "scale": "ratio" + }, + "ecd22c43-cbde-40ea-bbc1-c4c9a7f6eada": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of haproxy.stat.connection.total", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type: 2 or haproxy.stat.component_type: 3" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "e2e4c4f8-5971-4975-bdba-f4770e143275" + ], + "layerId": "fd7f2257-6963-4c99-aef8-d7a0b8613165", + "layerType": "data", + "position": "top", + "seriesType": "bar", + "showGridlines": false, + "splitAccessor": "62cc3b88-53d4-473b-9418-12728f22e69b", + "xAccessor": "bfb62b66-9d80-4f59-b4c3-e1a4888cf575", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "e2e4c4f8-5971-4975-bdba-f4770e143275" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "bar", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Connections" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": { + "dynamicActions": { + "events": [ + { + "action": { + "config": { + "openInNewTab": true, + "useCurrentDateRange": true, + "useCurrentFilters": true + }, + "factoryId": "DASHBOARD_TO_DASHBOARD_DRILLDOWN", + "name": "Go to Dashboard" + }, + "eventId": "6152464f-d08b-4c52-bbec-9247aaa51512", + "triggers": [ + "FILTER_TRIGGER" + ] + } + ] + } + }, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { - "h": 8, - "i": "8", + "h": 12, + "i": "eb030bb0-9bbe-40b9-afde-9bbac2c772cf", "w": 24, - "x": 0, - "y": 12 + "x": 24, + "y": 20 }, - "panelIndex": "8", - "panelRefName": "panel_7", - "version": "7.3.0" + "panelIndex": "eb030bb0-9bbe-40b9-afde-9bbac2c772cf", + "title": "Connections per server [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" } ], "timeRestore": false, "title": "[Metrics HAProxy] HTTP backend", "version": 1 }, + "coreMigrationVersion": "8.6.0", + "created_at": "2023-04-10T13:07:07.875Z", "id": "haproxy-0836a4b0-47bd-11e8-bc13-1397384faad3", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.6.0" }, - "namespaces": [ - "default" - ], "references": [ { - "id": "haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "ba0eb58b-973d-4093-a158-c4059f2c95ef:indexpattern-datasource-layer-2fba7341-7686-4300-ac0b-71a934863c33", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "ba0eb58b-973d-4093-a158-c4059f2c95ef:indexpattern-datasource-layer-15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "ba0eb58b-973d-4093-a158-c4059f2c95ef:indexpattern-datasource-layer-9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "ba0eb58b-973d-4093-a158-c4059f2c95ef:indexpattern-datasource-layer-d92dc444-9899-4a3f-bba1-d88acc925dc3", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "ba0eb58b-973d-4093-a158-c4059f2c95ef:indexpattern-datasource-layer-73176231-3e7a-49e2-bc58-810f7f36f682", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "ba0eb58b-973d-4093-a158-c4059f2c95ef:indexpattern-datasource-layer-fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "1b72fd3b-5474-4226-8ce4-d8e7c2d7df53:indexpattern-datasource-layer-9a69fff1-d48f-4416-a221-dba5e4d604f6", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "bd3adfc1-f405-4f2f-9f38-baf207ca4861:indexpattern-datasource-layer-9a69fff1-d48f-4416-a221-dba5e4d604f6", + "type": "index-pattern" }, { - "id": "haproxy-794b6cd0-471d-11e8-bc13-1397384faad3", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "ae6a352b-298b-4777-a5fc-7bd0250ebd71:indexpattern-datasource-layer-1ee12873-9e13-450d-bad6-e678489068c9", + "type": "index-pattern" }, { - "id": "haproxy-bb0ab500-4735-11e8-bc13-1397384faad3", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "1de7e639-a665-40dc-b14d-07a581236962:indexpattern-datasource-layer-2efeacdc-11ff-4bd2-87ca-2d9043a70e33", + "type": "index-pattern" }, { - "id": "haproxy-40bed190-473b-11e8-bc13-1397384faad3", - "name": "panel_3", - "type": "visualization" + "id": "metrics-*", + "name": "aff9b510-4658-479f-9542-e8a5c1c8bd2e:indexpattern-datasource-layer-9595c8ab-61db-4fbd-83be-e6243ac036ad", + "type": "index-pattern" }, { - "id": "haproxy-0751ed00-479c-11e8-bc13-1397384faad3", - "name": "panel_4", - "type": "visualization" + "id": "metrics-*", + "name": "9703fcdb-d7fc-4329-97b2-c60d20126dc7:indexpattern-datasource-layer-bb034084-46d5-4baf-a046-357af3f90608", + "type": "index-pattern" }, { - "id": "haproxy-b3463670-47a1-11e8-bc13-1397384faad3", - "name": "panel_5", - "type": "visualization" + "id": "metrics-*", + "name": "86936ac9-d6f2-4798-b8f3-8ad60fd16f69:indexpattern-datasource-layer-fb6deeb1-6a0c-4dba-82d3-45b52b6c9913", + "type": "index-pattern" }, { - "id": "haproxy-fcbdfa60-47bd-11e8-bc13-1397384faad3", - "name": "panel_6", - "type": "visualization" + "id": "metrics-*", + "name": "eb030bb0-9bbe-40b9-afde-9bbac2c772cf:indexpattern-datasource-layer-fd7f2257-6963-4c99-aef8-d7a0b8613165", + "type": "index-pattern" }, { - "id": "haproxy-981d1040-47be-11e8-bc13-1397384faad3", - "name": "panel_7", - "type": "visualization" + "id": "haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3", + "name": "eb030bb0-9bbe-40b9-afde-9bbac2c772cf:drilldown:DASHBOARD_TO_DASHBOARD_DRILLDOWN:6152464f-d08b-4c52-bbec-9247aaa51512:dashboardId", + "type": "dashboard" } ], "type": "dashboard" diff --git a/packages/haproxy/kibana/dashboard/haproxy-4b555c30-47dd-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/dashboard/haproxy-4b555c30-47dd-11e8-bc13-1397384faad3.json index c0d8b15d34dd..9b4191112b97 100644 --- a/packages/haproxy/kibana/dashboard/haproxy-4b555c30-47dd-11e8-bc13-1397384faad3.json +++ b/packages/haproxy/kibana/dashboard/haproxy-4b555c30-47dd-11e8-bc13-1397384faad3.json @@ -20,92 +20,663 @@ }, "panelsJSON": [ { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9595c8ab-61db-4fbd-83be-e6243ac036ad", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "9595c8ab-61db-4fbd-83be-e6243ac036ad": { + "columnOrder": [ + "eb5a7251-9dec-4d24-9b29-482e3f8488b3", + "6777cb2c-5de7-4dbd-810d-4e6a104c0d8c", + "786cf1cf-80eb-4c77-87b9-bb04bded03fc", + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX0", + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1", + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX2" + ], + "columns": { + "6777cb2c-5de7-4dbd-810d-4e6a104c0d8c": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Number of connections", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "isFormulaBroken": false + }, + "references": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX2" + ], + "scale": "ratio" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "differences", + "references": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX0" + ], + "scale": "ratio" + }, + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1", + 0 + ], + "location": { + "max": 60, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "type": "function" + } + }, + "references": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fcX1" + ], + "scale": "ratio" + }, + "eb5a7251-9dec-4d24-9b29-482e3f8488b3": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type:(0 OR 1)" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "786cf1cf-80eb-4c77-87b9-bb04bded03fc" + ], + "layerId": "9595c8ab-61db-4fbd-83be-e6243ac036ad", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "eb5a7251-9dec-4d24-9b29-482e3f8488b3", + "xAccessor": "6777cb2c-5de7-4dbd-810d-4e6a104c0d8c", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "786cf1cf-80eb-4c77-87b9-bb04bded03fc" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, + "gridData": { + "h": 8, + "i": "18fb6479-ceba-42d2-8ea5-f4f5a2a84e77", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "18fb6479-ceba-42d2-8ea5-f4f5a2a84e77", + "title": "Connections [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" + }, + { + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-62f1f74c-135c-4e87-9979-f2dbc468fadc", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "62f1f74c-135c-4e87-9979-f2dbc468fadc": { + "columnOrder": [ + "723b03dc-28d7-49a8-9740-7b5224aa0741", + "1dce85e9-a937-4982-b072-0ccc075a8a42" + ], + "columns": { + "1dce85e9-a937-4982-b072-0ccc075a8a42": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Frontends", + "operationType": "sum", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 0 + } + } + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "723b03dc-28d7-49a8-9740-7b5224aa0741": { + "dataType": "string", + "isBucketed": true, + "label": "Top 20 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "1dce85e9-a937-4982-b072-0ccc075a8a42", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 20 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type : 0" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "1dce85e9-a937-4982-b072-0ccc075a8a42" + ], + "layerId": "62f1f74c-135c-4e87-9979-f2dbc468fadc", + "layerType": "data", + "position": "top", + "seriesType": "bar_horizontal", + "showGridlines": false, + "xAccessor": "723b03dc-28d7-49a8-9740-7b5224aa0741", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "1dce85e9-a937-4982-b072-0ccc075a8a42" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "bar_horizontal", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "title": "Empty XY chart", + "valueLabels": "show", + "xTitle": "", + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 24, - "i": "2", + "i": "a58c0b66-6438-4504-a5c3-3285e60ff17f", "w": 16, - "x": 32, + "x": 0, "y": 8 }, - "panelIndex": "2", - "panelRefName": "panel_0", - "title": "Servers", - "version": "7.3.0" + "panelIndex": "a58c0b66-6438-4504-a5c3-3285e60ff17f", + "title": "Frontends", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-62f1f74c-135c-4e87-9979-f2dbc468fadc", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "62f1f74c-135c-4e87-9979-f2dbc468fadc": { + "columnOrder": [ + "723b03dc-28d7-49a8-9740-7b5224aa0741", + "1dce85e9-a937-4982-b072-0ccc075a8a42" + ], + "columns": { + "1dce85e9-a937-4982-b072-0ccc075a8a42": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Backends", + "operationType": "sum", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 0 + } + } + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "723b03dc-28d7-49a8-9740-7b5224aa0741": { + "dataType": "string", + "isBucketed": true, + "label": "Top 20 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "1dce85e9-a937-4982-b072-0ccc075a8a42", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 20 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type : 1" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "1dce85e9-a937-4982-b072-0ccc075a8a42" + ], + "layerId": "62f1f74c-135c-4e87-9979-f2dbc468fadc", + "layerType": "data", + "position": "top", + "seriesType": "bar_horizontal", + "showGridlines": false, + "xAccessor": "723b03dc-28d7-49a8-9740-7b5224aa0741", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "1dce85e9-a937-4982-b072-0ccc075a8a42" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "bar_horizontal", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "title": "Empty XY chart", + "valueLabels": "show", + "xTitle": "", + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 24, - "i": "3", + "i": "84e5d8d6-a4b3-4477-8d01-565182db8d1a", "w": 16, "x": 16, "y": 8 }, - "panelIndex": "3", - "panelRefName": "panel_1", + "panelIndex": "84e5d8d6-a4b3-4477-8d01-565182db8d1a", "title": "Backends", - "version": "7.3.0" + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-62f1f74c-135c-4e87-9979-f2dbc468fadc", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "62f1f74c-135c-4e87-9979-f2dbc468fadc": { + "columnOrder": [ + "723b03dc-28d7-49a8-9740-7b5224aa0741", + "1dce85e9-a937-4982-b072-0ccc075a8a42" + ], + "columns": { + "1dce85e9-a937-4982-b072-0ccc075a8a42": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Servers", + "operationType": "sum", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 0 + } + } + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "723b03dc-28d7-49a8-9740-7b5224aa0741": { + "dataType": "string", + "isBucketed": true, + "label": "Top 20 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderBy": { + "columnId": "1dce85e9-a937-4982-b072-0ccc075a8a42", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 20 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type : 2 or haproxy.stat.component_type : 3" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "1dce85e9-a937-4982-b072-0ccc075a8a42" + ], + "layerId": "62f1f74c-135c-4e87-9979-f2dbc468fadc", + "layerType": "data", + "position": "top", + "seriesType": "bar_horizontal", + "showGridlines": false, + "xAccessor": "723b03dc-28d7-49a8-9740-7b5224aa0741", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "1dce85e9-a937-4982-b072-0ccc075a8a42" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "bar_horizontal", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "title": "Empty XY chart", + "valueLabels": "show", + "xTitle": "", + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 24, - "i": "4", + "i": "f1504c30-388c-4328-b482-0066cd266071", "w": 16, - "x": 0, + "x": 32, "y": 8 }, - "panelIndex": "4", - "panelRefName": "panel_2", - "title": "Frontends", - "version": "7.3.0" - }, - { - "embeddableConfig": {}, - "gridData": { - "h": 8, - "i": "5", - "w": 48, - "x": 0, - "y": 0 - }, - "panelIndex": "5", - "panelRefName": "panel_3", - "version": "7.3.0" + "panelIndex": "f1504c30-388c-4328-b482-0066cd266071", + "title": "Servers", + "type": "lens", + "version": "8.6.0" } ], "timeRestore": false, "title": "[Metrics HAProxy] Overview", "version": 1 }, + "coreMigrationVersion": "8.6.0", + "created_at": "2023-04-10T13:07:07.875Z", "id": "haproxy-4b555c30-47dd-11e8-bc13-1397384faad3", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.6.0" }, - "namespaces": [ - "default" - ], "references": [ { - "id": "haproxy-79350d50-47db-11e8-bc13-1397384faad3", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "18fb6479-ceba-42d2-8ea5-f4f5a2a84e77:indexpattern-datasource-layer-9595c8ab-61db-4fbd-83be-e6243ac036ad", + "type": "index-pattern" }, { - "id": "haproxy-8c8f0300-47dc-11e8-bc13-1397384faad3", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "a58c0b66-6438-4504-a5c3-3285e60ff17f:indexpattern-datasource-layer-62f1f74c-135c-4e87-9979-f2dbc468fadc", + "type": "index-pattern" }, { - "id": "haproxy-f1e27ed0-47dc-11e8-bc13-1397384faad3", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "84e5d8d6-a4b3-4477-8d01-565182db8d1a:indexpattern-datasource-layer-62f1f74c-135c-4e87-9979-f2dbc468fadc", + "type": "index-pattern" }, { - "id": "haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3", - "name": "panel_3", - "type": "visualization" + "id": "metrics-*", + "name": "f1504c30-388c-4328-b482-0066cd266071:indexpattern-datasource-layer-62f1f74c-135c-4e87-9979-f2dbc468fadc", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/haproxy/kibana/dashboard/haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/dashboard/haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3.json index 60c835798443..03fcdebaf79d 100644 --- a/packages/haproxy/kibana/dashboard/haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3.json +++ b/packages/haproxy/kibana/dashboard/haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3.json @@ -1,16 +1,13 @@ { "attributes": { "description": "HAProxy metrics for HTTP mode", - "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], - "highlightAll": true, "query": { "language": "kuery", "query": "" - }, - "version": true + } } }, "optionsJSON": { @@ -20,125 +17,1596 @@ }, "panelsJSON": [ { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-2fba7341-7686-4300-ac0b-71a934863c33", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-d92dc444-9899-4a3f-bba1-d88acc925dc3", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-73176231-3e7a-49e2-bc58-810f7f36f682", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc": { + "columnOrder": [ + "4c614dd6-2788-4719-a01f-0e28bed67033", + "4a605bd3-8d26-4157-949c-898b48e99c54", + "4a605bd3-8d26-4157-949c-898b48e99c54X0", + "4a605bd3-8d26-4157-949c-898b48e99c54X1", + "4a605bd3-8d26-4157-949c-898b48e99c54X2" + ], + "columns": { + "4a605bd3-8d26-4157-949c-898b48e99c54": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "300s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X2" + ], + "scale": "ratio" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.3xx" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "differences", + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X0" + ], + "scale": "ratio" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "type": "function" + } + }, + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X1" + ], + "scale": "ratio" + }, + "4c614dd6-2788-4719-a01f-0e28bed67033": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "2fba7341-7686-4300-ac0b-71a934863c33": { + "columnOrder": [ + "4894fcc1-f359-40e6-91d3-14d3c4687149", + "e65e16be-8949-45c1-9d62-4c7869130020", + "e65e16be-8949-45c1-9d62-4c7869130020X0", + "e65e16be-8949-45c1-9d62-4c7869130020X1", + "e65e16be-8949-45c1-9d62-4c7869130020X2" + ], + "columns": { + "4894fcc1-f359-40e6-91d3-14d3c4687149": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "e65e16be-8949-45c1-9d62-4c7869130020": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "200s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.2xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X2" + ], + "scale": "ratio" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.2xx" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "differences", + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X0" + ], + "scale": "ratio" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "e65e16be-8949-45c1-9d62-4c7869130020X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.2xx)), 0)", + "type": "function" + } + }, + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + }, + "73176231-3e7a-49e2-bc58-810f7f36f682": { + "columnOrder": [ + "45bd785e-e939-47af-8719-11cf3418004a", + "013c26c6-17fb-4a7b-8646-c32ca37d090c", + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358" + ], + "columns": { + "013c26c6-17fb-4a7b-8646-c32ca37d090c": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Other", + "operationType": "differences", + "references": [ + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358" + ], + "scale": "ratio" + }, + "45bd785e-e939-47af-8719-11cf3418004a": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.response.http.other", + "operationType": "sum", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.other" + } + }, + "incompleteColumns": {} + }, + "9da452b6-5ea7-4e64-8c6b-e480ca307e90": { + "columnOrder": [ + "8026680f-5eba-4a32-948e-b2d87783d32d", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2" + ], + "columns": { + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "400s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2" + ], + "scale": "ratio" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.4xx" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "differences", + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0" + ], + "scale": "ratio" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "type": "function" + } + }, + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1" + ], + "scale": "ratio" + }, + "8026680f-5eba-4a32-948e-b2d87783d32d": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "d92dc444-9899-4a3f-bba1-d88acc925dc3": { + "columnOrder": [ + "0b85f28a-b6c6-4e3e-b271-04be17a42f57", + "6748ff2b-a0de-4591-9936-1ee496048cc3", + "6748ff2b-a0de-4591-9936-1ee496048cc3X0", + "6748ff2b-a0de-4591-9936-1ee496048cc3X1", + "6748ff2b-a0de-4591-9936-1ee496048cc3X2" + ], + "columns": { + "0b85f28a-b6c6-4e3e-b271-04be17a42f57": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "500s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X2" + ], + "scale": "ratio" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.5xx" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "differences", + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X0" + ], + "scale": "ratio" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "type": "function" + } + }, + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + }, + "fc89f6a7-4d4f-441a-bfa2-b804d7078540": { + "columnOrder": [ + "79068ac4-ae7e-404b-8e31-fb5013792f4b", + "79f2b50f-858c-49a5-aec7-07267c81617d", + "72a566f0-7d61-4813-856e-22de65b8c0f5" + ], + "columns": { + "72a566f0-7d61-4813-856e-22de65b8c0f5": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.response.errors", + "operationType": "sum", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.errors" + }, + "79068ac4-ae7e-404b-8e31-fb5013792f4b": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "79f2b50f-858c-49a5-aec7-07267c81617d": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Response errors", + "operationType": "differences", + "references": [ + "72a566f0-7d61-4813-856e-22de65b8c0f5" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "e65e16be-8949-45c1-9d62-4c7869130020" + ], + "layerId": "2fba7341-7686-4300-ac0b-71a934863c33", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "4894fcc1-f359-40e6-91d3-14d3c4687149", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "e65e16be-8949-45c1-9d62-4c7869130020" + } + ] + }, + { + "accessors": [ + "4a605bd3-8d26-4157-949c-898b48e99c54" + ], + "layerId": "15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "layerType": "data", + "seriesType": "area", + "xAccessor": "4c614dd6-2788-4719-a01f-0e28bed67033", + "yConfig": [ + { + "axisMode": "left", + "color": "#40f000", + "forAccessor": "4a605bd3-8d26-4157-949c-898b48e99c54" + } + ] + }, + { + "accessors": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0" + ], + "layerId": "9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "layerType": "data", + "seriesType": "area", + "xAccessor": "8026680f-5eba-4a32-948e-b2d87783d32d", + "yConfig": [ + { + "axisMode": "left", + "color": "#fff600", + "forAccessor": "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0" + } + ] + }, + { + "accessors": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3" + ], + "layerId": "d92dc444-9899-4a3f-bba1-d88acc925dc3", + "layerType": "data", + "seriesType": "area", + "xAccessor": "0b85f28a-b6c6-4e3e-b271-04be17a42f57", + "yConfig": [ + { + "axisMode": "left", + "color": "#ff0004", + "forAccessor": "6748ff2b-a0de-4591-9936-1ee496048cc3" + } + ] + }, + { + "accessors": [ + "013c26c6-17fb-4a7b-8646-c32ca37d090c" + ], + "layerId": "73176231-3e7a-49e2-bc58-810f7f36f682", + "layerType": "data", + "seriesType": "area", + "xAccessor": "45bd785e-e939-47af-8719-11cf3418004a", + "yConfig": [ + { + "axisMode": "left", + "color": "#00fbff", + "forAccessor": "013c26c6-17fb-4a7b-8646-c32ca37d090c" + } + ] + }, + { + "accessors": [ + "79f2b50f-858c-49a5-aec7-07267c81617d" + ], + "layerId": "fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "layerType": "data", + "seriesType": "area", + "xAccessor": "79068ac4-ae7e-404b-8e31-fb5013792f4b", + "yConfig": [ + { + "axisMode": "left", + "color": "#0f1419", + "forAccessor": "79f2b50f-858c-49a5-aec7-07267c81617d" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { - "h": 8, - "i": "5", + "h": 12, + "i": "25565ecf-4441-4611-8535-9c62a6229b86", "w": 24, "x": 0, - "y": 20 + "y": 0 }, - "panelIndex": "5", - "panelRefName": "panel_0", - "version": "7.3.0" + "panelIndex": "25565ecf-4441-4611-8535-9c62a6229b86", + "title": "HTTP response codes [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-2c1313c9-dae5-4459-8d44-384a28d0396e", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "2c1313c9-dae5-4459-8d44-384a28d0396e": { + "columnOrder": [ + "2b6541a5-bb74-4cd8-a692-a8835001e3f8", + "c453f2ed-3691-4894-837a-d437581d10c0", + "78f258b3-8005-4c90-9a07-7621a8463d32", + "78f258b3-8005-4c90-9a07-7621a8463d32X0", + "78f258b3-8005-4c90-9a07-7621a8463d32X1", + "78f258b3-8005-4c90-9a07-7621a8463d32X2" + ], + "columns": { + "2b6541a5-bb74-4cd8-a692-a8835001e3f8": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "78f258b3-8005-4c90-9a07-7621a8463d32": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "haproxy.stat.component_type:(2 OR 3)" + }, + "isBucketed": false, + "label": "Number of connections", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "isFormulaBroken": false + }, + "references": [ + "78f258b3-8005-4c90-9a07-7621a8463d32X2" + ], + "scale": "ratio" + }, + "78f258b3-8005-4c90-9a07-7621a8463d32X0": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "haproxy.stat.component_type:(2 OR 3)" + }, + "isBucketed": false, + "label": "Part of Number of connections", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "78f258b3-8005-4c90-9a07-7621a8463d32X1": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "haproxy.stat.component_type:(2 OR 3)" + }, + "isBucketed": false, + "label": "Part of Number of connections", + "operationType": "differences", + "references": [ + "78f258b3-8005-4c90-9a07-7621a8463d32X0" + ], + "scale": "ratio" + }, + "78f258b3-8005-4c90-9a07-7621a8463d32X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Number of connections", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "78f258b3-8005-4c90-9a07-7621a8463d32X1", + 0 + ], + "location": { + "max": 60, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "type": "function" + } + }, + "references": [ + "78f258b3-8005-4c90-9a07-7621a8463d32X1" + ], + "scale": "ratio" + }, + "c453f2ed-3691-4894-837a-d437581d10c0": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.service_name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.service_name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "78f258b3-8005-4c90-9a07-7621a8463d32" + ], + "layerId": "2c1313c9-dae5-4459-8d44-384a28d0396e", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "c453f2ed-3691-4894-837a-d437581d10c0", + "xAccessor": "2b6541a5-bb74-4cd8-a692-a8835001e3f8", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "78f258b3-8005-4c90-9a07-7621a8463d32" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { - "h": 8, - "i": "6", + "h": 12, + "i": "6c062ae0-1c0e-431d-bf5b-007babe978a8", "w": 24, "x": 24, - "y": 12 + "y": 0 }, - "panelIndex": "6", - "panelRefName": "panel_1", - "version": "7.3.0" + "panelIndex": "6c062ae0-1c0e-431d-bf5b-007babe978a8", + "title": "Number of server connections [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-e5163cd1-3bfd-46d2-ba13-bc300831ec85", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "e5163cd1-3bfd-46d2-ba13-bc300831ec85": { + "columnOrder": [ + "66dad99c-5989-40da-a060-25e26fab28f2", + "9d3a654c-8d24-4622-87dc-f0b3ca20cfd6" + ], + "columns": { + "66dad99c-5989-40da-a060-25e26fab28f2": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "9d3a654c-8d24-4622-87dc-f0b3ca20cfd6": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average response time", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 0, + "suffix": "ms" + } + } + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "9d3a654c-8d24-4622-87dc-f0b3ca20cfd6" + ], + "layerId": "e5163cd1-3bfd-46d2-ba13-bc300831ec85", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "66dad99c-5989-40da-a060-25e26fab28f2", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "9d3a654c-8d24-4622-87dc-f0b3ca20cfd6" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { - "h": 12, - "i": "7", + "h": 8, + "i": "7970dcc1-1ffc-4c76-8a9a-c0af972f7cc6", "w": 24, "x": 0, - "y": 0 + "y": 12 }, - "panelIndex": "7", - "panelRefName": "panel_2", - "version": "7.3.0" + "panelIndex": "7970dcc1-1ffc-4c76-8a9a-c0af972f7cc6", + "title": "Average response time [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-90f14794-c5e6-4758-ab0b-a9ac50447ae2", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "90f14794-c5e6-4758-ab0b-a9ac50447ae2": { + "columnOrder": [ + "6810ec8a-8937-4697-b3d4-ab859e952fac", + "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff" + ], + "columns": { + "6810ec8a-8937-4697-b3d4-ab859e952fac": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average time in queue", + "operationType": "average", + "params": {}, + "scale": "ratio", + "sourceField": "haproxy.stat.queue.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff" + ], + "layerId": "90f14794-c5e6-4758-ab0b-a9ac50447ae2", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "6810ec8a-8937-4697-b3d4-ab859e952fac", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { "h": 8, - "i": "8", + "i": "72f226f5-cc4d-4374-bfb7-059af0c4d7cf", "w": 24, - "x": 0, + "x": 24, "y": 12 }, - "panelIndex": "8", - "panelRefName": "panel_3", - "version": "7.3.0" + "panelIndex": "72f226f5-cc4d-4374-bfb7-059af0c4d7cf", + "title": "Average time in queue [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9943e32e-9104-4c09-ae77-76bc97b1f0db", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "9943e32e-9104-4c09-ae77-76bc97b1f0db": { + "columnOrder": [ + "2b12c6c6-ab18-4536-a9a0-bc4465d0eede", + "aecfc175-3105-4649-b048-45e1abca3942", + "626a1748-dd24-405c-b163-d5c3c10d7487", + "de827fb9-3cbc-40fd-a528-24588d4713cc" + ], + "columns": { + "2b12c6c6-ab18-4536-a9a0-bc4465d0eede": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "626a1748-dd24-405c-b163-d5c3c10d7487": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(90) Percentile", + "operationType": "percentile", + "params": { + "percentile": 90 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + }, + "aecfc175-3105-4649-b048-45e1abca3942": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(99) Percentile", + "operationType": "percentile", + "params": { + "percentile": 99 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + }, + "de827fb9-3cbc-40fd-a528-24588d4713cc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(50) Percentile", + "operationType": "percentile", + "params": { + "percentile": 50 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "aecfc175-3105-4649-b048-45e1abca3942", + "626a1748-dd24-405c-b163-d5c3c10d7487", + "de827fb9-3cbc-40fd-a528-24588d4713cc" + ], + "layerId": "9943e32e-9104-4c09-ae77-76bc97b1f0db", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "2b12c6c6-ab18-4536-a9a0-bc4465d0eede", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "aecfc175-3105-4649-b048-45e1abca3942" + }, + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "626a1748-dd24-405c-b163-d5c3c10d7487" + }, + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "de827fb9-3cbc-40fd-a528-24588d4713cc" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { - "h": 12, - "i": "10", + "h": 8, + "i": "2ae6337d-d660-4e45-813b-1bb2501d8f2c", "w": 24, - "x": 24, - "y": 0 + "x": 0, + "y": 20 }, - "panelIndex": "10", - "panelRefName": "panel_4", - "version": "7.3.0" + "panelIndex": "2ae6337d-d660-4e45-813b-1bb2501d8f2c", + "title": "Average connection time [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-63c461ac-ed19-44a9-90fd-998ede378b0e", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-710ea02a-85fd-4d8f-bd92-0d8081d8095c", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "63c461ac-ed19-44a9-90fd-998ede378b0e": { + "columnOrder": [ + "36cef64b-8d0e-4125-ab04-830959cfd079", + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56ba", + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX0", + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX1", + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX2" + ], + "columns": { + "36cef64b-8d0e-4125-ab04-830959cfd079": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56ba": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Down", + "operationType": "formula", + "params": { + "formula": "ifelse(pick_max(differences(sum(haproxy.stat.downtime)), 0)\u003e0, 1, 0)", + "isFormulaBroken": false + }, + "references": [ + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX2" + ], + "scale": "ratio" + }, + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Down", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.downtime" + }, + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Down", + "operationType": "differences", + "references": [ + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX0" + ], + "scale": "ratio" + }, + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Down", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + { + "args": [ + { + "args": [ + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX1", + 0 + ], + "location": { + "max": 59, + "min": 7 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.downtime)), 0)", + "type": "function" + }, + 0 + ], + "location": { + "max": 61, + "min": 7 + }, + "name": "gt", + "text": "pick_max(differences(sum(haproxy.stat.downtime)), 0)\u003e0", + "type": "function" + }, + 1, + 0 + ], + "location": { + "max": 68, + "min": 0 + }, + "name": "ifelse", + "text": "ifelse(pick_max(differences(sum(haproxy.stat.downtime)), 0)\u003e0, 1, 0)", + "type": "function" + } + }, + "references": [ + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56baX1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {}, + "sampling": 1 + }, + "710ea02a-85fd-4d8f-bd92-0d8081d8095c": { + "columnOrder": [ + "4fa9c694-1677-4f9d-a649-9740d7b114e6", + "44919f9b-8b67-4e6e-b7cb-8c9546b3be26" + ], + "columns": { + "44919f9b-8b67-4e6e-b7cb-8c9546b3be26": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Duration (ms)", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "haproxy.stat.check.duration" + }, + "4fa9c694-1677-4f9d-a649-9740d7b114e6": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {}, + "linkToLayers": [], + "sampling": 1 + } + } + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "endValue": "Zero", + "fillOpacity": 0.5, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56ba" + ], + "layerId": "63c461ac-ed19-44a9-90fd-998ede378b0e", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "36cef64b-8d0e-4125-ab04-830959cfd079", + "yConfig": [ + { + "axisMode": "left", + "color": "#ff0004", + "forAccessor": "c06e80ab-c512-4eb7-a6a5-3d3d9a4a56ba" + } + ] + }, + { + "accessors": [ + "44919f9b-8b67-4e6e-b7cb-8c9546b3be26" + ], + "layerId": "710ea02a-85fd-4d8f-bd92-0d8081d8095c", + "layerType": "data", + "seriesType": "area", + "xAccessor": "4fa9c694-1677-4f9d-a649-9740d7b114e6", + "yConfig": [ + { + "axisMode": "left", + "color": "#ffda00", + "forAccessor": "44919f9b-8b67-4e6e-b7cb-8c9546b3be26" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { "h": 8, - "i": "11", + "i": "6e8f5aea-4176-4a15-9746-562be796bd3e", "w": 24, "x": 24, "y": 20 }, - "panelIndex": "11", - "panelRefName": "panel_5", - "version": "7.3.0" + "panelIndex": "6e8f5aea-4176-4a15-9746-562be796bd3e", + "title": "Healthcheck [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" } ], "timeRestore": false, "title": "[Metrics HAProxy] HTTP server", "version": 1 }, + "coreMigrationVersion": "8.6.0", + "created_at": "2023-04-11T05:37:47.613Z", "id": "haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.6.0" }, - "namespaces": [ - "default" - ], "references": [ { - "id": "haproxy-0751ed00-479c-11e8-bc13-1397384faad3", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "25565ecf-4441-4611-8535-9c62a6229b86:indexpattern-datasource-layer-2fba7341-7686-4300-ac0b-71a934863c33", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "25565ecf-4441-4611-8535-9c62a6229b86:indexpattern-datasource-layer-15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "25565ecf-4441-4611-8535-9c62a6229b86:indexpattern-datasource-layer-9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "25565ecf-4441-4611-8535-9c62a6229b86:indexpattern-datasource-layer-d92dc444-9899-4a3f-bba1-d88acc925dc3", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "25565ecf-4441-4611-8535-9c62a6229b86:indexpattern-datasource-layer-73176231-3e7a-49e2-bc58-810f7f36f682", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "25565ecf-4441-4611-8535-9c62a6229b86:indexpattern-datasource-layer-fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6c062ae0-1c0e-431d-bf5b-007babe978a8:indexpattern-datasource-layer-2c1313c9-dae5-4459-8d44-384a28d0396e", + "type": "index-pattern" }, { - "id": "haproxy-b3463670-47a1-11e8-bc13-1397384faad3", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "7970dcc1-1ffc-4c76-8a9a-c0af972f7cc6:indexpattern-datasource-layer-e5163cd1-3bfd-46d2-ba13-bc300831ec85", + "type": "index-pattern" }, { - "id": "haproxy-fcbdfa60-47bd-11e8-bc13-1397384faad3", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "72f226f5-cc4d-4374-bfb7-059af0c4d7cf:indexpattern-datasource-layer-90f14794-c5e6-4758-ab0b-a9ac50447ae2", + "type": "index-pattern" }, { - "id": "haproxy-981d1040-47be-11e8-bc13-1397384faad3", - "name": "panel_3", - "type": "visualization" + "id": "metrics-*", + "name": "2ae6337d-d660-4e45-813b-1bb2501d8f2c:indexpattern-datasource-layer-9943e32e-9104-4c09-ae77-76bc97b1f0db", + "type": "index-pattern" }, { - "id": "haproxy-72e84b00-47e1-11e8-bc13-1397384faad3", - "name": "panel_4", - "type": "visualization" + "id": "metrics-*", + "name": "6e8f5aea-4176-4a15-9746-562be796bd3e:indexpattern-datasource-layer-63c461ac-ed19-44a9-90fd-998ede378b0e", + "type": "index-pattern" }, { - "id": "haproxy-976b0910-47e4-11e8-bc13-1397384faad3", - "name": "panel_5", - "type": "visualization" + "id": "metrics-*", + "name": "6e8f5aea-4176-4a15-9746-562be796bd3e:indexpattern-datasource-layer-710ea02a-85fd-4d8f-bd92-0d8081d8095c", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/haproxy/kibana/dashboard/haproxy-9151c900-471d-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/dashboard/haproxy-9151c900-471d-11e8-bc13-1397384faad3.json index c4f253347a1e..e5146fc5f918 100644 --- a/packages/haproxy/kibana/dashboard/haproxy-9151c900-471d-11e8-bc13-1397384faad3.json +++ b/packages/haproxy/kibana/dashboard/haproxy-9151c900-471d-11e8-bc13-1397384faad3.json @@ -20,125 +20,1095 @@ }, "panelsJSON": [ { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-78557a7c-3c1f-4f57-a745-280fa0dc0010", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "78557a7c-3c1f-4f57-a745-280fa0dc0010": { + "columnOrder": [ + "1e686120-8b47-4f20-a8e0-1acedb7eb319", + "73a9e054-859a-411b-bc90-01ad8d83a869", + "6246ebea-0a0d-457b-b693-f25b62550aae", + "6246ebea-0a0d-457b-b693-f25b62550aaeX0", + "6246ebea-0a0d-457b-b693-f25b62550aaeX1", + "6246ebea-0a0d-457b-b693-f25b62550aaeX2" + ], + "columns": { + "1e686120-8b47-4f20-a8e0-1acedb7eb319": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + }, + "6246ebea-0a0d-457b-b693-f25b62550aae": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Number of connections", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "isFormulaBroken": false + }, + "references": [ + "6246ebea-0a0d-457b-b693-f25b62550aaeX2" + ], + "scale": "ratio" + }, + "6246ebea-0a0d-457b-b693-f25b62550aaeX0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Number of connections", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "6246ebea-0a0d-457b-b693-f25b62550aaeX1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Number of connections", + "operationType": "differences", + "references": [ + "6246ebea-0a0d-457b-b693-f25b62550aaeX0" + ], + "scale": "ratio" + }, + "6246ebea-0a0d-457b-b693-f25b62550aaeX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Number of connections", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "6246ebea-0a0d-457b-b693-f25b62550aaeX1", + 0 + ], + "location": { + "max": 60, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "type": "function" + } + }, + "references": [ + "6246ebea-0a0d-457b-b693-f25b62550aaeX1" + ], + "scale": "ratio" + }, + "73a9e054-859a-411b-bc90-01ad8d83a869": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type:(0 OR 1)" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "6246ebea-0a0d-457b-b693-f25b62550aae" + ], + "layerId": "78557a7c-3c1f-4f57-a745-280fa0dc0010", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "1e686120-8b47-4f20-a8e0-1acedb7eb319", + "xAccessor": "73a9e054-859a-411b-bc90-01ad8d83a869", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "6246ebea-0a0d-457b-b693-f25b62550aae" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 8, - "i": "1", + "i": "3d7cc422-bbb1-473b-adce-17495255ae8d", "w": 24, "x": 0, "y": 0 }, - "panelIndex": "1", - "panelRefName": "panel_0", - "version": "7.3.0" + "panelIndex": "3d7cc422-bbb1-473b-adce-17495255ae8d", + "title": "Connections [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-d3cab5da-80fa-44b9-846b-3e5975da6f10", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "d3cab5da-80fa-44b9-846b-3e5975da6f10": { + "columnOrder": [ + "a1def969-4bb3-48ee-8cc9-6454a6bbe11b" + ], + "columns": { + "a1def969-4bb3-48ee-8cc9-6454a6bbe11b": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "haproxy.stat.status:UP" + }, + "isBucketed": false, + "label": "Active servers", + "operationType": "unique_count", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.server.id" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type : 2 or haproxy.stat.component_type : 3" + }, + "visualization": { + "accessor": "a1def969-4bb3-48ee-8cc9-6454a6bbe11b", + "colorMode": "Labels", + "layerId": "d3cab5da-80fa-44b9-846b-3e5975da6f10", + "layerType": "data", + "palette": { + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#FF0006", + "stop": null + } + ], + "continuity": "below", + "maxSteps": 5, + "name": "custom", + "progression": "fixed", + "rangeMax": 0, + "rangeMin": null, + "rangeType": "number", + "reverse": false, + "steps": 3, + "stops": [ + { + "color": "#FF0006", + "stop": 100 + } + ] + }, + "type": "palette" + }, + "size": "xxl", + "textAlign": "center", + "titlePosition": "top" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsLegacyMetric" + }, + "enhancements": {}, + "hidePanelTitles": true, + "type": "lens" + }, "gridData": { "h": 8, - "i": "2", + "i": "bc964d94-79cc-4ce5-aa3c-ee6ed35d8313", "w": 12, "x": 24, "y": 0 }, - "panelIndex": "2", - "panelRefName": "panel_1", - "version": "7.3.0" + "panelIndex": "bc964d94-79cc-4ce5-aa3c-ee6ed35d8313", + "title": "Active servers in backend [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, - "gridData": { - "h": 16, - "i": "3", - "w": 24, - "x": 24, - "y": 8 + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-d3cab5da-80fa-44b9-846b-3e5975da6f10", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "d3cab5da-80fa-44b9-846b-3e5975da6f10": { + "columnOrder": [ + "a1def969-4bb3-48ee-8cc9-6454a6bbe11b" + ], + "columns": { + "a1def969-4bb3-48ee-8cc9-6454a6bbe11b": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Total servers", + "operationType": "unique_count", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.server.id" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type : 2 or haproxy.stat.component_type : 3" + }, + "visualization": { + "accessor": "a1def969-4bb3-48ee-8cc9-6454a6bbe11b", + "colorMode": "None", + "layerId": "d3cab5da-80fa-44b9-846b-3e5975da6f10", + "layerType": "data", + "size": "xxl", + "textAlign": "center" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsLegacyMetric" + }, + "enhancements": {}, + "hidePanelTitles": true, + "type": "lens" }, - "panelIndex": "3", - "panelRefName": "panel_2", - "version": "7.3.0" - }, - { - "embeddableConfig": {}, "gridData": { "h": 8, - "i": "4", + "i": "d8e87fd0-37f1-4283-bf8c-3a282b3373fd", "w": 12, "x": 36, "y": 0 }, - "panelIndex": "4", - "panelRefName": "panel_3", - "version": "7.3.0" + "panelIndex": "d8e87fd0-37f1-4283-bf8c-3a282b3373fd", + "title": "Total servers in backend [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-90f14794-c5e6-4758-ab0b-a9ac50447ae2", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "90f14794-c5e6-4758-ab0b-a9ac50447ae2": { + "columnOrder": [ + "6810ec8a-8937-4697-b3d4-ab859e952fac", + "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff" + ], + "columns": { + "6810ec8a-8937-4697-b3d4-ab859e952fac": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average time in queue", + "operationType": "average", + "params": {}, + "scale": "ratio", + "sourceField": "haproxy.stat.queue.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff" + ], + "layerId": "90f14794-c5e6-4758-ab0b-a9ac50447ae2", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "6810ec8a-8937-4697-b3d4-ab859e952fac", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "b19a3db6-e8bb-4f40-b2c5-cbfadb969cff" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { - "h": 8, - "i": "5", + "h": 12, + "i": "7e34a46f-7aa2-4337-9ac9-16bf3eafb188", "w": 24, "x": 0, "y": 8 }, - "panelIndex": "5", - "panelRefName": "panel_4", - "version": "7.3.0" + "panelIndex": "7e34a46f-7aa2-4337-9ac9-16bf3eafb188", + "title": "Average time in queue [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-1ee12873-9e13-450d-bad6-e678489068c9", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "1ee12873-9e13-450d-bad6-e678489068c9": { + "columnOrder": [ + "feb5073a-f13e-46d0-8f21-eacc42edf1ed", + "78fe8508-e763-45b7-b8cb-24c3e05f5bd4", + "465e057f-4a01-4439-94d8-8b33d6afdcae", + "465e057f-4a01-4439-94d8-8b33d6afdcaeX0", + "465e057f-4a01-4439-94d8-8b33d6afdcaeX1" + ], + "columns": { + "465e057f-4a01-4439-94d8-8b33d6afdcae": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Downtime", + "operationType": "formula", + "params": { + "format": { + "id": "number", + "params": { + "decimals": 1, + "suffix": "s" + } + }, + "formula": "differences(average(haproxy.stat.downtime))", + "isFormulaBroken": false + }, + "references": [ + "465e057f-4a01-4439-94d8-8b33d6afdcaeX1" + ], + "scale": "ratio" + }, + "465e057f-4a01-4439-94d8-8b33d6afdcaeX0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Downtime", + "operationType": "average", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.downtime" + }, + "465e057f-4a01-4439-94d8-8b33d6afdcaeX1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Downtime", + "operationType": "differences", + "references": [ + "465e057f-4a01-4439-94d8-8b33d6afdcaeX0" + ], + "scale": "ratio" + }, + "78fe8508-e763-45b7-b8cb-24c3e05f5bd4": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "feb5073a-f13e-46d0-8f21-eacc42edf1ed": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type:1" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": false, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "465e057f-4a01-4439-94d8-8b33d6afdcae" + ], + "layerId": "1ee12873-9e13-450d-bad6-e678489068c9", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "feb5073a-f13e-46d0-8f21-eacc42edf1ed", + "xAccessor": "78fe8508-e763-45b7-b8cb-24c3e05f5bd4", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "465e057f-4a01-4439-94d8-8b33d6afdcae" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Downtime" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { - "h": 8, - "i": "6", + "h": 12, + "i": "8500b4f5-8991-494a-8f00-d9e5af4584ab", + "w": 24, + "x": 24, + "y": 8 + }, + "panelIndex": "8500b4f5-8991-494a-8f00-d9e5af4584ab", + "title": "Downtime seconds [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" + }, + { + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9943e32e-9104-4c09-ae77-76bc97b1f0db", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "9943e32e-9104-4c09-ae77-76bc97b1f0db": { + "columnOrder": [ + "2b12c6c6-ab18-4536-a9a0-bc4465d0eede", + "aecfc175-3105-4649-b048-45e1abca3942", + "626a1748-dd24-405c-b163-d5c3c10d7487", + "de827fb9-3cbc-40fd-a528-24588d4713cc" + ], + "columns": { + "2b12c6c6-ab18-4536-a9a0-bc4465d0eede": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "626a1748-dd24-405c-b163-d5c3c10d7487": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(90) Percentile", + "operationType": "percentile", + "params": { + "percentile": 90 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + }, + "aecfc175-3105-4649-b048-45e1abca3942": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(99) Percentile", + "operationType": "percentile", + "params": { + "percentile": 99 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + }, + "de827fb9-3cbc-40fd-a528-24588d4713cc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "(50) Percentile", + "operationType": "percentile", + "params": { + "percentile": 50 + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.time.avg" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "aecfc175-3105-4649-b048-45e1abca3942", + "626a1748-dd24-405c-b163-d5c3c10d7487", + "de827fb9-3cbc-40fd-a528-24588d4713cc" + ], + "layerId": "9943e32e-9104-4c09-ae77-76bc97b1f0db", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "2b12c6c6-ab18-4536-a9a0-bc4465d0eede", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "aecfc175-3105-4649-b048-45e1abca3942" + }, + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "626a1748-dd24-405c-b163-d5c3c10d7487" + }, + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "de827fb9-3cbc-40fd-a528-24588d4713cc" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, + "gridData": { + "h": 12, + "i": "8b91d49a-b806-432c-80eb-521a27777ee9", "w": 24, "x": 0, - "y": 16 + "y": 20 + }, + "panelIndex": "8b91d49a-b806-432c-80eb-521a27777ee9", + "title": "Average connection time [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" + }, + { + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fd7f2257-6963-4c99-aef8-d7a0b8613165", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "fd7f2257-6963-4c99-aef8-d7a0b8613165": { + "columnOrder": [ + "bfb62b66-9d80-4f59-b4c3-e1a4888cf575", + "62cc3b88-53d4-473b-9418-12728f22e69b", + "e2e4c4f8-5971-4975-bdba-f4770e143275", + "ecd22c43-cbde-40ea-bbc1-c4c9a7f6eada" + ], + "columns": { + "62cc3b88-53d4-473b-9418-12728f22e69b": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.service_name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of @timestamp", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "@timestamp" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.service_name" + }, + "bfb62b66-9d80-4f59-b4c3-e1a4888cf575": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "e2e4c4f8-5971-4975-bdba-f4770e143275": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Connections per server", + "operationType": "differences", + "references": [ + "ecd22c43-cbde-40ea-bbc1-c4c9a7f6eada" + ], + "scale": "ratio" + }, + "ecd22c43-cbde-40ea-bbc1-c4c9a7f6eada": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of haproxy.stat.connection.total", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type: 2 or haproxy.stat.component_type: 3" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "e2e4c4f8-5971-4975-bdba-f4770e143275" + ], + "layerId": "fd7f2257-6963-4c99-aef8-d7a0b8613165", + "layerType": "data", + "position": "top", + "seriesType": "bar", + "showGridlines": false, + "splitAccessor": "62cc3b88-53d4-473b-9418-12728f22e69b", + "xAccessor": "bfb62b66-9d80-4f59-b4c3-e1a4888cf575", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "e2e4c4f8-5971-4975-bdba-f4770e143275" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "bar", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Connections" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": { + "dynamicActions": { + "events": [ + { + "action": { + "config": { + "openInNewTab": true, + "useCurrentDateRange": true, + "useCurrentFilters": true + }, + "factoryId": "DASHBOARD_TO_DASHBOARD_DRILLDOWN", + "name": "Go to Dashboard" + }, + "eventId": "6152464f-d08b-4c52-bbec-9247aaa51512", + "triggers": [ + "FILTER_TRIGGER" + ] + } + ] + } + }, + "hidePanelTitles": false, + "type": "lens" + }, + "gridData": { + "h": 12, + "i": "81f503e8-21b9-4b2d-80e6-5630e05e671f", + "w": 24, + "x": 24, + "y": 20 }, - "panelIndex": "6", - "panelRefName": "panel_5", - "version": "7.3.0" + "panelIndex": "81f503e8-21b9-4b2d-80e6-5630e05e671f", + "title": "Connections per server [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" } ], "timeRestore": false, "title": "[Metrics HAProxy] Backend", "version": 1 }, + "coreMigrationVersion": "8.6.0", + "created_at": "2023-04-10T13:07:07.875Z", "id": "haproxy-9151c900-471d-11e8-bc13-1397384faad3", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.6.0" }, - "namespaces": [ - "default" - ], "references": [ { - "id": "haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "3d7cc422-bbb1-473b-adce-17495255ae8d:indexpattern-datasource-layer-78557a7c-3c1f-4f57-a745-280fa0dc0010", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "bc964d94-79cc-4ce5-aa3c-ee6ed35d8313:indexpattern-datasource-layer-d3cab5da-80fa-44b9-846b-3e5975da6f10", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "d8e87fd0-37f1-4283-bf8c-3a282b3373fd:indexpattern-datasource-layer-d3cab5da-80fa-44b9-846b-3e5975da6f10", + "type": "index-pattern" }, { - "id": "haproxy-794b6cd0-471d-11e8-bc13-1397384faad3", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "7e34a46f-7aa2-4337-9ac9-16bf3eafb188:indexpattern-datasource-layer-90f14794-c5e6-4758-ab0b-a9ac50447ae2", + "type": "index-pattern" }, { - "id": "haproxy-bb0ab500-4735-11e8-bc13-1397384faad3", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "8500b4f5-8991-494a-8f00-d9e5af4584ab:indexpattern-datasource-layer-1ee12873-9e13-450d-bad6-e678489068c9", + "type": "index-pattern" }, { - "id": "haproxy-40bed190-473b-11e8-bc13-1397384faad3", - "name": "panel_3", - "type": "visualization" + "id": "metrics-*", + "name": "8b91d49a-b806-432c-80eb-521a27777ee9:indexpattern-datasource-layer-9943e32e-9104-4c09-ae77-76bc97b1f0db", + "type": "index-pattern" }, { - "id": "haproxy-0751ed00-479c-11e8-bc13-1397384faad3", - "name": "panel_4", - "type": "visualization" + "id": "metrics-*", + "name": "81f503e8-21b9-4b2d-80e6-5630e05e671f:indexpattern-datasource-layer-fd7f2257-6963-4c99-aef8-d7a0b8613165", + "type": "index-pattern" }, { - "id": "haproxy-b3463670-47a1-11e8-bc13-1397384faad3", - "name": "panel_5", - "type": "visualization" + "id": "haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3", + "name": "81f503e8-21b9-4b2d-80e6-5630e05e671f:drilldown:DASHBOARD_TO_DASHBOARD_DRILLDOWN:6152464f-d08b-4c52-bbec-9247aaa51512:dashboardId", + "type": "dashboard" } ], "type": "dashboard" diff --git a/packages/haproxy/kibana/dashboard/haproxy-d5878d00-47c5-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/dashboard/haproxy-d5878d00-47c5-11e8-bc13-1397384faad3.json index fd5416c055c9..7fdc5e827fbd 100644 --- a/packages/haproxy/kibana/dashboard/haproxy-d5878d00-47c5-11e8-bc13-1397384faad3.json +++ b/packages/haproxy/kibana/dashboard/haproxy-d5878d00-47c5-11e8-bc13-1397384faad3.json @@ -20,53 +20,438 @@ }, "panelsJSON": [ { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-27a2cef6-7ffd-4d5b-8e51-bed773e5da42", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "27a2cef6-7ffd-4d5b-8e51-bed773e5da42": { + "columnOrder": [ + "fefc46fb-ae1b-47b3-aad8-9a0359f1b75f", + "6a0dd311-710a-4054-a4a8-4a4a1afaedeb", + "723b3a64-bda9-4b2f-b343-12e39d12527c", + "723b3a64-bda9-4b2f-b343-12e39d12527cX0", + "723b3a64-bda9-4b2f-b343-12e39d12527cX1", + "723b3a64-bda9-4b2f-b343-12e39d12527cX2" + ], + "columns": { + "6a0dd311-710a-4054-a4a8-4a4a1afaedeb": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "723b3a64-bda9-4b2f-b343-12e39d12527c": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Number of connections", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "isFormulaBroken": false + }, + "references": [ + "723b3a64-bda9-4b2f-b343-12e39d12527cX2" + ], + "scale": "ratio" + }, + "723b3a64-bda9-4b2f-b343-12e39d12527cX0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.connection.total" + }, + "723b3a64-bda9-4b2f-b343-12e39d12527cX1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "differences", + "references": [ + "723b3a64-bda9-4b2f-b343-12e39d12527cX0" + ], + "scale": "ratio" + }, + "723b3a64-bda9-4b2f-b343-12e39d12527cX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "723b3a64-bda9-4b2f-b343-12e39d12527cX1", + 0 + ], + "location": { + "max": 60, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.connection.total)), 0)", + "type": "function" + } + }, + "references": [ + "723b3a64-bda9-4b2f-b343-12e39d12527cX1" + ], + "scale": "ratio" + }, + "fefc46fb-ae1b-47b3-aad8-9a0359f1b75f": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of haproxy.stat.proxy.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "haproxy.stat.proxy.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "haproxy.stat.component_type:(0 OR 1)" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "723b3a64-bda9-4b2f-b343-12e39d12527c" + ], + "layerId": "27a2cef6-7ffd-4d5b-8e51-bed773e5da42", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "splitAccessor": "fefc46fb-ae1b-47b3-aad8-9a0359f1b75f", + "xAccessor": "6a0dd311-710a-4054-a4a8-4a4a1afaedeb", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "723b3a64-bda9-4b2f-b343-12e39d12527c" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 12, - "i": "2", + "i": "e9116ed1-991e-4cb5-b42d-409ad40a4ae0", "w": 24, "x": 0, "y": 0 }, - "panelIndex": "2", - "panelRefName": "panel_0", - "version": "7.3.0" + "panelIndex": "e9116ed1-991e-4cb5-b42d-409ad40a4ae0", + "title": "Connections [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-055e8ae6-5244-48eb-ad89-10d3dccc0635", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-1a73f29e-f49b-409f-940c-e8c139100a29", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "055e8ae6-5244-48eb-ad89-10d3dccc0635": { + "columnOrder": [ + "97b756c0-8589-44dc-9db7-ae8bc3669f1a", + "1dc2542d-9889-4086-b182-9f94ea6531f2", + "51d1b6f4-fb3f-4de5-b1a7-bc80c0786d5a" + ], + "columns": { + "1dc2542d-9889-4086-b182-9f94ea6531f2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Outgoing", + "operationType": "differences", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "references": [ + "51d1b6f4-fb3f-4de5-b1a7-bc80c0786d5a" + ], + "scale": "ratio" + }, + "51d1b6f4-fb3f-4de5-b1a7-bc80c0786d5a": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.out.bytes", + "operationType": "sum", + "scale": "ratio", + "sourceField": "haproxy.stat.out.bytes" + }, + "97b756c0-8589-44dc-9db7-ae8bc3669f1a": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "1a73f29e-f49b-409f-940c-e8c139100a29": { + "columnOrder": [ + "82eed53c-8b00-4274-9cc3-c70fcc6d3cf6", + "e935bbf5-b85a-448f-a495-b95c05a3fc5b", + "835101c6-7983-4cc8-9aef-e27e08e48517" + ], + "columns": { + "82eed53c-8b00-4274-9cc3-c70fcc6d3cf6": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "835101c6-7983-4cc8-9aef-e27e08e48517": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.in.bytes", + "operationType": "sum", + "scale": "ratio", + "sourceField": "haproxy.stat.in.bytes" + }, + "e935bbf5-b85a-448f-a495-b95c05a3fc5b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Incoming", + "operationType": "differences", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "references": [ + "835101c6-7983-4cc8-9aef-e27e08e48517" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "e935bbf5-b85a-448f-a495-b95c05a3fc5b" + ], + "layerId": "1a73f29e-f49b-409f-940c-e8c139100a29", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "82eed53c-8b00-4274-9cc3-c70fcc6d3cf6", + "yConfig": [ + { + "axisMode": "left", + "color": "#a4dd00", + "forAccessor": "e935bbf5-b85a-448f-a495-b95c05a3fc5b" + } + ] + }, + { + "accessors": [ + "1dc2542d-9889-4086-b182-9f94ea6531f2" + ], + "layerId": "055e8ae6-5244-48eb-ad89-10d3dccc0635", + "layerType": "data", + "seriesType": "area", + "xAccessor": "97b756c0-8589-44dc-9db7-ae8bc3669f1a", + "yConfig": [ + { + "axisMode": "left", + "color": "#194d33", + "forAccessor": "1dc2542d-9889-4086-b182-9f94ea6531f2" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 12, - "i": "3", + "i": "e90f424e-0176-425a-8243-3b77c30e51c7", "w": 24, "x": 24, "y": 0 }, - "panelIndex": "3", - "panelRefName": "panel_1", - "version": "7.3.0" + "panelIndex": "e90f424e-0176-425a-8243-3b77c30e51c7", + "title": "Traffic volume [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" } ], "timeRestore": false, "title": "[Metrics HAProxy] Frontend", "version": 1 }, + "coreMigrationVersion": "8.6.0", + "created_at": "2023-04-10T13:07:07.875Z", "id": "haproxy-d5878d00-47c5-11e8-bc13-1397384faad3", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.6.0" }, - "namespaces": [ - "default" - ], "references": [ { - "id": "haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "e9116ed1-991e-4cb5-b42d-409ad40a4ae0:indexpattern-datasource-layer-27a2cef6-7ffd-4d5b-8e51-bed773e5da42", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "e90f424e-0176-425a-8243-3b77c30e51c7:indexpattern-datasource-layer-055e8ae6-5244-48eb-ad89-10d3dccc0635", + "type": "index-pattern" }, { - "id": "haproxy-86159190-47c5-11e8-bc13-1397384faad3", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "e90f424e-0176-425a-8243-3b77c30e51c7:indexpattern-datasource-layer-1a73f29e-f49b-409f-940c-e8c139100a29", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/haproxy/kibana/dashboard/haproxy-e9057ae0-47c5-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/dashboard/haproxy-e9057ae0-47c5-11e8-bc13-1397384faad3.json index 46eec2ffd80d..400fca321dac 100644 --- a/packages/haproxy/kibana/dashboard/haproxy-e9057ae0-47c5-11e8-bc13-1397384faad3.json +++ b/packages/haproxy/kibana/dashboard/haproxy-e9057ae0-47c5-11e8-bc13-1397384faad3.json @@ -20,71 +20,1296 @@ }, "panelsJSON": [ { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-2fba7341-7686-4300-ac0b-71a934863c33", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-d92dc444-9899-4a3f-bba1-d88acc925dc3", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-73176231-3e7a-49e2-bc58-810f7f36f682", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc": { + "columnOrder": [ + "4c614dd6-2788-4719-a01f-0e28bed67033", + "4a605bd3-8d26-4157-949c-898b48e99c54", + "4a605bd3-8d26-4157-949c-898b48e99c54X0", + "4a605bd3-8d26-4157-949c-898b48e99c54X1", + "4a605bd3-8d26-4157-949c-898b48e99c54X2" + ], + "columns": { + "4a605bd3-8d26-4157-949c-898b48e99c54": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "300s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X2" + ], + "scale": "ratio" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.3xx" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "differences", + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X0" + ], + "scale": "ratio" + }, + "4a605bd3-8d26-4157-949c-898b48e99c54X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.3xx)), 0)", + "type": "function" + } + }, + "references": [ + "4a605bd3-8d26-4157-949c-898b48e99c54X1" + ], + "scale": "ratio" + }, + "4c614dd6-2788-4719-a01f-0e28bed67033": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "2fba7341-7686-4300-ac0b-71a934863c33": { + "columnOrder": [ + "4894fcc1-f359-40e6-91d3-14d3c4687149", + "e65e16be-8949-45c1-9d62-4c7869130020", + "e65e16be-8949-45c1-9d62-4c7869130020X0", + "e65e16be-8949-45c1-9d62-4c7869130020X1", + "e65e16be-8949-45c1-9d62-4c7869130020X2" + ], + "columns": { + "4894fcc1-f359-40e6-91d3-14d3c4687149": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "e65e16be-8949-45c1-9d62-4c7869130020": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "200s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.2xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X2" + ], + "scale": "ratio" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.2xx" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "differences", + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X0" + ], + "scale": "ratio" + }, + "e65e16be-8949-45c1-9d62-4c7869130020X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of 200s", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "e65e16be-8949-45c1-9d62-4c7869130020X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.2xx)), 0)", + "type": "function" + } + }, + "references": [ + "e65e16be-8949-45c1-9d62-4c7869130020X1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + }, + "73176231-3e7a-49e2-bc58-810f7f36f682": { + "columnOrder": [ + "45bd785e-e939-47af-8719-11cf3418004a", + "013c26c6-17fb-4a7b-8646-c32ca37d090c", + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358" + ], + "columns": { + "013c26c6-17fb-4a7b-8646-c32ca37d090c": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Other", + "operationType": "differences", + "references": [ + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358" + ], + "scale": "ratio" + }, + "45bd785e-e939-47af-8719-11cf3418004a": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "f8f89f9c-c4f9-4074-8e28-9f17db4e7358": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.response.http.other", + "operationType": "sum", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.other" + } + }, + "incompleteColumns": {} + }, + "9da452b6-5ea7-4e64-8c6b-e480ca307e90": { + "columnOrder": [ + "8026680f-5eba-4a32-948e-b2d87783d32d", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1", + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2" + ], + "columns": { + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "400s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2" + ], + "scale": "ratio" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.4xx" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "differences", + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X0" + ], + "scale": "ratio" + }, + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.4xx)), 0)", + "type": "function" + } + }, + "references": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0X1" + ], + "scale": "ratio" + }, + "8026680f-5eba-4a32-948e-b2d87783d32d": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "d92dc444-9899-4a3f-bba1-d88acc925dc3": { + "columnOrder": [ + "0b85f28a-b6c6-4e3e-b271-04be17a42f57", + "6748ff2b-a0de-4591-9936-1ee496048cc3", + "6748ff2b-a0de-4591-9936-1ee496048cc3X0", + "6748ff2b-a0de-4591-9936-1ee496048cc3X1", + "6748ff2b-a0de-4591-9936-1ee496048cc3X2" + ], + "columns": { + "0b85f28a-b6c6-4e3e-b271-04be17a42f57": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "500s", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "isFormulaBroken": false + }, + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X2" + ], + "scale": "ratio" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.http.5xx" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "differences", + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X0" + ], + "scale": "ratio" + }, + "6748ff2b-a0de-4591-9936-1ee496048cc3X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X1", + 0 + ], + "location": { + "max": 61, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(sum(haproxy.stat.response.http.5xx)), 0)", + "type": "function" + } + }, + "references": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3X1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + }, + "fc89f6a7-4d4f-441a-bfa2-b804d7078540": { + "columnOrder": [ + "79068ac4-ae7e-404b-8e31-fb5013792f4b", + "79f2b50f-858c-49a5-aec7-07267c81617d", + "72a566f0-7d61-4813-856e-22de65b8c0f5" + ], + "columns": { + "72a566f0-7d61-4813-856e-22de65b8c0f5": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.response.errors", + "operationType": "sum", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "haproxy.stat.response.errors" + }, + "79068ac4-ae7e-404b-8e31-fb5013792f4b": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "79f2b50f-858c-49a5-aec7-07267c81617d": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Response errors", + "operationType": "differences", + "references": [ + "72a566f0-7d61-4813-856e-22de65b8c0f5" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "e65e16be-8949-45c1-9d62-4c7869130020" + ], + "layerId": "2fba7341-7686-4300-ac0b-71a934863c33", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "4894fcc1-f359-40e6-91d3-14d3c4687149", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "e65e16be-8949-45c1-9d62-4c7869130020" + } + ] + }, + { + "accessors": [ + "4a605bd3-8d26-4157-949c-898b48e99c54" + ], + "layerId": "15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "layerType": "data", + "seriesType": "area", + "xAccessor": "4c614dd6-2788-4719-a01f-0e28bed67033", + "yConfig": [ + { + "axisMode": "left", + "color": "#40f000", + "forAccessor": "4a605bd3-8d26-4157-949c-898b48e99c54" + } + ] + }, + { + "accessors": [ + "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0" + ], + "layerId": "9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "layerType": "data", + "seriesType": "area", + "xAccessor": "8026680f-5eba-4a32-948e-b2d87783d32d", + "yConfig": [ + { + "axisMode": "left", + "color": "#fff600", + "forAccessor": "04ed8245-56ef-4bd7-a28c-d3df2d2b6ed0" + } + ] + }, + { + "accessors": [ + "6748ff2b-a0de-4591-9936-1ee496048cc3" + ], + "layerId": "d92dc444-9899-4a3f-bba1-d88acc925dc3", + "layerType": "data", + "seriesType": "area", + "xAccessor": "0b85f28a-b6c6-4e3e-b271-04be17a42f57", + "yConfig": [ + { + "axisMode": "left", + "color": "#ff0004", + "forAccessor": "6748ff2b-a0de-4591-9936-1ee496048cc3" + } + ] + }, + { + "accessors": [ + "013c26c6-17fb-4a7b-8646-c32ca37d090c" + ], + "layerId": "73176231-3e7a-49e2-bc58-810f7f36f682", + "layerType": "data", + "seriesType": "area", + "xAccessor": "45bd785e-e939-47af-8719-11cf3418004a", + "yConfig": [ + { + "axisMode": "left", + "color": "#00fbff", + "forAccessor": "013c26c6-17fb-4a7b-8646-c32ca37d090c" + } + ] + }, + { + "accessors": [ + "79f2b50f-858c-49a5-aec7-07267c81617d" + ], + "layerId": "fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "layerType": "data", + "seriesType": "area", + "xAccessor": "79068ac4-ae7e-404b-8e31-fb5013792f4b", + "yConfig": [ + { + "axisMode": "left", + "color": "#0f1419", + "forAccessor": "79f2b50f-858c-49a5-aec7-07267c81617d" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 12, - "i": "3", - "w": 24, - "x": 24, - "y": 12 + "i": "6ed243a0-373a-4145-82ce-3dd7668fb41e", + "w": 48, + "x": 0, + "y": 0 }, - "panelIndex": "3", - "panelRefName": "panel_0", - "version": "7.3.0" + "panelIndex": "6ed243a0-373a-4145-82ce-3dd7668fb41e", + "title": "HTTP response codes [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-a009a61e-8b0c-414f-8238-e7fc8b917a98", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-68e76224-ada6-4c34-9ad2-32b1e2ac0cdc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-5f2787c5-1b85-4370-975e-3d6563fd5e2f", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "5f2787c5-1b85-4370-975e-3d6563fd5e2f": { + "columnOrder": [ + "5bfad221-8ad3-4f80-9b0f-bfc961ac8dec", + "fa81c009-20cc-4716-9665-c74b91f7a127", + "fa81c009-20cc-4716-9665-c74b91f7a127X0", + "fa81c009-20cc-4716-9665-c74b91f7a127X1", + "fa81c009-20cc-4716-9665-c74b91f7a127X2" + ], + "columns": { + "5bfad221-8ad3-4f80-9b0f-bfc961ac8dec": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "fa81c009-20cc-4716-9665-c74b91f7a127": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Denied requests", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(max(haproxy.stat.request.denied)), 0)", + "isFormulaBroken": false + }, + "references": [ + "fa81c009-20cc-4716-9665-c74b91f7a127X2" + ], + "scale": "ratio" + }, + "fa81c009-20cc-4716-9665-c74b91f7a127X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(max(haproxy.stat.request.denied)), 0)", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.request.denied" + }, + "fa81c009-20cc-4716-9665-c74b91f7a127X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(max(haproxy.stat.request.denied)), 0)", + "operationType": "differences", + "references": [ + "fa81c009-20cc-4716-9665-c74b91f7a127X0" + ], + "scale": "ratio" + }, + "fa81c009-20cc-4716-9665-c74b91f7a127X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(max(haproxy.stat.request.denied)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "fa81c009-20cc-4716-9665-c74b91f7a127X1", + 0 + ], + "location": { + "max": 58, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(max(haproxy.stat.request.denied)), 0)", + "type": "function" + } + }, + "references": [ + "fa81c009-20cc-4716-9665-c74b91f7a127X1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + }, + "68e76224-ada6-4c34-9ad2-32b1e2ac0cdc": { + "columnOrder": [ + "64984433-d6f8-46cc-9041-dd181b92f302", + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X0", + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X1", + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X2", + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3" + ], + "columns": { + "64984433-d6f8-46cc-9041-dd181b92f302": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Request errors", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(max(haproxy.stat.request.errors)), 0)", + "isFormulaBroken": false + }, + "references": [ + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X2" + ], + "scale": "ratio" + }, + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Request errors", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.request.errors" + }, + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Request errors", + "operationType": "differences", + "references": [ + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X0" + ], + "scale": "ratio" + }, + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Request errors", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X1", + 0 + ], + "location": { + "max": 58, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(max(haproxy.stat.request.errors)), 0)", + "type": "function" + } + }, + "references": [ + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3X1" + ], + "scale": "ratio" + } + } + }, + "a009a61e-8b0c-414f-8238-e7fc8b917a98": { + "columnOrder": [ + "e9b5159f-f922-4d4e-a11c-63f78f28a632", + "3a71b29f-64e3-482f-9fcb-45466f061636", + "3a71b29f-64e3-482f-9fcb-45466f061636X0", + "3a71b29f-64e3-482f-9fcb-45466f061636X1", + "3a71b29f-64e3-482f-9fcb-45466f061636X2" + ], + "columns": { + "3a71b29f-64e3-482f-9fcb-45466f061636": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Requests", + "operationType": "formula", + "params": { + "formula": "pick_max(differences(max(haproxy.stat.request.total)), 0)", + "isFormulaBroken": false + }, + "references": [ + "3a71b29f-64e3-482f-9fcb-45466f061636X2" + ], + "scale": "ratio" + }, + "3a71b29f-64e3-482f-9fcb-45466f061636X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(max(haproxy.stat.request.total)), 0)", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "haproxy.stat.request.total" + }, + "3a71b29f-64e3-482f-9fcb-45466f061636X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(max(haproxy.stat.request.total)), 0)", + "operationType": "differences", + "references": [ + "3a71b29f-64e3-482f-9fcb-45466f061636X0" + ], + "scale": "ratio" + }, + "3a71b29f-64e3-482f-9fcb-45466f061636X2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of pick_max(differences(max(haproxy.stat.request.total)), 0)", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "3a71b29f-64e3-482f-9fcb-45466f061636X1", + 0 + ], + "location": { + "max": 57, + "min": 0 + }, + "name": "pick_max", + "text": "pick_max(differences(max(haproxy.stat.request.total)), 0)", + "type": "function" + } + }, + "references": [ + "3a71b29f-64e3-482f-9fcb-45466f061636X1" + ], + "scale": "ratio" + }, + "e9b5159f-f922-4d4e-a11c-63f78f28a632": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "3a71b29f-64e3-482f-9fcb-45466f061636" + ], + "layerId": "a009a61e-8b0c-414f-8238-e7fc8b917a98", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "e9b5159f-f922-4d4e-a11c-63f78f28a632", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "3a71b29f-64e3-482f-9fcb-45466f061636" + } + ] + }, + { + "accessors": [ + "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3" + ], + "layerId": "68e76224-ada6-4c34-9ad2-32b1e2ac0cdc", + "layerType": "data", + "seriesType": "area", + "xAccessor": "64984433-d6f8-46cc-9041-dd181b92f302", + "yConfig": [ + { + "axisMode": "left", + "color": "#ff0000", + "forAccessor": "b1909fb0-3a85-4186-90ca-f7a1b92e6aa3" + } + ] + }, + { + "accessors": [ + "fa81c009-20cc-4716-9665-c74b91f7a127" + ], + "layerId": "5f2787c5-1b85-4370-975e-3d6563fd5e2f", + "layerType": "data", + "seriesType": "area", + "xAccessor": "5bfad221-8ad3-4f80-9b0f-bfc961ac8dec", + "yConfig": [ + { + "axisMode": "left", + "color": "#000000", + "forAccessor": "fa81c009-20cc-4716-9665-c74b91f7a127" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 12, - "i": "4", - "w": 48, + "i": "c29a5ec6-6ee4-4a4d-9af1-12c3345f932c", + "w": 24, "x": 0, - "y": 0 + "y": 12 }, - "panelIndex": "4", - "panelRefName": "panel_1", - "version": "7.3.0" + "panelIndex": "c29a5ec6-6ee4-4a4d-9af1-12c3345f932c", + "title": "Requests [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-055e8ae6-5244-48eb-ad89-10d3dccc0635", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-1a73f29e-f49b-409f-940c-e8c139100a29", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "formBased": { + "layers": { + "055e8ae6-5244-48eb-ad89-10d3dccc0635": { + "columnOrder": [ + "97b756c0-8589-44dc-9db7-ae8bc3669f1a", + "1dc2542d-9889-4086-b182-9f94ea6531f2", + "51d1b6f4-fb3f-4de5-b1a7-bc80c0786d5a" + ], + "columns": { + "1dc2542d-9889-4086-b182-9f94ea6531f2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Outgoing", + "operationType": "differences", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "references": [ + "51d1b6f4-fb3f-4de5-b1a7-bc80c0786d5a" + ], + "scale": "ratio" + }, + "51d1b6f4-fb3f-4de5-b1a7-bc80c0786d5a": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.out.bytes", + "operationType": "sum", + "scale": "ratio", + "sourceField": "haproxy.stat.out.bytes" + }, + "97b756c0-8589-44dc-9db7-ae8bc3669f1a": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + }, + "1a73f29e-f49b-409f-940c-e8c139100a29": { + "columnOrder": [ + "82eed53c-8b00-4274-9cc3-c70fcc6d3cf6", + "e935bbf5-b85a-448f-a495-b95c05a3fc5b", + "835101c6-7983-4cc8-9aef-e27e08e48517" + ], + "columns": { + "82eed53c-8b00-4274-9cc3-c70fcc6d3cf6": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "835101c6-7983-4cc8-9aef-e27e08e48517": { + "dataType": "number", + "isBucketed": false, + "label": "Sum of haproxy.stat.in.bytes", + "operationType": "sum", + "scale": "ratio", + "sourceField": "haproxy.stat.in.bytes" + }, + "e935bbf5-b85a-448f-a495-b95c05a3fc5b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Incoming", + "operationType": "differences", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "references": [ + "835101c6-7983-4cc8-9aef-e27e08e48517" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "layers": [ + { + "accessors": [ + "e935bbf5-b85a-448f-a495-b95c05a3fc5b" + ], + "layerId": "1a73f29e-f49b-409f-940c-e8c139100a29", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "82eed53c-8b00-4274-9cc3-c70fcc6d3cf6", + "yConfig": [ + { + "axisMode": "left", + "color": "#a4dd00", + "forAccessor": "e935bbf5-b85a-448f-a495-b95c05a3fc5b" + } + ] + }, + { + "accessors": [ + "1dc2542d-9889-4086-b182-9f94ea6531f2" + ], + "layerId": "055e8ae6-5244-48eb-ad89-10d3dccc0635", + "layerType": "data", + "seriesType": "area", + "xAccessor": "97b756c0-8589-44dc-9db7-ae8bc3669f1a", + "yConfig": [ + { + "axisMode": "left", + "color": "#194d33", + "forAccessor": "1dc2542d-9889-4086-b182-9f94ea6531f2" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + } + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" + }, "gridData": { "h": 12, - "i": "5", + "i": "8e3a9986-e89d-46ae-ab87-68450dd959e5", "w": 24, - "x": 0, + "x": 24, "y": 12 }, - "panelIndex": "5", - "panelRefName": "panel_2", - "version": "7.3.0" + "panelIndex": "8e3a9986-e89d-46ae-ab87-68450dd959e5", + "title": "Traffic volume [Metrics HAProxy]", + "type": "lens", + "version": "8.6.0" } ], "timeRestore": false, "title": "[Metrics HAProxy] HTTP frontend", "version": 1 }, + "coreMigrationVersion": "8.6.0", + "created_at": "2023-04-10T13:07:07.875Z", "id": "haproxy-e9057ae0-47c5-11e8-bc13-1397384faad3", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.6.0" }, - "namespaces": [ - "default" - ], "references": [ { - "id": "haproxy-86159190-47c5-11e8-bc13-1397384faad3", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "6ed243a0-373a-4145-82ce-3dd7668fb41e:indexpattern-datasource-layer-2fba7341-7686-4300-ac0b-71a934863c33", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6ed243a0-373a-4145-82ce-3dd7668fb41e:indexpattern-datasource-layer-15883bc9-98d9-4b7c-ba2b-1e9a40b9c6cc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6ed243a0-373a-4145-82ce-3dd7668fb41e:indexpattern-datasource-layer-9da452b6-5ea7-4e64-8c6b-e480ca307e90", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6ed243a0-373a-4145-82ce-3dd7668fb41e:indexpattern-datasource-layer-d92dc444-9899-4a3f-bba1-d88acc925dc3", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6ed243a0-373a-4145-82ce-3dd7668fb41e:indexpattern-datasource-layer-73176231-3e7a-49e2-bc58-810f7f36f682", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6ed243a0-373a-4145-82ce-3dd7668fb41e:indexpattern-datasource-layer-fc89f6a7-4d4f-441a-bfa2-b804d7078540", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "c29a5ec6-6ee4-4a4d-9af1-12c3345f932c:indexpattern-datasource-layer-a009a61e-8b0c-414f-8238-e7fc8b917a98", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "c29a5ec6-6ee4-4a4d-9af1-12c3345f932c:indexpattern-datasource-layer-68e76224-ada6-4c34-9ad2-32b1e2ac0cdc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "c29a5ec6-6ee4-4a4d-9af1-12c3345f932c:indexpattern-datasource-layer-5f2787c5-1b85-4370-975e-3d6563fd5e2f", + "type": "index-pattern" }, { - "id": "haproxy-fcbdfa60-47bd-11e8-bc13-1397384faad3", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "8e3a9986-e89d-46ae-ab87-68450dd959e5:indexpattern-datasource-layer-055e8ae6-5244-48eb-ad89-10d3dccc0635", + "type": "index-pattern" }, { - "id": "haproxy-30956d00-47d7-11e8-bc13-1397384faad3", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "8e3a9986-e89d-46ae-ab87-68450dd959e5:indexpattern-datasource-layer-1a73f29e-f49b-409f-940c-e8c139100a29", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/haproxy/kibana/visualization/haproxy-0751ed00-479c-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-0751ed00-479c-11e8-bc13-1397384faad3.json deleted file mode 100644 index 5a64f6275b26..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-0751ed00-479c-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Average connection time [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0.1", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Percentile", - "line_width": "1", - "metrics": [ - { - "field": "haproxy.stat.connection.time.avg", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "percentiles": [ - { - "id": "9fa517e0-479b-11e8-9590-e34c5ed2dd95", - "mode": "line", - "percentile": "", - "shade": 0.2, - "value": "99" - }, - { - "id": "daafd6e0-479b-11e8-9590-e34c5ed2dd95", - "mode": "line", - "percentile": "", - "shade": 0.2, - "value": "90" - }, - { - "id": "e006b8c0-479b-11e8-9590-e34c5ed2dd95", - "mode": "line", - "percentile": "", - "shade": 0.2, - "value": "50" - } - ], - "type": "percentile" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none", - "terms_field": "haproxy.stat.service_name" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy average connection time", - "type": "metrics" - } - }, - "id": "haproxy-0751ed00-479c-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-30956d00-47d7-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-30956d00-47d7-11e8-bc13-1397384faad3.json deleted file mode 100644 index 3094e3471dbe..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-30956d00-47d7-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Requests [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Requests", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.request.total", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "max" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "ad38e2c0-47d6-11e8-994c-81d2daeb7c86", - "type": "derivative", - "unit": "" - }, - { - "field": "ad38e2c0-47d6-11e8-994c-81d2daeb7c86", - "id": "b1ca03a0-47d6-11e8-994c-81d2daeb7c86", - "type": "positive_only", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(255,0,0,1)", - "fill": 0.5, - "formatter": "number", - "id": "c2f30500-47d6-11e8-994c-81d2daeb7c86", - "label": "Request errors", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.request.errors", - "id": "c2f30501-47d6-11e8-994c-81d2daeb7c86", - "type": "max" - }, - { - "field": "c2f30501-47d6-11e8-994c-81d2daeb7c86", - "id": "c2f30502-47d6-11e8-994c-81d2daeb7c86", - "type": "derivative", - "unit": "" - }, - { - "field": "c2f30502-47d6-11e8-994c-81d2daeb7c86", - "id": "c2f30503-47d6-11e8-994c-81d2daeb7c86", - "type": "positive_only", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(0,0,0,1)", - "fill": 0.5, - "formatter": "number", - "id": "11968ce0-47d7-11e8-994c-81d2daeb7c86", - "label": "Denied requests", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.request.denied", - "id": "11968ce1-47d7-11e8-994c-81d2daeb7c86", - "type": "max" - }, - { - "field": "11968ce1-47d7-11e8-994c-81d2daeb7c86", - "id": "11968ce2-47d7-11e8-994c-81d2daeb7c86", - "type": "derivative", - "unit": "" - }, - { - "field": "11968ce2-47d7-11e8-994c-81d2daeb7c86", - "id": "11968ce3-47d7-11e8-994c-81d2daeb7c86", - "type": "positive_only", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy requests", - "type": "metrics" - } - }, - "id": "haproxy-30956d00-47d7-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-40bed190-473b-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-40bed190-473b-11e8-bc13-1397384faad3.json deleted file mode 100644 index 3f8eff0793fd..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-40bed190-473b-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Downtime seconds [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "background_color_rules": [ - { - "id": "c86b8e00-4739-11e8-8953-55bbe33e1362" - } - ], - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:1" - }, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(255,0,0,1)", - "fill": 0.5, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Downtime", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.downtime", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "91aa6a20-473a-11e8-8953-55bbe33e1362", - "type": "derivative", - "unit": "" - }, - { - "field": "91aa6a20-473a-11e8-8953-55bbe33e1362", - "id": "a8ce7ca0-473a-11e8-8953-55bbe33e1362", - "sigma": "", - "type": "sum_bucket" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "haproxy.stat.proxy.name", - "value_template": "{{value}}s" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "metric" - }, - "title": "HAProxy downtime seconds", - "type": "metrics" - } - }, - "id": "haproxy-40bed190-473b-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-72e84b00-47e1-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-72e84b00-47e1-11e8-bc13-1397384faad3.json deleted file mode 100644 index bc8eb1440d40..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-72e84b00-47e1-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Number of server connections [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:(2 OR 3)" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Number of connections", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.connection.total", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "22668d40-47e1-11e8-96ee-d767c73d008a", - "type": "derivative", - "unit": "" - }, - { - "field": "22668d40-47e1-11e8-96ee-d767c73d008a", - "id": "2a1d0a00-47e1-11e8-96ee-d767c73d008a", - "type": "positive_only", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "haproxy.stat.service_name" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy number of server connections", - "type": "metrics" - } - }, - "id": "haproxy-72e84b00-47e1-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-79350d50-47db-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-79350d50-47db-11e8-bc13-1397384faad3.json deleted file mode 100644 index 15a32bd50367..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-79350d50-47db-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Servers per connection [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "bar_color_rules": [ - { - "id": "50830800-47d9-11e8-9db9-274c7a5e25e4" - } - ], - "drilldown_url": "../app/kibana#/dashboard/haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3?_a=(query:(language:kuery,query:'haproxy.stat.service_name:\"{{ key }}\"'))", - "filter": "", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "ignore_global_filter": 0, - "index_pattern": "metrics-*", - "interval": "auto", - "markdown": "{{#each _all}}\n{{ label }}\n\n{{/each}}", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:(2 OR 3)" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Servers", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.connection.total", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "haproxy.stat.service_name", - "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", - "terms_size": "20", - "var_name": "" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "top_n" - }, - "title": "HAProxy servers per connection", - "type": "metrics" - } - }, - "id": "haproxy-79350d50-47db-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-794b6cd0-471d-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-794b6cd0-471d-11e8-bc13-1397384faad3.json deleted file mode 100644 index 58da603ad612..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-794b6cd0-471d-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Active servers in backend [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "background_color_rules": [ - { - "color": "rgba(255,0,6,1)", - "id": "1ec0dde0-471d-11e8-9876-09cc6c85f5f2", - "operator": "lte", - "value": 0 - } - ], - "bar_color_rules": [ - { - "id": "297160c0-471d-11e8-9876-09cc6c85f5f2" - } - ], - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:(2 OR 3)" - }, - "gauge_color_rules": [ - { - "gauge": "rgba(255,0,5,1)", - "id": "4ce156a0-471d-11e8-9876-09cc6c85f5f2", - "operator": "lte", - "text": null, - "value": 0 - }, - { - "gauge": "rgba(255,196,0,1)", - "id": "f8458a80-4721-11e8-b854-2f6d2b452362", - "operator": "lte", - "value": 0.5 - } - ], - "gauge_inner_width": 10, - "gauge_max": "1", - "gauge_style": "half", - "gauge_width": 10, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "lucene", - "query": "haproxy.stat.status:UP" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Active servers", - "line_width": 1, - "metrics": [ - { - "denominator": "*", - "field": "haproxy.stat.server.id", - "id": "b754d060-471e-11e8-9876-09cc6c85f5f2", - "metric_agg": "count", - "numerator": "*", - "script": "params.up / (params.down + params.up)", - "type": "cardinality", - "variables": [ - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "cfd51780-471e-11e8-9d35-6baabcdce3dc", - "name": "down" - }, - { - "field": "a049c420-471e-11e8-9876-09cc6c85f5f2", - "id": "45e6ec00-471f-11e8-9d35-6baabcdce3dc", - "name": "up" - } - ] - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none", - "terms_field": "haproxy.stat.proxy.name" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "number", - "id": "2cba9420-4724-11e8-b854-2f6d2b452362", - "label": "Total servers", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.server.id", - "id": "2cba9421-4724-11e8-b854-2f6d2b452362", - "type": "cardinality" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "metric" - }, - "title": "HAProxy active servers in backend", - "type": "metrics" - } - }, - "id": "haproxy-794b6cd0-471d-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-86159190-47c5-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-86159190-47c5-11e8-bc13-1397384faad3.json deleted file mode 100644 index 808a254c767c..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-86159190-47c5-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Traffic volume [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(164,221,0,1)", - "fill": "0.5", - "formatter": "bytes", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Incoming", - "line_width": "1", - "metrics": [ - { - "field": "haproxy.stat.in.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "9814c420-47c4-11e8-994c-81d2daeb7c86", - "type": "derivative", - "unit": "" - } - ], - "point_size": "1", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(25,77,51,1)", - "fill": "0.5", - "formatter": "bytes", - "id": "c89d1520-47c4-11e8-994c-81d2daeb7c86", - "label": "Outgoing", - "line_width": "1", - "metrics": [ - { - "field": "haproxy.stat.out.bytes", - "id": "c89d6340-47c4-11e8-994c-81d2daeb7c86", - "type": "sum" - }, - { - "field": "c89d6340-47c4-11e8-994c-81d2daeb7c86", - "id": "c89d6341-47c4-11e8-994c-81d2daeb7c86", - "type": "derivative", - "unit": "" - } - ], - "override_index_pattern": 0, - "point_size": "1", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy traffic volume", - "type": "metrics" - } - }, - "id": "haproxy-86159190-47c5-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-8c8f0300-47dc-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-8c8f0300-47dc-11e8-bc13-1397384faad3.json deleted file mode 100644 index d0f86df05476..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-8c8f0300-47dc-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Backends per connection [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "bar_color_rules": [ - { - "id": "4aeddd40-47dc-11e8-9db9-274c7a5e25e4" - } - ], - "drilldown_url": "../app/kibana#/dashboard/haproxy-0836a4b0-47bd-11e8-bc13-1397384faad3?_a=(query:(language:kuery,query:'haproxy.stat.proxy.name:\"{{ key }}\"'))", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:1" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Backends", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.connection.total", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "haproxy.stat.proxy.name", - "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", - "terms_size": "20" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "top_n" - }, - "title": "HAProxy backends per connection", - "type": "metrics" - } - }, - "id": "haproxy-8c8f0300-47dc-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-976b0910-47e4-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-976b0910-47e4-11e8-bc13-1397384faad3.json deleted file mode 100644 index c873ebeadc42..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-976b0910-47e4-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Healthcheck [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(255,0,4,1)", - "fill": 0.5, - "formatter": "number", - "id": "198f56e0-47e4-11e8-b45e-f10c3845381c", - "label": "Down", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.downtime", - "id": "198f56e1-47e4-11e8-b45e-f10c3845381c", - "type": "sum" - }, - { - "field": "198f56e1-47e4-11e8-b45e-f10c3845381c", - "id": "dbf38560-47e6-11e8-b45e-f10c3845381c", - "sigma": "", - "type": "derivative", - "unit": "" - }, - { - "field": "dbf38560-47e6-11e8-b45e-f10c3845381c", - "id": "62274b80-47e7-11e8-b45e-f10c3845381c", - "type": "positive_only", - "unit": "" - }, - { - "id": "7b7a7300-47e7-11e8-b45e-f10c3845381c", - "script": "(params.down \u003e 0) ? 1 : 0", - "type": "calculation", - "variables": [ - { - "field": "62274b80-47e7-11e8-b45e-f10c3845381c", - "id": "7e577b40-47e7-11e8-b45e-f10c3845381c", - "name": "down" - } - ] - } - ], - "point_size": 1, - "seperate_axis": 1, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(255,218,0,1)", - "fill": 0.5, - "formatter": "ms,ms,0", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Duration (ms)", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.check.duration", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy healthcheck", - "type": "metrics" - } - }, - "id": "haproxy-976b0910-47e4-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-981d1040-47be-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-981d1040-47be-11e8-bc13-1397384faad3.json deleted file mode 100644 index 77089da5e8fa..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-981d1040-47be-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Average response time [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "ms,ms,0", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Average response time", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.response.time.avg", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none", - "value_template": "{{value}}ms" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy average response time", - "type": "metrics" - } - }, - "id": "haproxy-981d1040-47be-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3.json deleted file mode 100644 index 4d11303197cd..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Connections [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "background_color_rules": [ - { - "id": "4e35d500-471b-11e8-a520-3f46123ab5eb" - } - ], - "bar_color_rules": [ - { - "id": "69899960-4719-11e8-a520-3f46123ab5eb" - } - ], - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:(0 OR 1)" - }, - "gauge_color_rules": [ - { - "id": "6f171ba0-4719-11e8-a520-3f46123ab5eb" - } - ], - "gauge_inner_width": 10, - "gauge_style": "half", - "gauge_width": 10, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": "", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Number of connections", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.connection.total", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "41ff3940-4719-11e8-a520-3f46123ab5eb", - "type": "derivative", - "unit": "" - }, - { - "field": "41ff3940-4719-11e8-a520-3f46123ab5eb", - "id": "456a5fa0-4738-11e8-8633-8f8b3acf1566", - "type": "positive_only", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "series_drop_last_bucket": 1, - "split_color_mode": "rainbow", - "split_filters": [ - { - "color": "#68BC00", - "id": "0ceb7740-471a-11e8-a520-3f46123ab5eb" - } - ], - "split_mode": "terms", - "stacked": "none", - "terms_field": "haproxy.stat.proxy.name" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy connections", - "type": "metrics" - } - }, - "id": "haproxy-a64b4fd0-471c-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-b3463670-47a1-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-b3463670-47a1-11e8-bc13-1397384faad3.json deleted file mode 100644 index 6fde13b77524..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-b3463670-47a1-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Average time in queue [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Average time in queue", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.queue.time.avg", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy average time in queue", - "type": "metrics" - } - }, - "id": "haproxy-b3463670-47a1-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-bb0ab500-4735-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-bb0ab500-4735-11e8-bc13-1397384faad3.json deleted file mode 100644 index 1d2c65801a99..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-bb0ab500-4735-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Connections per server [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "bar_color_rules": [ - { - "id": "978f2660-4735-11e8-b619-8f82b8185e96" - } - ], - "drilldown_url": "../app/kibana#/dashboard/haproxy-8cc50a50-47e0-11e8-bc13-1397384faad3?_a=(query:(language:kuery,query:'haproxy.stat.service_name:\"{{ key }}\"'))", - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:(2 OR 3)" - }, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Connections per server", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.connection.total", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "3ea29000-4735-11e8-b619-8f82b8185e96", - "type": "derivative", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "haproxy.stat.service_name" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "top_n" - }, - "title": "HAProxy connections per server", - "type": "metrics" - } - }, - "id": "haproxy-bb0ab500-4735-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-f1e27ed0-47dc-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-f1e27ed0-47dc-11e8-bc13-1397384faad3.json deleted file mode 100644 index a06bac998da2..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-f1e27ed0-47dc-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "Frontends per connection [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "bar_color_rules": [ - { - "id": "b81d8640-47dc-11e8-9a25-99b107967d82" - } - ], - "drilldown_url": "../app/kibana#/dashboard/haproxy-e9057ae0-47c5-11e8-bc13-1397384faad3?_a=(query:(language:kuery,query:'haproxy.stat.proxy.name:\"{{ key }}\"'))", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "lucene", - "query": "haproxy.stat.component_type:0" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Frontends", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.connection.total", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "haproxy.stat.proxy.name", - "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", - "terms_size": "20" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "top_n" - }, - "title": "HAProxy frontends per connection", - "type": "metrics" - } - }, - "id": "haproxy-f1e27ed0-47dc-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/kibana/visualization/haproxy-fcbdfa60-47bd-11e8-bc13-1397384faad3.json b/packages/haproxy/kibana/visualization/haproxy-fcbdfa60-47bd-11e8-bc13-1397384faad3.json deleted file mode 100644 index 65272d92f2cd..000000000000 --- a/packages/haproxy/kibana/visualization/haproxy-fcbdfa60-47bd-11e8-bc13-1397384faad3.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": {} - }, - "title": "HTTP response codes [Metrics HAProxy]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": 0.5, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "200s", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.response.http.2xx", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "973a6de0-47bd-11e8-b7ab-dff70b15977c", - "type": "derivative", - "unit": "" - }, - { - "field": "973a6de0-47bd-11e8-b7ab-dff70b15977c", - "id": "4971d580-47e5-11e8-b45e-f10c3845381c", - "type": "positive_only", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(64,240,0,1)", - "fill": 0.5, - "formatter": "number", - "id": "aafd05e0-47bd-11e8-b7ab-dff70b15977c", - "label": "300s", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.response.http.3xx", - "id": "aafd05e1-47bd-11e8-b7ab-dff70b15977c", - "type": "sum" - }, - { - "field": "aafd05e1-47bd-11e8-b7ab-dff70b15977c", - "id": "aafd05e2-47bd-11e8-b7ab-dff70b15977c", - "type": "derivative", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(255,246,0,1)", - "fill": 0.5, - "formatter": "number", - "id": "c77191a0-47bd-11e8-b7ab-dff70b15977c", - "label": "400s", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.response.http.4xx", - "id": "c77191a1-47bd-11e8-b7ab-dff70b15977c", - "type": "sum" - }, - { - "field": "c77191a1-47bd-11e8-b7ab-dff70b15977c", - "id": "c77191a2-47bd-11e8-b7ab-dff70b15977c", - "type": "derivative", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(255,0,4,1)", - "fill": 0.5, - "formatter": "number", - "id": "d574e900-47bd-11e8-b7ab-dff70b15977c", - "label": "500s", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.response.http.5xx", - "id": "d574e901-47bd-11e8-b7ab-dff70b15977c", - "type": "sum" - }, - { - "field": "d574e901-47bd-11e8-b7ab-dff70b15977c", - "id": "d5753720-47bd-11e8-b7ab-dff70b15977c", - "type": "derivative", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(0,251,255,1)", - "fill": 0.5, - "formatter": "number", - "id": "e3b8a4c0-47bd-11e8-b7ab-dff70b15977c", - "label": "Other", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.response.http.other", - "id": "e3b8a4c1-47bd-11e8-b7ab-dff70b15977c", - "type": "sum" - }, - { - "field": "e3b8a4c1-47bd-11e8-b7ab-dff70b15977c", - "id": "e3b8a4c2-47bd-11e8-b7ab-dff70b15977c", - "type": "derivative", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(15,20,25,1)", - "fill": 0.5, - "formatter": "number", - "id": "f9217d40-47be-11e8-b7ab-dff70b15977c", - "label": "Response errors", - "line_width": 1, - "metrics": [ - { - "field": "haproxy.stat.response.errors", - "id": "f9217d41-47be-11e8-b7ab-dff70b15977c", - "type": "sum" - }, - { - "field": "f9217d41-47be-11e8-b7ab-dff70b15977c", - "id": "1b7d4400-47bf-11e8-b7ab-dff70b15977c", - "type": "derivative", - "unit": "" - } - ], - "point_size": 1, - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries" - }, - "title": "HAProxy HTTP response codes", - "type": "metrics" - } - }, - "id": "haproxy-fcbdfa60-47bd-11e8-bc13-1397384faad3", - "migrationVersion": { - "visualization": "7.8.0" - }, - "namespaces": [ - "default" - ], - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/haproxy/manifest.yml b/packages/haproxy/manifest.yml index b73c7ad190ee..f79a4201cd49 100644 --- a/packages/haproxy/manifest.yml +++ b/packages/haproxy/manifest.yml @@ -1,6 +1,6 @@ name: haproxy title: HAProxy -version: 1.5.1 +version: 1.7.0 description: Collect logs and metrics from HAProxy servers with Elastic Agent. type: integration icons: @@ -15,12 +15,36 @@ categories: - observability release: ga conditions: - kibana.version: "^8.0.0" + kibana.version: "^8.6.0" screenshots: - src: /img/kibana-haproxy-overview.png title: Kibana HAProxy overview size: 1725x780 type: image/png + - src: /img/haproxy-metrics-backend.png + title: HAProxy backend + size: 1725x780 + type: image/png + - src: /img/haproxy-metrics-frontend.png + title: HAProxy frontend + size: 1725x780 + type: image/png + - src: /img/haproxy-metrics-http-backend.png + title: HAProxy http backend + size: 1725x780 + type: image/png + - src: /img/haproxy-metrics-http-frontend.png + title: HAProxy http frontend + size: 1725x780 + type: image/png + - src: /img/haproxy-metrics-http-server.png + title: HAProxy http server + size: 1725x780 + type: image/png + - src: /img/haproxy-metrics-overview.png + title: HAProxy overview + size: 1725x780 + type: image/png policy_templates: - name: haproxy title: HAProxy logs and metrics