diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5784ed08f27..1b9173a6c57 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -512,6 +512,7 @@ /packages/statsd_input_otel @elastic/ecosystem /packages/stormshield @elastic/integration-experience /packages/sublime_security @elastic/security-service-integrations @elastic/sit-crest-contractors +/packages/supabase_otel @elastic/obs-infraobs-integrations /packages/suricata @elastic/integration-experience /packages/swimlane @elastic/security-service-integrations @elastic/sit-crest-contractors /packages/symantec_endpoint @elastic/integration-experience diff --git a/packages/supabase_otel/changelog.yml b/packages/supabase_otel/changelog.yml new file mode 100644 index 00000000000..6600143c740 --- /dev/null +++ b/packages/supabase_otel/changelog.yml @@ -0,0 +1,6 @@ +# newer versions go on top +- version: "0.1.0" + changes: + - description: Initial release of the Supabase content package with three Kibana dashboards + type: enhancement + link: https://github.com/elastic/integrations/pull/20265 diff --git a/packages/supabase_otel/docs/README.md b/packages/supabase_otel/docs/README.md new file mode 100644 index 00000000000..765805b3d12 --- /dev/null +++ b/packages/supabase_otel/docs/README.md @@ -0,0 +1,16 @@ +# Supabase OpenTelemetry Assets + +This package provides Kibana Assets for visualizing Supabase metrics collected by the **Supabase** integration. + +## Dashboards + +| Dashboard | Description | +|---|---| +| **[Supabase OTel] Node & Infrastructure** | Node-level infrastructure metrics including memory, network, CPU, disk I/O, and filesystem. | +| **[Supabase OTel] Databases & PostgreSQL** | Database internals, PgBouncer connection pooling, Go SQL connection pool, and replication & WAL. | +| **[Supabase OTel] Services & API** | Application service metrics for Auth (GoTrue), PostgREST, Realtime, and Go runtime. | + +## Prerequisites + +- Install the **Supabase** integration package and configure it with your Supabase project credentials. These dashboards query data collected by that integration. +- Data must be ingested into the `metrics-supabase.metrics.otel-*` index pattern before the dashboards will populate. diff --git a/packages/supabase_otel/img/databases_postgresql.png b/packages/supabase_otel/img/databases_postgresql.png new file mode 100644 index 00000000000..5ec4eeae64e Binary files /dev/null and b/packages/supabase_otel/img/databases_postgresql.png differ diff --git a/packages/supabase_otel/img/node_infra_2.png b/packages/supabase_otel/img/node_infra_2.png new file mode 100644 index 00000000000..145eea09ff2 Binary files /dev/null and b/packages/supabase_otel/img/node_infra_2.png differ diff --git a/packages/supabase_otel/img/node_infrastructure_1.png b/packages/supabase_otel/img/node_infrastructure_1.png new file mode 100644 index 00000000000..5296c1abc28 Binary files /dev/null and b/packages/supabase_otel/img/node_infrastructure_1.png differ diff --git a/packages/supabase_otel/img/services_api.png b/packages/supabase_otel/img/services_api.png new file mode 100644 index 00000000000..ed37be60a75 Binary files /dev/null and b/packages/supabase_otel/img/services_api.png differ diff --git a/packages/supabase_otel/img/supabase-logo.svg b/packages/supabase_otel/img/supabase-logo.svg new file mode 100644 index 00000000000..161f508ddf0 --- /dev/null +++ b/packages/supabase_otel/img/supabase-logo.svg @@ -0,0 +1,24 @@ + + Supabase with OpenTelemetry + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/supabase_otel/kibana/dashboard/supabase_otel-1980c4f4-952c-47f2-977e-30e7d99ca7af.json b/packages/supabase_otel/kibana/dashboard/supabase_otel-1980c4f4-952c-47f2-977e-30e7d99ca7af.json new file mode 100644 index 00000000000..37f7680fc4a --- /dev/null +++ b/packages/supabase_otel/kibana/dashboard/supabase_otel-1980c4f4-952c-47f2-977e-30e7d99ca7af.json @@ -0,0 +1,4001 @@ +{ + "accessControl": { + "accessMode": "default", + "owner": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0" + }, + "attributes": { + "description": "Deep infrastructure monitoring for Supabase nodes — CPU, memory, disk I/O, filesystem, network, and VM stats via OpenTelemetry.", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "autoApplyFilters": true, + "hidePanelBorders": false, + "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "layout": "horizontal", + "links": [ + { + "destinationRefName": "link_99629968-3401-41a4-b345-d1dc1cfd1704_dashboard", + "label": "Node \u0026 Infrastructure", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + }, + { + "destinationRefName": "link_17c0f675-1810-44ab-a1c5-87916d4f0db7_dashboard", + "label": "Databases \u0026 PostgreSQL", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + }, + { + "destinationRefName": "link_1a639ea2-e3bc-4f2d-9501-72d508ebd449_dashboard", + "label": "Services \u0026 API", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + } + ] + }, + "gridData": { + "h": 2, + "i": "474c01de-d9df-4366-85ed-d9bd50b1e033", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "474c01de-d9df-4366-85ed-d9bd50b1e033", + "type": "links" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-16b8f5bef2cfe99dfa00a2927a24d3d7bb6acd426b5a3e9831d9e384817e7c5f": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-16b8f5bef2cfe99dfa00a2927a24d3d7bb6acd426b5a3e9831d9e384817e7c5f", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Total Memory", + "label": "Max Total Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-16b8f5bef2cfe99dfa00a2927a24d3d7bb6acd426b5a3e9831d9e384817e7c5f", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Total Memory` = MAX(LAST_OVER_TIME(node_memory_MemTotal_bytes))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-16b8f5bef2cfe99dfa00a2927a24d3d7bb6acd426b5a3e9831d9e384817e7c5f", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Total Memory` = MAX(LAST_OVER_TIME(node_memory_MemTotal_bytes))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "9e9cd285-68ac-4ef4-8d80-ca92649191e4", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 8, + "x": 0, + "y": 0 + }, + "panelIndex": "9e9cd285-68ac-4ef4-8d80-ca92649191e4", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-02ea80ddf77c3bcd213aa3cbf53b0cbdf63352ac65aefb421afb7fb406d36770": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-02ea80ddf77c3bcd213aa3cbf53b0cbdf63352ac65aefb421afb7fb406d36770", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Active Memory", + "label": "Max Active Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-02ea80ddf77c3bcd213aa3cbf53b0cbdf63352ac65aefb421afb7fb406d36770", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active Memory` = MAX(LAST_OVER_TIME(node_memory_Active_bytes))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-02ea80ddf77c3bcd213aa3cbf53b0cbdf63352ac65aefb421afb7fb406d36770", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active Memory` = MAX(LAST_OVER_TIME(node_memory_Active_bytes))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "5f625bee-9dbd-48b1-8e9f-0946c39072b6", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 8, + "x": 8, + "y": 0 + }, + "panelIndex": "5f625bee-9dbd-48b1-8e9f-0946c39072b6", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-b0cf2faa1ddd3984e020a5a4994b19f81106bf24f94f7762dd535bd01b09b71b": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-b0cf2faa1ddd3984e020a5a4994b19f81106bf24f94f7762dd535bd01b09b71b", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Cached Memory", + "label": "Max Cached Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-b0cf2faa1ddd3984e020a5a4994b19f81106bf24f94f7762dd535bd01b09b71b", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Cached Memory` = MAX(LAST_OVER_TIME(node_memory_Cached_bytes))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-b0cf2faa1ddd3984e020a5a4994b19f81106bf24f94f7762dd535bd01b09b71b", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Cached Memory` = MAX(LAST_OVER_TIME(node_memory_Cached_bytes))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "2d7e52f9-4380-4ff5-83b1-e0f87df025d5", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 8, + "x": 16, + "y": 0 + }, + "panelIndex": "2d7e52f9-4380-4ff5-83b1-e0f87df025d5", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-505c739f5128c90247f9512db0844f0ca66fa46a9c6021adf5819e9c82d03769": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-505c739f5128c90247f9512db0844f0ca66fa46a9c6021adf5819e9c82d03769", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Dirty Memory", + "label": "Max Dirty Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-505c739f5128c90247f9512db0844f0ca66fa46a9c6021adf5819e9c82d03769", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Dirty Memory` = MAX(LAST_OVER_TIME(node_memory_Dirty_bytes))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-505c739f5128c90247f9512db0844f0ca66fa46a9c6021adf5819e9c82d03769", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Dirty Memory` = MAX(LAST_OVER_TIME(node_memory_Dirty_bytes))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "0b1f047f-f686-4063-ae48-1eac98248f51", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 8, + "x": 24, + "y": 0 + }, + "panelIndex": "0b1f047f-f686-4063-ae48-1eac98248f51", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-654332712d54e28078cb6f841995839eb65613ca95d36c37b286aa53bceb204f": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-654332712d54e28078cb6f841995839eb65613ca95d36c37b286aa53bceb204f", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Slab Memory", + "label": "Max Slab Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-654332712d54e28078cb6f841995839eb65613ca95d36c37b286aa53bceb204f", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Slab Memory` = MAX(LAST_OVER_TIME(`metrics.node_memory_Slab_bytes`))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-654332712d54e28078cb6f841995839eb65613ca95d36c37b286aa53bceb204f", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Slab Memory` = MAX(LAST_OVER_TIME(`metrics.node_memory_Slab_bytes`))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "55ea3f8e-863a-4ff5-97a0-f696d3d9095e", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 8, + "x": 32, + "y": 0 + }, + "panelIndex": "55ea3f8e-863a-4ff5-97a0-f696d3d9095e", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-dc6b995503198f85d331460bce040546828092461b7cf3ed0302f01f1cddf952": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-dc6b995503198f85d331460bce040546828092461b7cf3ed0302f01f1cddf952", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Mapped Memory", + "label": "Max Mapped Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-dc6b995503198f85d331460bce040546828092461b7cf3ed0302f01f1cddf952", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Mapped Memory` = MAX(LAST_OVER_TIME(node_memory_Mapped_bytes))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-dc6b995503198f85d331460bce040546828092461b7cf3ed0302f01f1cddf952", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Mapped Memory` = MAX(LAST_OVER_TIME(node_memory_Mapped_bytes))" + }, + "visualization": { + "applyColorTo": "value", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "438e33d8-5682-4dd9-9c08-1e8212f6ce70", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 8, + "x": 40, + "y": 0 + }, + "panelIndex": "438e33d8-5682-4dd9-9c08-1e8212f6ce70", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-364bb904d9b9f7f2e7ee68ea62ccda6fd5cb1f11bf03a78556ab72dc09375cb4": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-364bb904d9b9f7f2e7ee68ea62ccda6fd5cb1f11bf03a78556ab72dc09375cb4", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Active Memory (bytes)", + "label": "Active Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Inactive Memory (bytes)", + "label": "Inactive Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Cached Memory (bytes)", + "label": "Cached Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-364bb904d9b9f7f2e7ee68ea62ccda6fd5cb1f11bf03a78556ab72dc09375cb4", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active Memory (bytes)` = AVG(AVG_OVER_TIME(node_memory_Active_bytes)), `Inactive Memory (bytes)` = AVG(AVG_OVER_TIME(node_memory_Inactive_bytes)), `Cached Memory (bytes)` = AVG(AVG_OVER_TIME(node_memory_Cached_bytes)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-364bb904d9b9f7f2e7ee68ea62ccda6fd5cb1f11bf03a78556ab72dc09375cb4", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active Memory (bytes)` = AVG(AVG_OVER_TIME(node_memory_Active_bytes)), `Inactive Memory (bytes)` = AVG(AVG_OVER_TIME(node_memory_Inactive_bytes)), `Cached Memory (bytes)` = AVG(AVG_OVER_TIME(node_memory_Cached_bytes)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Node Memory: Active, Inactive \u0026 Cached", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Node Memory: Active, Inactive \u0026 Cached" + }, + "gridData": { + "h": 10, + "i": "6a6990a7-d984-4f85-a147-f2f63a66acb7", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "6a6990a7-d984-4f85-a147-f2f63a66acb7", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-1682cd022e1f28b8c31b101a05ac6a0494e432236748e57b7012f4a373fc7209": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-1682cd022e1f28b8c31b101a05ac6a0494e432236748e57b7012f4a373fc7209", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Dirty Bytes", + "label": "Dirty Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Slab Bytes", + "label": "Slab Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "AnonPages Bytes", + "label": "AnonPages Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-1682cd022e1f28b8c31b101a05ac6a0494e432236748e57b7012f4a373fc7209", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Dirty Bytes` = AVG(AVG_OVER_TIME(node_memory_Dirty_bytes)), `Slab Bytes` = AVG(AVG_OVER_TIME(node_memory_Slab_bytes)), `AnonPages Bytes` = AVG(AVG_OVER_TIME(node_memory_AnonPages_bytes)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-1682cd022e1f28b8c31b101a05ac6a0494e432236748e57b7012f4a373fc7209", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Dirty Bytes` = AVG(AVG_OVER_TIME(node_memory_Dirty_bytes)), `Slab Bytes` = AVG(AVG_OVER_TIME(node_memory_Slab_bytes)), `AnonPages Bytes` = AVG(AVG_OVER_TIME(node_memory_AnonPages_bytes)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Node Memory: Dirty, Slab \u0026 AnonPages", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Node Memory: Dirty, Slab \u0026 AnonPages" + }, + "gridData": { + "h": 10, + "i": "79decf5f-7d8f-4596-a50a-461005aba405", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 24, + "x": 24, + "y": 5 + }, + "panelIndex": "79decf5f-7d8f-4596-a50a-461005aba405", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-4bc0ec9280d855f5eb0f6f3676b0f98e51fde594e856c5602895b288c57a054d": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-4bc0ec9280d855f5eb0f6f3676b0f98e51fde594e856c5602895b288c57a054d", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Page In (pgpgin)", + "label": "Page In (pgpgin)", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Page Out (pgpgout)", + "label": "Page Out (pgpgout)", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-4bc0ec9280d855f5eb0f6f3676b0f98e51fde594e856c5602895b288c57a054d", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Page In (pgpgin)` = AVG(AVG_OVER_TIME(`metrics.node_vmstat_pgpgin`)), `Page Out (pgpgout)` = AVG(AVG_OVER_TIME(`metrics.node_vmstat_pgpgout`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-4bc0ec9280d855f5eb0f6f3676b0f98e51fde594e856c5602895b288c57a054d", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Page In (pgpgin)` = AVG(AVG_OVER_TIME(`metrics.node_vmstat_pgpgin`)), `Page Out (pgpgout)` = AVG(AVG_OVER_TIME(`metrics.node_vmstat_pgpgout`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Node VM Stat: Page In vs Page Out", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Node VM Stat: Page In vs Page Out" + }, + "gridData": { + "h": 10, + "i": "2f4b5404-fbbf-4c5f-860f-50f4fa66cea3", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "2f4b5404-fbbf-4c5f-860f-50f4fa66cea3", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-c1afb25b19f34be0f7e212947ae7d9590df9538476f85011c2e55b98d8310056": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-c1afb25b19f34be0f7e212947ae7d9590df9538476f85011c2e55b98d8310056", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Page Faults", + "label": "Page Faults", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Major Page Faults", + "label": "Major Page Faults", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "OOM Kills", + "label": "OOM Kills", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-c1afb25b19f34be0f7e212947ae7d9590df9538476f85011c2e55b98d8310056", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Page Faults` = AVG(AVG_OVER_TIME(node_vmstat_pgfault)), `Major Page Faults` = AVG(AVG_OVER_TIME(node_vmstat_pgmajfault)), `OOM Kills` = AVG(AVG_OVER_TIME(node_vmstat_oom_kill)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-c1afb25b19f34be0f7e212947ae7d9590df9538476f85011c2e55b98d8310056", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Page Faults` = AVG(AVG_OVER_TIME(node_vmstat_pgfault)), `Major Page Faults` = AVG(AVG_OVER_TIME(node_vmstat_pgmajfault)), `OOM Kills` = AVG(AVG_OVER_TIME(node_vmstat_oom_kill)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Node VM Stats: Page Faults, Major Page Faults \u0026 OOM Kills", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Node VM Stats: Page Faults, Major Page Faults \u0026 OOM Kills" + }, + "gridData": { + "h": 10, + "i": "75eb1887-7dc1-4f7e-8880-794ae3d7f12d", + "sectionId": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "75eb1887-7dc1-4f7e-8880-794ae3d7f12d", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-3fae0963f242254a1b6148aee1e09d8c7da4acea2b590e62143f609d626a3746": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-3fae0963f242254a1b6148aee1e09d8c7da4acea2b590e62143f609d626a3746", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Transmit Errors", + "label": "Transmit Errors", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Receive Errors", + "label": "Receive Errors", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Transmit Drops", + "label": "Transmit Drops", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_3", + "customLabel": true, + "fieldName": "Receive Drops", + "label": "Receive Drops", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-3fae0963f242254a1b6148aee1e09d8c7da4acea2b590e62143f609d626a3746", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Transmit Errors` = SUM(RATE(node_network_transmit_errs_total)), `Receive Errors` = SUM(RATE(node_network_receive_errs_total)), `Transmit Drops` = SUM(RATE(node_network_transmit_drop_total)), `Receive Drops` = SUM(RATE(node_network_receive_drop_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-3fae0963f242254a1b6148aee1e09d8c7da4acea2b590e62143f609d626a3746", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Transmit Errors` = SUM(RATE(node_network_transmit_errs_total)), `Receive Errors` = SUM(RATE(node_network_receive_errs_total)), `Transmit Drops` = SUM(RATE(node_network_transmit_drop_total)), `Receive Drops` = SUM(RATE(node_network_receive_drop_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2", + "line_y_3" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + }, + { + "axisMode": "left", + "forAccessor": "line_y_3" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Network Errors \u0026 Drops", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Network Errors \u0026 Drops" + }, + "gridData": { + "h": 10, + "i": "5436ab15-8fac-4dac-b73c-dbc31b95b9d0", + "sectionId": "39b22725-0ea6-4326-846b-e1663535ee32", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "5436ab15-8fac-4dac-b73c-dbc31b95b9d0", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-715704d45a80e058c4965db6761cf84773492f7d39a634294e0cd72f5ca63d2a": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-715704d45a80e058c4965db6761cf84773492f7d39a634294e0cd72f5ca63d2a", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Receive Packets", + "label": "Receive Packets", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Transmit Packets", + "label": "Transmit Packets", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-715704d45a80e058c4965db6761cf84773492f7d39a634294e0cd72f5ca63d2a", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Receive Packets` = SUM(RATE(`metrics.node_network_receive_packets_total`)), `Transmit Packets` = SUM(RATE(`metrics.node_network_transmit_packets_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-715704d45a80e058c4965db6761cf84773492f7d39a634294e0cd72f5ca63d2a", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Receive Packets` = SUM(RATE(`metrics.node_network_receive_packets_total`)), `Transmit Packets` = SUM(RATE(`metrics.node_network_transmit_packets_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Network Packets (Receive vs Transmit)", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Network Packets (Receive vs Transmit)" + }, + "gridData": { + "h": 10, + "i": "90e53216-2c27-488e-a3f3-7a84aabebcb9", + "sectionId": "39b22725-0ea6-4326-846b-e1663535ee32", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "90e53216-2c27-488e-a3f3-7a84aabebcb9", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-ee52f541e2f7f3292ea8bacfe97ff2caeca20c5c76d66ff32ae688281404a0a8": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-ee52f541e2f7f3292ea8bacfe97ff2caeca20c5c76d66ff32ae688281404a0a8", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "CPU Utilisation %", + "label": "CPU Utilisation %", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "number", + "params": { + "compact": false, + "decimals": 1, + "suffix": "%" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-ee52f541e2f7f3292ea8bacfe97ff2caeca20c5c76d66ff32ae688281404a0a8", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Idle Rate` = AVG(RATE(node_cpu_seconds_total)) BY `Mode` = attributes.mode\n| WHERE `Mode` == \"idle\"\n| EVAL `CPU Utilisation %` = ROUND((1 - `Idle Rate`) * 100, 1)\n| KEEP `CPU Utilisation %`" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-ee52f541e2f7f3292ea8bacfe97ff2caeca20c5c76d66ff32ae688281404a0a8", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Idle Rate` = AVG(RATE(node_cpu_seconds_total)) BY `Mode` = attributes.mode\n| WHERE `Mode` == \"idle\"\n| EVAL `CPU Utilisation %` = ROUND((1 - `Idle Rate`) * 100, 1)\n| KEEP `CPU Utilisation %`" + }, + "visualization": { + "applyColorTo": "value", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "palette": { + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#24c292", + "stop": null + }, + { + "color": "#fcd883", + "stop": 60 + }, + { + "color": "#f6726a", + "stop": 85 + } + ], + "continuity": "all", + "maxSteps": 5, + "name": "custom", + "progression": "fixed", + "rangeMax": null, + "rangeMin": null, + "rangeType": "number", + "reverse": false, + "steps": 3, + "stops": [ + { + "color": "#24c292", + "stop": 60 + }, + { + "color": "#fcd883", + "stop": 85 + }, + { + "color": "#f6726a", + "stop": null + } + ] + }, + "type": "palette" + }, + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 6, + "i": "19d27d69-5e9f-4786-9d36-911bb592a33c", + "sectionId": "b3594997-8f5f-4885-8364-7fcc4fe2bc51", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "19d27d69-5e9f-4786-9d36-911bb592a33c", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-a5ec84b8b3e306418873dc065e56fdef695bfc4e7a090942813a43118b47a8a0": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-a5ec84b8b3e306418873dc065e56fdef695bfc4e7a090942813a43118b47a8a0", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Average Node CPU Seconds by Mode (user, system, idle, iowait)", + "label": "Average CPU Seconds", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_breakdown", + "customLabel": true, + "fieldName": "Mode", + "label": "CPU Mode", + "meta": { + "type": "string" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-a5ec84b8b3e306418873dc065e56fdef695bfc4e7a090942813a43118b47a8a0", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| WHERE attributes.mode IN (\"user\", \"system\", \"idle\", \"iowait\")\n| WHERE `metrics.node_cpu_seconds_total` IS NOT NULL\n| STATS `Average Node CPU Seconds by Mode (user, system, idle, iowait)` = SUM(RATE(`metrics.node_cpu_seconds_total`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend), `Mode` = attributes.mode\n| SORT `Time` ASC, `Mode` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-a5ec84b8b3e306418873dc065e56fdef695bfc4e7a090942813a43118b47a8a0", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| WHERE attributes.mode IN (\"user\", \"system\", \"idle\", \"iowait\")\n| WHERE `metrics.node_cpu_seconds_total` IS NOT NULL\n| STATS `Average Node CPU Seconds by Mode (user, system, idle, iowait)` = SUM(RATE(`metrics.node_cpu_seconds_total`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend), `Mode` = attributes.mode\n| SORT `Time` ASC, `Mode` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "colorMapping": { + "assignments": [], + "colorMode": { + "type": "categorical" + }, + "paletteId": "elastic_line_optimized", + "specialAssignments": [ + { + "color": { + "type": "loop" + }, + "rules": [ + { + "type": "other" + } + ], + "touched": false + } + ] + }, + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "splitAccessors": [ + "line_breakdown" + ], + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Average Node CPU Seconds by Mode (user, system, idle, iowait)", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Average Node CPU Seconds by Mode (user, system, idle, iowait)" + }, + "gridData": { + "h": 14, + "i": "ad213739-7b7e-41d3-b6ce-19c6b5a112f3", + "sectionId": "b3594997-8f5f-4885-8364-7fcc4fe2bc51", + "w": 24, + "x": 0, + "y": 6 + }, + "panelIndex": "ad213739-7b7e-41d3-b6ce-19c6b5a112f3", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-6cb1b1fc7dc98e8041dc5cf5192310f47b20a75cba478ac480a5d1602de99187": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-6cb1b1fc7dc98e8041dc5cf5192310f47b20a75cba478ac480a5d1602de99187", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "datatable_accessor_row_0", + "customLabel": true, + "fieldName": "CPU", + "label": "CPU Core", + "meta": { + "type": "string" + } + }, + { + "columnId": "datatable_accessor_metric_0", + "customLabel": true, + "fieldName": "CPU Utilisation %", + "inMetricDimension": true, + "label": "CPU Utilisation %", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "number", + "params": { + "compact": false, + "decimals": 1, + "suffix": "%" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-6cb1b1fc7dc98e8041dc5cf5192310f47b20a75cba478ac480a5d1602de99187", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Idle Rate` = AVG(RATE(node_cpu_seconds_total)) BY `Mode` = attributes.mode, `CPU` = attributes.cpu\n| WHERE `Mode` == \"idle\"\n| EVAL `CPU Utilisation %` = ROUND((1 - `Idle Rate`) * 100, 1)\n| KEEP `CPU`, `CPU Utilisation %`\n| SORT `CPU` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-6cb1b1fc7dc98e8041dc5cf5192310f47b20a75cba478ac480a5d1602de99187", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Idle Rate` = AVG(RATE(node_cpu_seconds_total)) BY `Mode` = attributes.mode, `CPU` = attributes.cpu\n| WHERE `Mode` == \"idle\"\n| EVAL `CPU Utilisation %` = ROUND((1 - `Idle Rate`) * 100, 1)\n| KEEP `CPU`, `CPU Utilisation %`\n| SORT `CPU` ASC" + }, + "visualization": { + "columns": [ + { + "columnId": "datatable_accessor_row_0", + "isMetric": false, + "isTransposed": false + }, + { + "colorMode": "badge", + "columnId": "datatable_accessor_metric_0", + "isMetric": true, + "isTransposed": false, + "palette": { + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#24c292", + "stop": null + }, + { + "color": "#aee8d2", + "stop": 20 + }, + { + "color": "#fcd883", + "stop": 40 + }, + { + "color": "#ffc9c2", + "stop": 60 + }, + { + "color": "#f6726a", + "stop": 80 + } + ], + "continuity": "all", + "maxSteps": 5, + "name": "custom", + "progression": "fixed", + "rangeMax": null, + "rangeMin": null, + "rangeType": "percent", + "reverse": false, + "steps": 5, + "stops": [ + { + "color": "#24c292", + "stop": 20 + }, + { + "color": "#aee8d2", + "stop": 40 + }, + { + "color": "#fcd883", + "stop": 60 + }, + { + "color": "#ffc9c2", + "stop": 80 + }, + { + "color": "#f6726a", + "stop": null + } + ] + }, + "type": "palette" + } + } + ], + "layerId": "layer_0", + "layerType": "data", + "sorting": { + "columnId": "datatable_accessor_row_0", + "direction": "asc" + } + } + }, + "title": "Per-CPU Utilisation %", + "version": 2, + "visualizationType": "lnsDatatable" + }, + "title": "Per-CPU Utilisation %" + }, + "gridData": { + "h": 6, + "i": "245e3e97-4af7-4436-9726-f55981a4a36e", + "sectionId": "b3594997-8f5f-4885-8364-7fcc4fe2bc51", + "w": 23, + "x": 24, + "y": 0 + }, + "panelIndex": "245e3e97-4af7-4436-9726-f55981a4a36e", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-89a1362aa3ceb871caf737f1d488441a890bb861b935e850f7343151052eb504": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-89a1362aa3ceb871caf737f1d488441a890bb861b935e850f7343151052eb504", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Node CPU Guest Seconds", + "label": "Node CPU Guest Seconds", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-89a1362aa3ceb871caf737f1d488441a890bb861b935e850f7343151052eb504", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Node CPU Guest Seconds` = SUM(RATE(node_cpu_guest_seconds_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-89a1362aa3ceb871caf737f1d488441a890bb861b935e850f7343151052eb504", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Node CPU Guest Seconds` = SUM(RATE(node_cpu_guest_seconds_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Node CPU Guest Seconds", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Node CPU Guest Seconds" + }, + "gridData": { + "h": 14, + "i": "c268fd0d-23d4-4ff4-a063-344ce01e93a1", + "sectionId": "b3594997-8f5f-4885-8364-7fcc4fe2bc51", + "w": 24, + "x": 24, + "y": 6 + }, + "panelIndex": "c268fd0d-23d4-4ff4-a063-344ce01e93a1", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-4ddc4b4e9f42533517e04f384c1b845f6761c1d4b04c2763afbc4ab30e368de8": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-4ddc4b4e9f42533517e04f384c1b845f6761c1d4b04c2763afbc4ab30e368de8", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Disk Read Bytes", + "label": "Disk Read Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Disk Written Bytes", + "label": "Disk Written Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-4ddc4b4e9f42533517e04f384c1b845f6761c1d4b04c2763afbc4ab30e368de8", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk Read Bytes` = SUM(RATE(node_disk_read_bytes_total)), `Disk Written Bytes` = SUM(RATE(node_disk_written_bytes_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-4ddc4b4e9f42533517e04f384c1b845f6761c1d4b04c2763afbc4ab30e368de8", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk Read Bytes` = SUM(RATE(node_disk_read_bytes_total)), `Disk Written Bytes` = SUM(RATE(node_disk_written_bytes_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Disk Read vs Written Bytes", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Disk Read vs Written Bytes" + }, + "gridData": { + "h": 10, + "i": "0abc8e03-5c48-4406-856b-1981f4c2bd01", + "sectionId": "74a152b1-a74d-4354-aa09-887aa80b01d8", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "0abc8e03-5c48-4406-856b-1981f4c2bd01", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-f5ca29587adf380811c52896accbc9a48f6e2acaa5d07148bc1f6cbe5265b95b": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-f5ca29587adf380811c52896accbc9a48f6e2acaa5d07148bc1f6cbe5265b95b", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Disk Reads Completed", + "label": "Disk Reads Completed", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Disk Writes Completed", + "label": "Disk Writes Completed", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-f5ca29587adf380811c52896accbc9a48f6e2acaa5d07148bc1f6cbe5265b95b", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk Reads Completed` = SUM(RATE(`metrics.node_disk_reads_completed_total`)), `Disk Writes Completed` = SUM(RATE(`metrics.node_disk_writes_completed_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-f5ca29587adf380811c52896accbc9a48f6e2acaa5d07148bc1f6cbe5265b95b", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk Reads Completed` = SUM(RATE(`metrics.node_disk_reads_completed_total`)), `Disk Writes Completed` = SUM(RATE(`metrics.node_disk_writes_completed_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Disk Reads \u0026 Writes Completed", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Disk Reads \u0026 Writes Completed" + }, + "gridData": { + "h": 10, + "i": "bfa0d0cf-aeb9-4936-840b-369535483f68", + "sectionId": "74a152b1-a74d-4354-aa09-887aa80b01d8", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "bfa0d0cf-aeb9-4936-840b-369535483f68", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-696756cc22087b8a50980e21a4942bf58af553d654e0bd1b77f0d3a753fa7bf6": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-696756cc22087b8a50980e21a4942bf58af553d654e0bd1b77f0d3a753fa7bf6", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "customLabel": true, + "fieldName": "bucket", + "label": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Disk IO Time (seconds)", + "label": "Disk IO Time", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Disk Discard Time (seconds)", + "label": "Disk Discard Time", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-696756cc22087b8a50980e21a4942bf58af553d654e0bd1b77f0d3a753fa7bf6", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk IO Time (seconds)` = SUM(RATE(`metrics.node_disk_io_time_seconds_total`)), `Disk Discard Time (seconds)` = SUM(RATE(`metrics.node_disk_discard_time_seconds_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-696756cc22087b8a50980e21a4942bf58af553d654e0bd1b77f0d3a753fa7bf6", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk IO Time (seconds)` = SUM(RATE(`metrics.node_disk_io_time_seconds_total`)), `Disk Discard Time (seconds)` = SUM(RATE(`metrics.node_disk_discard_time_seconds_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "never", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Disk IO Time vs Disk Discard Time", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Disk IO Time vs Disk Discard Time" + }, + "gridData": { + "h": 10, + "i": "2ee4958c-4f86-4176-8fd6-5af9a0b5b9ed", + "sectionId": "74a152b1-a74d-4354-aa09-887aa80b01d8", + "w": 24, + "x": 0, + "y": 10 + }, + "panelIndex": "2ee4958c-4f86-4176-8fd6-5af9a0b5b9ed", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-f0ad541cf01c12315c1196a57794d9b21240007854ceb2ebf645476ba258d1a9": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-f0ad541cf01c12315c1196a57794d9b21240007854ceb2ebf645476ba258d1a9", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Disk Reads Merged", + "label": "Disk Reads Merged", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Disk Discards Merged", + "label": "Disk Discards Merged", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-f0ad541cf01c12315c1196a57794d9b21240007854ceb2ebf645476ba258d1a9", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk Reads Merged` = SUM(RATE(node_disk_reads_merged_total)), `Disk Discards Merged` = SUM(RATE(node_disk_discards_merged_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-f0ad541cf01c12315c1196a57794d9b21240007854ceb2ebf645476ba258d1a9", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disk Reads Merged` = SUM(RATE(node_disk_reads_merged_total)), `Disk Discards Merged` = SUM(RATE(node_disk_discards_merged_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Disk Reads \u0026 Discards Merged", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Disk Reads \u0026 Discards Merged" + }, + "gridData": { + "h": 10, + "i": "c60a31ef-ba3e-47ca-ab33-97664de4eb9f", + "sectionId": "74a152b1-a74d-4354-aa09-887aa80b01d8", + "w": 24, + "x": 24, + "y": 10 + }, + "panelIndex": "c60a31ef-ba3e-47ca-ab33-97664de4eb9f", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-08a588ed1c7ccf4c1225586d1233e81aaede4e72aac96298404c70d412a2dd8f": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-08a588ed1c7ccf4c1225586d1233e81aaede4e72aac96298404c70d412a2dd8f", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Total Free Bytes", + "label": "Total Free Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-08a588ed1c7ccf4c1225586d1233e81aaede4e72aac96298404c70d412a2dd8f", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Total Free Bytes` = SUM(AVG_OVER_TIME(node_filesystem_free_bytes)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-08a588ed1c7ccf4c1225586d1233e81aaede4e72aac96298404c70d412a2dd8f", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Total Free Bytes` = SUM(AVG_OVER_TIME(node_filesystem_free_bytes)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Total Filesystem Free Bytes", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Total Filesystem Free Bytes" + }, + "gridData": { + "h": 10, + "i": "c2d9b264-ebcf-43d1-bf41-d06f3bae5e31", + "sectionId": "fc8bd1cd-3fdf-47d1-9cc3-2dc0100fb908", + "w": 24, + "x": 0, + "y": 20 + }, + "panelIndex": "c2d9b264-ebcf-43d1-bf41-d06f3bae5e31", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-c2667d1be889b7a8927643d59131a0470427638e5eb192791f615703951a4335": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-c2667d1be889b7a8927643d59131a0470427638e5eb192791f615703951a4335", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Node Filesystem Files", + "label": "Total Files", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Node Filesystem Files Free", + "label": "Free Files", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-c2667d1be889b7a8927643d59131a0470427638e5eb192791f615703951a4335", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Node Filesystem Files` = AVG(AVG_OVER_TIME(node_filesystem_files)), `Node Filesystem Files Free` = AVG(AVG_OVER_TIME(node_filesystem_files_free)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-c2667d1be889b7a8927643d59131a0470427638e5eb192791f615703951a4335", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Node Filesystem Files` = AVG(AVG_OVER_TIME(node_filesystem_files)), `Node Filesystem Files Free` = AVG(AVG_OVER_TIME(node_filesystem_files_free)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Node Filesystem Files vs Free Files", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Node Filesystem Files vs Free Files" + }, + "gridData": { + "h": 10, + "i": "916d1a63-f027-40d0-9465-9ed3993593ae", + "sectionId": "fc8bd1cd-3fdf-47d1-9cc3-2dc0100fb908", + "w": 24, + "x": 24, + "y": 20 + }, + "panelIndex": "916d1a63-f027-40d0-9465-9ed3993593ae", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-8439d9bb7011b5fe57fb64f741092f5a79c9757d49f2aa1854737f3b48100871": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-8439d9bb7011b5fe57fb64f741092f5a79c9757d49f2aa1854737f3b48100871", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "bar_horizontal_0": { + "columns": [ + { + "columnId": "bar_horizontal_x", + "customLabel": true, + "fieldName": "Device", + "label": "Device", + "meta": { + "type": "string" + } + }, + { + "columnId": "bar_horizontal_y_0", + "customLabel": true, + "fieldName": "Free Bytes", + "label": "Free Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "bar_horizontal_breakdown", + "customLabel": true, + "fieldName": "Mountpoint", + "label": "Mountpoint", + "meta": { + "type": "string" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-8439d9bb7011b5fe57fb64f741092f5a79c9757d49f2aa1854737f3b48100871", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Free Bytes` = AVG(LAST_OVER_TIME(node_filesystem_free_bytes)) BY `Device` = attributes.device, `Mountpoint` = attributes.mountpoint\n| WHERE `Free Bytes` IS NOT NULL\n| SORT `Free Bytes` DESC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-8439d9bb7011b5fe57fb64f741092f5a79c9757d49f2aa1854737f3b48100871", + "name": "indexpattern-datasource-layer-bar_horizontal_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Free Bytes` = AVG(LAST_OVER_TIME(node_filesystem_free_bytes)) BY `Device` = attributes.device, `Mountpoint` = attributes.mountpoint\n| WHERE `Free Bytes` IS NOT NULL\n| SORT `Free Bytes` DESC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "bar_horizontal_y_0" + ], + "colorMapping": { + "assignments": [], + "colorMode": { + "type": "categorical" + }, + "paletteId": "default", + "specialAssignments": [ + { + "color": { + "type": "loop" + }, + "rules": [ + { + "type": "other" + } + ], + "touched": false + } + ] + }, + "layerId": "bar_horizontal_0", + "layerType": "data", + "seriesType": "bar_horizontal", + "splitAccessors": [ + "bar_horizontal_breakdown" + ], + "xAccessor": "bar_horizontal_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "bar_horizontal_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "minBarHeight": 1, + "preferredSeriesType": "bar_horizontal", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Filesystem Free Bytes by Device", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Filesystem Free Bytes by Device" + }, + "gridData": { + "h": 10, + "i": "aef412f3-ada7-4c7c-84a1-5b5b3ff3919b", + "sectionId": "fc8bd1cd-3fdf-47d1-9cc3-2dc0100fb908", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "aef412f3-ada7-4c7c-84a1-5b5b3ff3919b", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-b714c3ef5604327aeed9eb1bbc70305ec814bb10a20ba43da7d0a33823e8273a": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-b714c3ef5604327aeed9eb1bbc70305ec814bb10a20ba43da7d0a33823e8273a", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "bar_horizontal_0": { + "columns": [ + { + "columnId": "bar_horizontal_x", + "customLabel": true, + "fieldName": "Mountpoint", + "label": "Mount Point", + "meta": { + "type": "string" + } + }, + { + "columnId": "bar_horizontal_y_0", + "customLabel": true, + "fieldName": "Total Inodes", + "label": "Total Inodes", + "meta": { + "type": "number" + } + }, + { + "columnId": "bar_horizontal_breakdown", + "customLabel": true, + "fieldName": "Device", + "label": "Device", + "meta": { + "type": "string" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-b714c3ef5604327aeed9eb1bbc70305ec814bb10a20ba43da7d0a33823e8273a", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Total Inodes` = AVG(LAST_OVER_TIME(node_filesystem_files)) BY `Mountpoint` = attributes.mountpoint, `Device` = attributes.device\n| WHERE `Total Inodes` IS NOT NULL\n| SORT `Total Inodes` DESC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-b714c3ef5604327aeed9eb1bbc70305ec814bb10a20ba43da7d0a33823e8273a", + "name": "indexpattern-datasource-layer-bar_horizontal_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Total Inodes` = AVG(LAST_OVER_TIME(node_filesystem_files)) BY `Mountpoint` = attributes.mountpoint, `Device` = attributes.device\n| WHERE `Total Inodes` IS NOT NULL\n| SORT `Total Inodes` DESC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "bar_horizontal_y_0" + ], + "colorMapping": { + "assignments": [], + "colorMode": { + "type": "categorical" + }, + "paletteId": "default", + "specialAssignments": [ + { + "color": { + "type": "loop" + }, + "rules": [ + { + "type": "other" + } + ], + "touched": false + } + ] + }, + "layerId": "bar_horizontal_0", + "layerType": "data", + "seriesType": "bar_horizontal", + "splitAccessors": [ + "bar_horizontal_breakdown" + ], + "xAccessor": "bar_horizontal_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "bar_horizontal_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "medium", + "maxLines": 1, + "position": "right", + "showSingleSeries": true + }, + "minBarHeight": 1, + "preferredSeriesType": "bar_horizontal", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Filesystem Total Inodes by Mountpoint", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Filesystem Total Inodes by Mountpoint" + }, + "gridData": { + "h": 10, + "i": "58d25e9b-6af5-4d51-ac0e-d22e1192caaf", + "sectionId": "fc8bd1cd-3fdf-47d1-9cc3-2dc0100fb908", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "58d25e9b-6af5-4d51-ac0e-d22e1192caaf", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-2df13613230a5f65868d267dbe7d7c15b7932b984adc61aa713b02282284088f": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-2df13613230a5f65868d267dbe7d7c15b7932b984adc61aa713b02282284088f", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "customLabel": true, + "fieldName": "bucket", + "label": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Free Inodes", + "label": "Free Inodes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "number", + "params": { + "compact": true, + "decimals": 0 + } + } + } + }, + { + "columnId": "line_breakdown", + "customLabel": true, + "fieldName": "Mountpoint", + "label": "Mount Point", + "meta": { + "type": "string" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-2df13613230a5f65868d267dbe7d7c15b7932b984adc61aa713b02282284088f", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Free Inodes` = AVG(AVG_OVER_TIME(node_filesystem_files_free)) BY bucket = TBUCKET(75, ?_tstart, ?_tend), `Mountpoint` = attributes.mountpoint\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-2df13613230a5f65868d267dbe7d7c15b7932b984adc61aa713b02282284088f", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Free Inodes` = AVG(AVG_OVER_TIME(node_filesystem_files_free)) BY bucket = TBUCKET(75, ?_tstart, ?_tend), `Mountpoint` = attributes.mountpoint\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "colorMapping": { + "assignments": [], + "colorMode": { + "type": "categorical" + }, + "paletteId": "elastic_line_optimized", + "specialAssignments": [ + { + "color": { + "type": "loop" + }, + "rules": [ + { + "type": "other" + } + ], + "touched": false + } + ] + }, + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "splitAccessors": [ + "line_breakdown" + ], + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Filesystem Free Inodes by Mount Point Over Time", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Filesystem Free Inodes by Mount Point Over Time" + }, + "gridData": { + "h": 10, + "i": "6b26752e-6f90-4c49-b817-e051f714a075", + "sectionId": "fc8bd1cd-3fdf-47d1-9cc3-2dc0100fb908", + "w": 24, + "x": 0, + "y": 10 + }, + "panelIndex": "6b26752e-6f90-4c49-b817-e051f714a075", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-ae0bf5626206f99ff5c7aec2848a2b9b1b8acb75a5db469d0323aa12ec0f1073": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-ae0bf5626206f99ff5c7aec2848a2b9b1b8acb75a5db469d0323aa12ec0f1073", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "datatable_accessor_row_0", + "customLabel": true, + "fieldName": "Mountpoint", + "label": "Mountpoint", + "meta": { + "type": "string" + } + }, + { + "columnId": "datatable_accessor_row_1", + "customLabel": true, + "fieldName": "Device", + "label": "Device", + "meta": { + "type": "string" + } + }, + { + "columnId": "datatable_accessor_metric_0", + "customLabel": true, + "fieldName": "Status", + "inMetricDimension": true, + "label": "Status", + "meta": { + "type": "string" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-ae0bf5626206f99ff5c7aec2848a2b9b1b8acb75a5db469d0323aa12ec0f1073", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Read Only` = MAX(LAST_OVER_TIME(node_filesystem_readonly)) BY `Mountpoint` = attributes.mountpoint, `Device` = attributes.device\n| WHERE `Read Only` IS NOT NULL\n| EVAL `Status` = CASE(`Read Only` == 0, \"✅ Read-Write\", \"⚠️ Read-Only\")\n| KEEP `Mountpoint`, `Device`, `Status`" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-ae0bf5626206f99ff5c7aec2848a2b9b1b8acb75a5db469d0323aa12ec0f1073", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Read Only` = MAX(LAST_OVER_TIME(node_filesystem_readonly)) BY `Mountpoint` = attributes.mountpoint, `Device` = attributes.device\n| WHERE `Read Only` IS NOT NULL\n| EVAL `Status` = CASE(`Read Only` == 0, \"✅ Read-Write\", \"⚠️ Read-Only\")\n| KEEP `Mountpoint`, `Device`, `Status`" + }, + "visualization": { + "columns": [ + { + "columnId": "datatable_accessor_row_0", + "hidden": false, + "isMetric": false, + "isTransposed": false, + "oneClickFilter": true + }, + { + "columnId": "datatable_accessor_row_1", + "hidden": false, + "isMetric": false, + "isTransposed": false, + "oneClickFilter": true + }, + { + "colorMapping": { + "assignments": [ + { + "color": { + "colorCode": "#24C292", + "type": "colorCode" + }, + "rules": [ + { + "type": "raw", + "value": "✅ Read-Write" + } + ], + "touched": false + }, + { + "color": { + "colorCode": "#FF995E", + "type": "colorCode" + }, + "rules": [ + { + "type": "raw", + "value": "⚠️ Read-Only" + } + ], + "touched": false + } + ], + "colorMode": { + "type": "categorical" + }, + "paletteId": "severity", + "specialAssignments": [ + { + "color": { + "type": "loop" + }, + "rules": [ + { + "type": "other" + } + ], + "touched": false + } + ] + }, + "colorMode": "badge", + "columnId": "datatable_accessor_metric_0", + "hidden": false, + "isMetric": true, + "isTransposed": false + } + ], + "density": "normal", + "layerId": "layer_0", + "layerType": "data", + "showRowNumbers": true + } + }, + "title": "Filesystem Read-Only Status", + "version": 2, + "visualizationType": "lnsDatatable" + }, + "title": "Filesystem Read-Only Status" + }, + "gridData": { + "h": 10, + "i": "017d57d0-e2c2-438d-96e1-310e8dade9ef", + "sectionId": "fc8bd1cd-3fdf-47d1-9cc3-2dc0100fb908", + "w": 24, + "x": 24, + "y": 10 + }, + "panelIndex": "017d57d0-e2c2-438d-96e1-310e8dade9ef", + "type": "vis" + } + ], + "pinned_panels": { + "panels": { + "2c75bdd1-463d-464a-8bf2-021ae2df8649": { + "config": { + "dataViewRefName": "2c75bdd1-463d-464a-8bf2-021ae2df8649:optionsListDataView", + "exclude": false, + "exists_selected": false, + "field_name": "service.name", + "ignore_validations": false, + "run_past_timeout": false, + "search_technique": "wildcard", + "selected_options": [], + "single_select": false, + "sort": { + "by": "_count", + "direction": "desc" + }, + "title": "Service Name", + "use_global_filters": true + }, + "grow": false, + "order": 1, + "type": "options_list_control", + "width": "medium" + }, + "f2fec073-4920-485a-92ab-616dc73839ab": { + "config": { + "dataViewRefName": "f2fec073-4920-485a-92ab-616dc73839ab:optionsListDataView", + "exclude": false, + "exists_selected": false, + "field_name": "supabase_project_ref", + "ignore_validations": false, + "run_past_timeout": false, + "search_technique": "wildcard", + "selected_options": [], + "single_select": false, + "sort": { + "by": "_count", + "direction": "desc" + }, + "title": "Project Reference", + "use_global_filters": true + }, + "grow": false, + "order": 0, + "type": "options_list_control", + "width": "medium" + } + } + }, + "refreshInterval": { + "pause": true, + "value": 0 + }, + "sections": [ + { + "collapsed": false, + "gridData": { + "i": "33f3b8f9-c651-47bb-9cae-fe3be38afdbf", + "y": 2 + }, + "title": "Memory" + }, + { + "collapsed": false, + "gridData": { + "i": "39b22725-0ea6-4326-846b-e1663535ee32", + "y": 3 + }, + "title": "Network" + }, + { + "collapsed": false, + "gridData": { + "i": "b3594997-8f5f-4885-8364-7fcc4fe2bc51", + "y": 4 + }, + "title": "CPU" + }, + { + "collapsed": false, + "gridData": { + "i": "74a152b1-a74d-4354-aa09-887aa80b01d8", + "y": 5 + }, + "title": "Disk I/O" + }, + { + "collapsed": false, + "gridData": { + "i": "fc8bd1cd-3fdf-47d1-9cc3-2dc0100fb908", + "y": 6 + }, + "title": "Filesystem" + } + ], + "timeFrom": "now-1h", + "timeRestore": true, + "timeTo": "now", + "title": "[Supabase OTel] Node \u0026 Infrastructure" + }, + "coreMigrationVersion": "8.8.0", + "created_at": "2026-07-29T10:11:06.988Z", + "created_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0", + "id": "supabase_otel-1980c4f4-952c-47f2-977e-30e7d99ca7af", + "references": [ + { + "id": "supabase_otel-1980c4f4-952c-47f2-977e-30e7d99ca7af", + "name": "474c01de-d9df-4366-85ed-d9bd50b1e033:link_99629968-3401-41a4-b345-d1dc1cfd1704_dashboard", + "type": "dashboard" + }, + { + "id": "supabase_otel-964608d0-93a3-474b-a8ce-528dbf458c3b", + "name": "474c01de-d9df-4366-85ed-d9bd50b1e033:link_17c0f675-1810-44ab-a1c5-87916d4f0db7_dashboard", + "type": "dashboard" + }, + { + "id": "supabase_otel-c5ff5b39-42a4-442b-a944-a76e9dc7c1a8", + "name": "474c01de-d9df-4366-85ed-d9bd50b1e033:link_1a639ea2-e3bc-4f2d-9501-72d508ebd449_dashboard", + "type": "dashboard" + }, + { + "id": "metrics-supabase.metrics.otel-*-446c7664adeacbec729fa3311e520a37f74c2ee9d2a39aef46e61efc1574d4cc", + "name": "f2fec073-4920-485a-92ab-616dc73839ab:optionsListDataView", + "type": "index-pattern" + }, + { + "id": "metrics-supabase.metrics.otel-*-446c7664adeacbec729fa3311e520a37f74c2ee9d2a39aef46e61efc1574d4cc", + "name": "2c75bdd1-463d-464a-8bf2-021ae2df8649:optionsListDataView", + "type": "index-pattern" + } + ], + "type": "dashboard", + "typeMigrationVersion": "10.3.0", + "updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0" +} \ No newline at end of file diff --git a/packages/supabase_otel/kibana/dashboard/supabase_otel-964608d0-93a3-474b-a8ce-528dbf458c3b.json b/packages/supabase_otel/kibana/dashboard/supabase_otel-964608d0-93a3-474b-a8ce-528dbf458c3b.json new file mode 100644 index 00000000000..23c1764cee4 --- /dev/null +++ b/packages/supabase_otel/kibana/dashboard/supabase_otel-964608d0-93a3-474b-a8ce-528dbf458c3b.json @@ -0,0 +1,4319 @@ +{ + "accessControl": { + "accessMode": "default", + "owner": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0" + }, + "attributes": { + "description": "Deep PostgreSQL and connection pool monitoring for Supabase - query throughput, tuple operations, conflicts, BGWriter, WAL, PgBouncer pooling, Go SQL pool, and replication lag.", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "autoApplyFilters": true, + "hidePanelBorders": false, + "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "layout": "horizontal", + "links": [ + { + "destinationRefName": "link_6386ef26-bbba-4c25-bad3-5d52fee74e07_dashboard", + "label": "Node \u0026 Infrastructure", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + }, + { + "destinationRefName": "link_1275aa0a-97e8-434f-9c66-430025ad3469_dashboard", + "label": "Databases \u0026 PostgreSQL", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + }, + { + "destinationRefName": "link_2a166923-db69-4eea-a75f-883330baa734_dashboard", + "label": "Services \u0026 API", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + } + ] + }, + "gridData": { + "h": 2, + "i": "42212758-c21b-40cf-b73d-ebbcf9cb720f", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "42212758-c21b-40cf-b73d-ebbcf9cb720f", + "type": "links" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-ade70f42219229ad8036cf8cc31db6e56fc427f7ced54ade6f5f1b261d374587": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-ade70f42219229ad8036cf8cc31db6e56fc427f7ced54ade6f5f1b261d374587", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-ade70f42219229ad8036cf8cc31db6e56fc427f7ced54ade6f5f1b261d374587", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Active DB Backends (Current)", + "label": "Max Active DB Backends", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-ade70f42219229ad8036cf8cc31db6e56fc427f7ced54ade6f5f1b261d374587", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active DB Backends (Current)` = SUM(LAST_OVER_TIME(pg_stat_database_num_backends))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-ade70f42219229ad8036cf8cc31db6e56fc427f7ced54ade6f5f1b261d374587", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active DB Backends (Current)` = SUM(LAST_OVER_TIME(pg_stat_database_num_backends))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "423a50d1-4e19-4ae4-944e-2f1ed3843dc4", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 8, + "x": 0, + "y": 0 + }, + "panelIndex": "423a50d1-4e19-4ae4-944e-2f1ed3843dc4", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-0e8251806f9bde60fd82c4f5bfdc8650f70a221ab8ce930d67bc36b48db91524": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-0e8251806f9bde60fd82c4f5bfdc8650f70a221ab8ce930d67bc36b48db91524", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Average Active Database Backends", + "label": "Average Active Database Backends", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-0e8251806f9bde60fd82c4f5bfdc8650f70a221ab8ce930d67bc36b48db91524", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Average Active Database Backends` = AVG(AVG_OVER_TIME(pg_stat_database_num_backends)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-0e8251806f9bde60fd82c4f5bfdc8650f70a221ab8ce930d67bc36b48db91524", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Average Active Database Backends` = AVG(AVG_OVER_TIME(pg_stat_database_num_backends)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Average Active Database Backends", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Average Active Database Backends" + }, + "gridData": { + "h": 10, + "i": "41f79134-31a3-4a13-9f03-0c5c02e64b67", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "41f79134-31a3-4a13-9f03-0c5c02e64b67", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-8c2dbd42391df858d947443ebc2b57f82a11f5eda9bd08f025245de50ec509c5": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-8c2dbd42391df858d947443ebc2b57f82a11f5eda9bd08f025245de50ec509c5", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Xact Rollback Total", + "label": "Xact Rollback Total", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Tup Inserted Total", + "label": "Tup Inserted Total", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-8c2dbd42391df858d947443ebc2b57f82a11f5eda9bd08f025245de50ec509c5", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Xact Rollback Total` = SUM(RATE(pg_stat_database_xact_rollback_total)), `Tup Inserted Total` = SUM(RATE(pg_stat_database_tup_inserted_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-8c2dbd42391df858d947443ebc2b57f82a11f5eda9bd08f025245de50ec509c5", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Xact Rollback Total` = SUM(RATE(pg_stat_database_xact_rollback_total)), `Tup Inserted Total` = SUM(RATE(pg_stat_database_tup_inserted_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgreSQL Xact Rollback \u0026 Tup Inserted", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgreSQL Xact Rollback \u0026 Tup Inserted" + }, + "gridData": { + "h": 10, + "i": "a9c81121-6cd8-4208-a560-fc50b754b74b", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 24, + "x": 24, + "y": 5 + }, + "panelIndex": "a9c81121-6cd8-4208-a560-fc50b754b74b", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-96075a36aaa1cf7f754e07f38b9ff3be9560cbd5be7418423c510cd2b890e815": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-96075a36aaa1cf7f754e07f38b9ff3be9560cbd5be7418423c510cd2b890e815", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "partition_value_accessor_metric_0", + "customLabel": true, + "fieldName": "Database Size", + "label": "Database Size", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "partition_value_accessor_group_by_0", + "customLabel": true, + "fieldName": "Database", + "label": "Database", + "meta": { + "type": "string" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-96075a36aaa1cf7f754e07f38b9ff3be9560cbd5be7418423c510cd2b890e815", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| WHERE `metrics.pg_database_size_bytes` IS NOT NULL\n| STATS `Database Size` = MAX(`metrics.pg_database_size_bytes`) BY `Database` = `attributes.datname`\n| SORT `Database Size` DESC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-96075a36aaa1cf7f754e07f38b9ff3be9560cbd5be7418423c510cd2b890e815", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| WHERE `metrics.pg_database_size_bytes` IS NOT NULL\n| STATS `Database Size` = MAX(`metrics.pg_database_size_bytes`) BY `Database` = `attributes.datname`\n| SORT `Database Size` DESC" + }, + "visualization": { + "layers": [ + { + "allowMultipleMetrics": false, + "categoryDisplay": "default", + "colorMapping": { + "assignments": [], + "colorMode": { + "type": "categorical" + }, + "paletteId": "default", + "specialAssignments": [ + { + "color": { + "type": "loop" + }, + "rules": [ + { + "type": "other" + } + ], + "touched": false + } + ] + }, + "layerId": "layer_0", + "layerType": "data", + "legendDisplay": "show", + "legendPosition": "right", + "metrics": [ + "partition_value_accessor_metric_0" + ], + "numberDisplay": "value", + "primaryGroups": [ + "partition_value_accessor_group_by_0" + ], + "truncateLegend": false + } + ], + "shape": "pie" + } + }, + "title": "Database Size Distribution", + "version": 2, + "visualizationType": "lnsPie" + }, + "title": "Database Size Distribution" + }, + "gridData": { + "h": 12, + "i": "3d51cf1d-17bd-4191-8524-57df6d31c907", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "3d51cf1d-17bd-4191-8524-57df6d31c907", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-b89ae2719bc4f0a1d6deb90ad1fb1f4230b8a16c22aead82a1e7c7ccce830e9b": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-b89ae2719bc4f0a1d6deb90ad1fb1f4230b8a16c22aead82a1e7c7ccce830e9b", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "time_bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "fieldName": "Database Size Growth", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_breakdown", + "fieldName": "datname", + "meta": { + "type": "string" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-b89ae2719bc4f0a1d6deb90ad1fb1f4230b8a16c22aead82a1e7c7ccce830e9b", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| WHERE `metrics.pg_database_size_bytes` IS NOT NULL\n| STATS `avg_size` = AVG(AVG_OVER_TIME(`metrics.pg_database_size_bytes`)) BY time_bucket = TBUCKET(75, ?_tstart, ?_tend), datname = attributes.datname\n| RENAME `avg_size` AS `Database Size Growth`\n| SORT time_bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-b89ae2719bc4f0a1d6deb90ad1fb1f4230b8a16c22aead82a1e7c7ccce830e9b", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| WHERE `metrics.pg_database_size_bytes` IS NOT NULL\n| STATS `avg_size` = AVG(AVG_OVER_TIME(`metrics.pg_database_size_bytes`)) BY time_bucket = TBUCKET(75, ?_tstart, ?_tend), datname = attributes.datname\n| RENAME `avg_size` AS `Database Size Growth`\n| SORT time_bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "colorMapping": { + "assignments": [], + "colorMode": { + "type": "categorical" + }, + "paletteId": "elastic_line_optimized", + "specialAssignments": [ + { + "color": { + "type": "loop" + }, + "rules": [ + { + "type": "other" + } + ], + "touched": false + } + ] + }, + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "splitAccessors": [ + "line_breakdown" + ], + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Database Size Growth", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Database Size Growth" + }, + "gridData": { + "h": 12, + "i": "37dde08c-ab08-4db1-bba8-11452e703508", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "37dde08c-ab08-4db1-bba8-11452e703508", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-dbc6b2c6b5bf406d5b71016959c510ca77f0b60e15d94e42d59270e7e718c5eb": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-dbc6b2c6b5bf406d5b71016959c510ca77f0b60e15d94e42d59270e7e718c5eb", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "WAL Size", + "label": "Max WAL Size", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "number", + "params": { + "compact": false, + "decimals": 1, + "suffix": " MB" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-dbc6b2c6b5bf406d5b71016959c510ca77f0b60e15d94e42d59270e7e718c5eb", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `WAL Size` = MAX(LAST_OVER_TIME(pg_wal_size_mb))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-dbc6b2c6b5bf406d5b71016959c510ca77f0b60e15d94e42d59270e7e718c5eb", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `WAL Size` = MAX(LAST_OVER_TIME(pg_wal_size_mb))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "64eac45e-8128-4fa3-a099-a8df75538d25", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 8, + "x": 8, + "y": 0 + }, + "panelIndex": "64eac45e-8128-4fa3-a099-a8df75538d25", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-eb39f5032b879dc0a99fa390cd064b1958d4a44b5314b374495c6c38af560561": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-eb39f5032b879dc0a99fa390cd064b1958d4a44b5314b374495c6c38af560561", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Timed Checkpoints", + "label": "Timed Checkpoints", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-eb39f5032b879dc0a99fa390cd064b1958d4a44b5314b374495c6c38af560561", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Timed Checkpoints` = SUM(INCREASE(pg_stat_bgwriter_checkpoints_timed_total))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-eb39f5032b879dc0a99fa390cd064b1958d4a44b5314b374495c6c38af560561", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Timed Checkpoints` = SUM(INCREASE(pg_stat_bgwriter_checkpoints_timed_total))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "5b8a29bd-5e5d-48ea-8242-e5481a611ab7", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 8, + "x": 16, + "y": 0 + }, + "panelIndex": "5b8a29bd-5e5d-48ea-8242-e5481a611ab7", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-1ce62989d2c5885f6c21d5086f65a2a10bd06cd6ddf396cb1c02e51b1dcd2167": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-1ce62989d2c5885f6c21d5086f65a2a10bd06cd6ddf396cb1c02e51b1dcd2167", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Query Execution Time", + "label": "Query Execution Time", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-1ce62989d2c5885f6c21d5086f65a2a10bd06cd6ddf396cb1c02e51b1dcd2167", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Query Execution Time` = SUM(INCREASE(pg_stat_statements_total_time_seconds))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-1ce62989d2c5885f6c21d5086f65a2a10bd06cd6ddf396cb1c02e51b1dcd2167", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Query Execution Time` = SUM(INCREASE(pg_stat_statements_total_time_seconds))" + }, + "visualization": { + "applyColorTo": "value", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "029af08b-7840-4bfe-9fb6-bbf623565b82", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 8, + "x": 24, + "y": 0 + }, + "panelIndex": "029af08b-7840-4bfe-9fb6-bbf623565b82", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-f04385c8badf0e5edf4e278403bfe7fffc1de1f7bfa77b16504b4b0f03ec7324": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-f04385c8badf0e5edf4e278403bfe7fffc1de1f7bfa77b16504b4b0f03ec7324", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Queries Executed", + "label": "Queries Executed", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-f04385c8badf0e5edf4e278403bfe7fffc1de1f7bfa77b16504b4b0f03ec7324", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Queries Executed` = SUM(INCREASE(pg_stat_statements_total_queries))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-f04385c8badf0e5edf4e278403bfe7fffc1de1f7bfa77b16504b4b0f03ec7324", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Queries Executed` = SUM(INCREASE(pg_stat_statements_total_queries))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "0dd701dd-6e26-4ec2-8839-bbedf179e5f3", + "sectionId": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "w": 8, + "x": 32, + "y": 0 + }, + "panelIndex": "0dd701dd-6e26-4ec2-8839-bbedf179e5f3", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-5df660ff193dfb0748f73dd26592c1cddd2133c7ad6e7e668fcc5712d6fa5ba6": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-5df660ff193dfb0748f73dd26592c1cddd2133c7ad6e7e668fcc5712d6fa5ba6", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Tup Fetched", + "label": "Tup Fetched", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Tup Updated", + "label": "Tup Updated", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Tup Inserted", + "label": "Tup Inserted", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-5df660ff193dfb0748f73dd26592c1cddd2133c7ad6e7e668fcc5712d6fa5ba6", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Tup Fetched` = SUM(RATE(pg_stat_database_tup_fetched_total)), `Tup Updated` = SUM(RATE(pg_stat_database_tup_updated_total)), `Tup Inserted` = SUM(RATE(pg_stat_database_tup_inserted_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-5df660ff193dfb0748f73dd26592c1cddd2133c7ad6e7e668fcc5712d6fa5ba6", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Tup Fetched` = SUM(RATE(pg_stat_database_tup_fetched_total)), `Tup Updated` = SUM(RATE(pg_stat_database_tup_updated_total)), `Tup Inserted` = SUM(RATE(pg_stat_database_tup_inserted_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgreSQL Tuple Operations", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgreSQL Tuple Operations" + }, + "gridData": { + "h": 10, + "i": "15ba73b4-e3c0-4e1f-af0b-bf22efa885a6", + "sectionId": "28f93fc1-82eb-4012-a94d-d269bfb2e94c", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "15ba73b4-e3c0-4e1f-af0b-bf22efa885a6", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-664343d54a6b11e6af29c9295afb3b75a44e0fd7c85558847dab52c77e7be1d5": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-664343d54a6b11e6af29c9295afb3b75a44e0fd7c85558847dab52c77e7be1d5", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "PostgreSQL Temp Bytes", + "label": "PostgreSQL Temp Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-664343d54a6b11e6af29c9295afb3b75a44e0fd7c85558847dab52c77e7be1d5", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgreSQL Temp Bytes` = SUM(RATE(pg_stat_database_temp_bytes_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-664343d54a6b11e6af29c9295afb3b75a44e0fd7c85558847dab52c77e7be1d5", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgreSQL Temp Bytes` = SUM(RATE(pg_stat_database_temp_bytes_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgreSQL Temp Bytes", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgreSQL Temp Bytes" + }, + "gridData": { + "h": 10, + "i": "fa4fff4e-564a-48c1-a16d-c3d0999740b5", + "sectionId": "28f93fc1-82eb-4012-a94d-d269bfb2e94c", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "fa4fff4e-564a-48c1-a16d-c3d0999740b5", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-9f8f10d076c8360570451257d13f78473c49ba0c73b930ab2cdc547ebf59c78f": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-9f8f10d076c8360570451257d13f78473c49ba0c73b930ab2cdc547ebf59c78f", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Lock Conflicts", + "label": "Lock Conflicts", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Deadlock Conflicts", + "label": "Deadlock Conflicts", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Snapshot Conflicts", + "label": "Snapshot Conflicts", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-9f8f10d076c8360570451257d13f78473c49ba0c73b930ab2cdc547ebf59c78f", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Lock Conflicts` = SUM(RATE(pg_stat_database_conflicts_confl_lock_total)), `Deadlock Conflicts` = SUM(RATE(pg_stat_database_conflicts_confl_deadlock_total)), `Snapshot Conflicts` = SUM(RATE(pg_stat_database_conflicts_confl_snapshot_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-9f8f10d076c8360570451257d13f78473c49ba0c73b930ab2cdc547ebf59c78f", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Lock Conflicts` = SUM(RATE(pg_stat_database_conflicts_confl_lock_total)), `Deadlock Conflicts` = SUM(RATE(pg_stat_database_conflicts_confl_deadlock_total)), `Snapshot Conflicts` = SUM(RATE(pg_stat_database_conflicts_confl_snapshot_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgreSQL Conflict Types", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgreSQL Conflict Types" + }, + "gridData": { + "h": 10, + "i": "e6490426-623b-4317-bab4-2928da9767ee", + "sectionId": "28f93fc1-82eb-4012-a94d-d269bfb2e94c", + "w": 24, + "x": 0, + "y": 10 + }, + "panelIndex": "e6490426-623b-4317-bab4-2928da9767ee", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-e9b5ed1ec58c92ed84b39c192a387628c31386199e78476c2ada032ede90e1ec": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-e9b5ed1ec58c92ed84b39c192a387628c31386199e78476c2ada032ede90e1ec", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Checkpoints Timed", + "label": "Checkpoints Timed", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Max Written Clean", + "label": "Max Written Clean", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Checkpoint Sync Time", + "label": "Checkpoint Sync Time", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-e9b5ed1ec58c92ed84b39c192a387628c31386199e78476c2ada032ede90e1ec", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Checkpoints Timed` = SUM(RATE(pg_stat_bgwriter_checkpoints_timed_total)), `Max Written Clean` = SUM(RATE(pg_stat_bgwriter_maxwritten_clean_total)), `Checkpoint Sync Time` = SUM(RATE(pg_stat_bgwriter_checkpoint_sync_time_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-e9b5ed1ec58c92ed84b39c192a387628c31386199e78476c2ada032ede90e1ec", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Checkpoints Timed` = SUM(RATE(pg_stat_bgwriter_checkpoints_timed_total)), `Max Written Clean` = SUM(RATE(pg_stat_bgwriter_maxwritten_clean_total)), `Checkpoint Sync Time` = SUM(RATE(pg_stat_bgwriter_checkpoint_sync_time_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgreSQL BGWriter: Checkpoints Timed, Max Written Clean \u0026 Sync Time", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgreSQL BGWriter: Checkpoints Timed, Max Written Clean \u0026 Sync Time" + }, + "gridData": { + "h": 10, + "i": "0b48fe7c-2f00-4d30-ab86-6227a20c3e7d", + "sectionId": "28f93fc1-82eb-4012-a94d-d269bfb2e94c", + "w": 24, + "x": 24, + "y": 10 + }, + "panelIndex": "0b48fe7c-2f00-4d30-ab86-6227a20c3e7d", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-dc06f295525cfefd24b76351bfb3f103ea14460f9fbacc7243306f7517e4f8ac": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-dc06f295525cfefd24b76351bfb3f103ea14460f9fbacc7243306f7517e4f8ac", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "PostgreSQL Buffer Cache Hits", + "label": "PostgreSQL Buffer Cache Hits", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-dc06f295525cfefd24b76351bfb3f103ea14460f9fbacc7243306f7517e4f8ac", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgreSQL Buffer Cache Hits` = SUM(RATE(`metrics.pg_stat_database_blks_hit_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-dc06f295525cfefd24b76351bfb3f103ea14460f9fbacc7243306f7517e4f8ac", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgreSQL Buffer Cache Hits` = SUM(RATE(`metrics.pg_stat_database_blks_hit_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgreSQL Buffer Cache Hits", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgreSQL Buffer Cache Hits" + }, + "gridData": { + "h": 10, + "i": "f240d1ed-bcd4-4af5-ae14-7803433ad440", + "sectionId": "28f93fc1-82eb-4012-a94d-d269bfb2e94c", + "w": 24, + "x": 0, + "y": 20 + }, + "panelIndex": "f240d1ed-bcd4-4af5-ae14-7803433ad440", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-443e6ba44b6d580c259c8e566c6fc17d703d63f87a610267e39345c84c29f2c1": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-443e6ba44b6d580c259c8e566c6fc17d703d63f87a610267e39345c84c29f2c1", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "WAL Pending Count", + "label": "WAL Pending Count", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-443e6ba44b6d580c259c8e566c6fc17d703d63f87a610267e39345c84c29f2c1", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `WAL Pending Count` = SUM(RATE(metrics.pg_ls_archive_statusdir_wal_pending_count)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-443e6ba44b6d580c259c8e566c6fc17d703d63f87a610267e39345c84c29f2c1", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `WAL Pending Count` = SUM(RATE(metrics.pg_ls_archive_statusdir_wal_pending_count)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "WAL Pending Count", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "WAL Pending Count" + }, + "gridData": { + "h": 10, + "i": "c68c5036-b016-4c61-9236-2833f8f5ff05", + "sectionId": "28f93fc1-82eb-4012-a94d-d269bfb2e94c", + "w": 24, + "x": 24, + "y": 20 + }, + "panelIndex": "c68c5036-b016-4c61-9236-2833f8f5ff05", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-3a05c086a981c12a01892b844a6fee14e546a8da863e00efc7f37fe5b2262982": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-3a05c086a981c12a01892b844a6fee14e546a8da863e00efc7f37fe5b2262982", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Server Active Connections", + "label": "Server Active Connections", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Client Waiting Connections", + "label": "Client Waiting Connections", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Server Testing Connections", + "label": "Server Testing Connections", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-3a05c086a981c12a01892b844a6fee14e546a8da863e00efc7f37fe5b2262982", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Server Active Connections` = AVG(AVG_OVER_TIME(pgbouncer_pools_server_active_connections)), `Client Waiting Connections` = AVG(AVG_OVER_TIME(pgbouncer_pools_client_waiting_connections)), `Server Testing Connections` = AVG(AVG_OVER_TIME(pgbouncer_pools_server_testing_connections)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-3a05c086a981c12a01892b844a6fee14e546a8da863e00efc7f37fe5b2262982", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Server Active Connections` = AVG(AVG_OVER_TIME(pgbouncer_pools_server_active_connections)), `Client Waiting Connections` = AVG(AVG_OVER_TIME(pgbouncer_pools_client_waiting_connections)), `Server Testing Connections` = AVG(AVG_OVER_TIME(pgbouncer_pools_server_testing_connections)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PgBouncer Pool Connections", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PgBouncer Pool Connections" + }, + "gridData": { + "h": 10, + "i": "69db6b21-7759-441a-a966-a1cbc0ab0e3c", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "69db6b21-7759-441a-a966-a1cbc0ab0e3c", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-054719b980bf90e194d0b912d3249be65e0046e8eb4270d90c53fa1326f068b9": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-054719b980bf90e194d0b912d3249be65e0046e8eb4270d90c53fa1326f068b9", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "PgBouncer Avg Max Client Wait Time", + "label": "PgBouncer Avg Max Client Wait Time", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-054719b980bf90e194d0b912d3249be65e0046e8eb4270d90c53fa1326f068b9", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PgBouncer Avg Max Client Wait Time` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_pools_client_maxwait_seconds`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-054719b980bf90e194d0b912d3249be65e0046e8eb4270d90c53fa1326f068b9", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PgBouncer Avg Max Client Wait Time` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_pools_client_maxwait_seconds`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PgBouncer Avg Max Client Wait Time", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PgBouncer Avg Max Client Wait Time" + }, + "gridData": { + "h": 10, + "i": "9e40ad9c-c574-4698-9685-3f78ba6b3481", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 24, + "x": 24, + "y": 5 + }, + "panelIndex": "9e40ad9c-c574-4698-9685-3f78ba6b3481", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-5da13eb579e9ae3e47be4e9b2203a5547838694d5559bc2efb5fbf3715328ae6": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-5da13eb579e9ae3e47be4e9b2203a5547838694d5559bc2efb5fbf3715328ae6", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "SQL Transactions Pooled", + "label": "SQL Transactions Pooled", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Received Bytes", + "label": "Received Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-5da13eb579e9ae3e47be4e9b2203a5547838694d5559bc2efb5fbf3715328ae6", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `SQL Transactions Pooled` = SUM(RATE(pgbouncer_stats_sql_transactions_pooled_total)), `Received Bytes` = SUM(RATE(pgbouncer_stats_received_bytes_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-5da13eb579e9ae3e47be4e9b2203a5547838694d5559bc2efb5fbf3715328ae6", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `SQL Transactions Pooled` = SUM(RATE(pgbouncer_stats_sql_transactions_pooled_total)), `Received Bytes` = SUM(RATE(pgbouncer_stats_received_bytes_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": false + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "right", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full", + "niceValues": true + }, + "yRightScale": "linear" + } + }, + "title": "PgBouncer SQL Transactions Pooled \u0026 Received Bytes", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PgBouncer SQL Transactions Pooled \u0026 Received Bytes" + }, + "gridData": { + "h": 10, + "i": "5ed40bbc-627a-414c-a39c-a2d732753d71", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "5ed40bbc-627a-414c-a39c-a2d732753d71", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-bb275f98078e43fde374e0354829e5a0f246b16715e5c8406c6959255d0af82f": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-bb275f98078e43fde374e0354829e5a0f246b16715e5c8406c6959255d0af82f", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Client Wait Seconds Total", + "label": "Client Wait Seconds Total", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Server In Transaction Seconds Total", + "label": "Server In Transaction Seconds Total", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-bb275f98078e43fde374e0354829e5a0f246b16715e5c8406c6959255d0af82f", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Client Wait Seconds Total` = SUM(RATE(`metrics.pgbouncer_stats_client_wait_seconds_total`)), `Server In Transaction Seconds Total` = SUM(RATE(`metrics.pgbouncer_stats_server_in_transaction_seconds_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-bb275f98078e43fde374e0354829e5a0f246b16715e5c8406c6959255d0af82f", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Client Wait Seconds Total` = SUM(RATE(`metrics.pgbouncer_stats_client_wait_seconds_total`)), `Server In Transaction Seconds Total` = SUM(RATE(`metrics.pgbouncer_stats_server_in_transaction_seconds_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PgBouncer Client Wait \u0026 Server In Transaction Seconds", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PgBouncer Client Wait \u0026 Server In Transaction Seconds" + }, + "gridData": { + "h": 10, + "i": "5e82cdaa-9388-4135-b494-0365fc402ffc", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "5e82cdaa-9388-4135-b494-0365fc402ffc", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-00a8d2563f33284750fbdc0fdd7aa1287b5037685769718b2a6dad53ef9bd66d": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-00a8d2563f33284750fbdc0fdd7aa1287b5037685769718b2a6dad53ef9bd66d", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Max Connections", + "label": "Max Connections", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Max Client Connections", + "label": "Max Client Connections", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Pool Size", + "label": "Pool Size", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-00a8d2563f33284750fbdc0fdd7aa1287b5037685769718b2a6dad53ef9bd66d", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Connections` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_databases_max_connections`)), `Max Client Connections` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_config_max_client_connections`)), `Pool Size` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_databases_pool_size`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-00a8d2563f33284750fbdc0fdd7aa1287b5037685769718b2a6dad53ef9bd66d", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Connections` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_databases_max_connections`)), `Max Client Connections` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_config_max_client_connections`)), `Pool Size` = AVG(AVG_OVER_TIME(`metrics.pgbouncer_databases_pool_size`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PgBouncer Max Connections, Max Client Connections \u0026 Pool Size", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PgBouncer Max Connections, Max Client Connections \u0026 Pool Size" + }, + "gridData": { + "h": 10, + "i": "3848ee94-4ebb-41e8-a718-8fc426130283", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 24, + "x": 0, + "y": 25 + }, + "panelIndex": "3848ee94-4ebb-41e8-a718-8fc426130283", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-42816ee75e52dd675aecb14113463fa54b48d9c8e1cf1a0f68dd5783efb9e5b9": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-42816ee75e52dd675aecb14113463fa54b48d9c8e1cf1a0f68dd5783efb9e5b9", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Disabled Databases", + "label": "Disabled Databases", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-42816ee75e52dd675aecb14113463fa54b48d9c8e1cf1a0f68dd5783efb9e5b9", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disabled Databases` = AVG(AVG_OVER_TIME(pgbouncer_databases_disabled)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-42816ee75e52dd675aecb14113463fa54b48d9c8e1cf1a0f68dd5783efb9e5b9", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Disabled Databases` = AVG(AVG_OVER_TIME(pgbouncer_databases_disabled)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PgBouncer Disabled Databases", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PgBouncer Disabled Databases" + }, + "gridData": { + "h": 10, + "i": "0f17df19-03e8-450a-a37a-29530c048996", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 24, + "x": 24, + "y": 25 + }, + "panelIndex": "0f17df19-03e8-450a-a37a-29530c048996", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-332decb7532ebb01400f85fe2126b6f36e5a7795ae5fccbaa080fa27aa8f2686": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-332decb7532ebb01400f85fe2126b6f36e5a7795ae5fccbaa080fa27aa8f2686", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-332decb7532ebb01400f85fe2126b6f36e5a7795ae5fccbaa080fa27aa8f2686", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Active Server Connections (Current)", + "label": "Max Active Server Connections", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-332decb7532ebb01400f85fe2126b6f36e5a7795ae5fccbaa080fa27aa8f2686", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active Server Connections (Current)` = MAX(LAST_OVER_TIME(pgbouncer_pools_server_active_connections))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-332decb7532ebb01400f85fe2126b6f36e5a7795ae5fccbaa080fa27aa8f2686", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Active Server Connections (Current)` = MAX(LAST_OVER_TIME(pgbouncer_pools_server_active_connections))" + }, + "visualization": { + "applyColorTo": "value", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "4007e7b4-64d6-4727-843b-187c498b2fe2", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 12, + "x": 0, + "y": 0 + }, + "panelIndex": "4007e7b4-64d6-4727-843b-187c498b2fe2", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-9e917a133834af44cff77969dd67c606320f8e8ee037a8625aee3ba59d53d1e0": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-9e917a133834af44cff77969dd67c606320f8e8ee037a8625aee3ba59d53d1e0", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-9e917a133834af44cff77969dd67c606320f8e8ee037a8625aee3ba59d53d1e0", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Client Waiting Connections (Current)", + "label": "Max Client Waiting Connections", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-9e917a133834af44cff77969dd67c606320f8e8ee037a8625aee3ba59d53d1e0", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Client Waiting Connections (Current)` = MAX(LAST_OVER_TIME(pgbouncer_pools_client_waiting_connections))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-9e917a133834af44cff77969dd67c606320f8e8ee037a8625aee3ba59d53d1e0", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Client Waiting Connections (Current)` = MAX(LAST_OVER_TIME(pgbouncer_pools_client_waiting_connections))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "1c83fc61-9e84-40b7-98f3-5316518fe0da", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 12, + "x": 12, + "y": 0 + }, + "panelIndex": "1c83fc61-9e84-40b7-98f3-5316518fe0da", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-6b127faee5b9325b44d400f0907a212c0ca57887381c513a3898901073248413": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-6b127faee5b9325b44d400f0907a212c0ca57887381c513a3898901073248413", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-6b127faee5b9325b44d400f0907a212c0ca57887381c513a3898901073248413", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Used Client Slots (Current)", + "label": "Max Used Client Slots", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-6b127faee5b9325b44d400f0907a212c0ca57887381c513a3898901073248413", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Used Client Slots (Current)` = MAX(LAST_OVER_TIME(pgbouncer_used_clients))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-6b127faee5b9325b44d400f0907a212c0ca57887381c513a3898901073248413", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Used Client Slots (Current)` = MAX(LAST_OVER_TIME(pgbouncer_used_clients))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "ce381952-d030-4fbf-bb3c-530debef290c", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 12, + "x": 24, + "y": 0 + }, + "panelIndex": "ce381952-d030-4fbf-bb3c-530debef290c", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-a579beb907922f90395115ef5f3a0bd421f274cdfc2144c0949af388533a1ee1": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-a579beb907922f90395115ef5f3a0bd421f274cdfc2144c0949af388533a1ee1", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-a579beb907922f90395115ef5f3a0bd421f274cdfc2144c0949af388533a1ee1", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Free Client Slots (Current)", + "label": "Max Free Client Slots", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-a579beb907922f90395115ef5f3a0bd421f274cdfc2144c0949af388533a1ee1", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Free Client Slots (Current)` = MAX(LAST_OVER_TIME(pgbouncer_free_clients))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-a579beb907922f90395115ef5f3a0bd421f274cdfc2144c0949af388533a1ee1", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Free Client Slots (Current)` = MAX(LAST_OVER_TIME(pgbouncer_free_clients))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "8d557ff9-64e1-4037-883b-59e00ad410c4", + "sectionId": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "w": 12, + "x": 36, + "y": 0 + }, + "panelIndex": "8d557ff9-64e1-4037-883b-59e00ad410c4", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-5f7b3fca5138c8995f981c709610c87d03b396914032ee817b11c5ed613bf343": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-5f7b3fca5138c8995f981c709610c87d03b396914032ee817b11c5ed613bf343", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Max Open Connections", + "label": "Max Open DB Connections", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-5f7b3fca5138c8995f981c709610c87d03b396914032ee817b11c5ed613bf343", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Open Connections` = MAX(LAST_OVER_TIME(db_sql_connection_max_open))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-5f7b3fca5138c8995f981c709610c87d03b396914032ee817b11c5ed613bf343", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Open Connections` = MAX(LAST_OVER_TIME(db_sql_connection_max_open))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "435235a3-5faa-4081-a7e3-b824bb59ffb2", + "sectionId": "dc627473-c823-4326-af8c-2e6e10d1c994", + "w": 12, + "x": 0, + "y": 0 + }, + "panelIndex": "435235a3-5faa-4081-a7e3-b824bb59ffb2", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-cfc62da9326a51688d791b4458334e4102e8aa618bf5939ca947edff64c1d9cf": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-cfc62da9326a51688d791b4458334e4102e8aa618bf5939ca947edff64c1d9cf", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Connection Wait Time (Period)", + "label": "Connection Wait Time (Period)", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "milliseconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-cfc62da9326a51688d791b4458334e4102e8aa618bf5939ca947edff64c1d9cf", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Connection Wait Time (Period)` = SUM(INCREASE(`metrics.db_sql_connection_wait_duration_milliseconds_total`))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-cfc62da9326a51688d791b4458334e4102e8aa618bf5939ca947edff64c1d9cf", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Connection Wait Time (Period)` = SUM(INCREASE(`metrics.db_sql_connection_wait_duration_milliseconds_total`))" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "07c60fcc-a53d-4027-9506-d464fb06e97a", + "sectionId": "dc627473-c823-4326-af8c-2e6e10d1c994", + "w": 12, + "x": 12, + "y": 0 + }, + "panelIndex": "07c60fcc-a53d-4027-9506-d464fb06e97a", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-7a33035e0fa7aae15f90a63066eb163372e4ffe789cb76fccead914074cdf386": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-7a33035e0fa7aae15f90a63066eb163372e4ffe789cb76fccead914074cdf386", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Max Lifetime Closed", + "label": "Max Lifetime Closed", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Max Idle Time Closed", + "label": "Max Idle Time Closed", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_2", + "customLabel": true, + "fieldName": "Max Idle Closed", + "label": "Max Idle Closed", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-7a33035e0fa7aae15f90a63066eb163372e4ffe789cb76fccead914074cdf386", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Lifetime Closed` = SUM(RATE(db_sql_connection_closed_max_lifetime_total)), `Max Idle Time Closed` = SUM(RATE(db_sql_connection_closed_max_idle_time_total)), `Max Idle Closed` = SUM(RATE(db_sql_connection_closed_max_idle_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-7a33035e0fa7aae15f90a63066eb163372e4ffe789cb76fccead914074cdf386", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Lifetime Closed` = SUM(RATE(db_sql_connection_closed_max_lifetime_total)), `Max Idle Time Closed` = SUM(RATE(db_sql_connection_closed_max_idle_time_total)), `Max Idle Closed` = SUM(RATE(db_sql_connection_closed_max_idle_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1", + "line_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_y_1" + }, + { + "axisMode": "left", + "forAccessor": "line_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "DB SQL Connection Closed Reasons", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "DB SQL Connection Closed Reasons" + }, + "gridData": { + "h": 10, + "i": "7ceb47ab-6306-466f-b36a-df5b5065984f", + "sectionId": "dc627473-c823-4326-af8c-2e6e10d1c994", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "7ceb47ab-6306-466f-b36a-df5b5065984f", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-5bafadfbf4037d6427a534bc9d905e675e0d23a13107f18d997e4692892b1ae1": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-5bafadfbf4037d6427a534bc9d905e675e0d23a13107f18d997e4692892b1ae1", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Max Open Connections", + "label": "Max Open Connections", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_y_1", + "customLabel": true, + "fieldName": "Wait Duration (ms Total)", + "label": "Wait Duration", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "milliseconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-5bafadfbf4037d6427a534bc9d905e675e0d23a13107f18d997e4692892b1ae1", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Open Connections` = AVG(AVG_OVER_TIME(`metrics.db_sql_connection_max_open`)), `Wait Duration (ms Total)` = SUM(RATE(`metrics.db_sql_connection_wait_duration_milliseconds_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-5bafadfbf4037d6427a534bc9d905e675e0d23a13107f18d997e4692892b1ae1", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max Open Connections` = AVG(AVG_OVER_TIME(`metrics.db_sql_connection_max_open`)), `Wait Duration (ms Total)` = SUM(RATE(`metrics.db_sql_connection_wait_duration_milliseconds_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": false + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": false + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0", + "line_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + }, + { + "axisMode": "right", + "forAccessor": "line_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full", + "niceValues": true + }, + "yRightScale": "linear" + } + }, + "title": "DB SQL Max Open Connections \u0026 Wait Duration", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "DB SQL Max Open Connections \u0026 Wait Duration" + }, + "gridData": { + "h": 10, + "i": "5c45c9a8-2839-4ead-87a7-898f824a4803", + "sectionId": "dc627473-c823-4326-af8c-2e6e10d1c994", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "5c45c9a8-2839-4ead-87a7-898f824a4803", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-fc7107617534a74f5ef8d515d1e53d6d56f4f66c0d19b2fc6486f38dad09157c": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-fc7107617534a74f5ef8d515d1e53d6d56f4f66c0d19b2fc6486f38dad09157c", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Physical Replication Lag", + "label": "Physical Replication Lag", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-fc7107617534a74f5ef8d515d1e53d6d56f4f66c0d19b2fc6486f38dad09157c", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Physical Replication Lag` = MAX(LAST_OVER_TIME(`metrics.physical_replication_lag_physical_replication_lag_seconds`))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-fc7107617534a74f5ef8d515d1e53d6d56f4f66c0d19b2fc6486f38dad09157c", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Physical Replication Lag` = MAX(LAST_OVER_TIME(`metrics.physical_replication_lag_physical_replication_lag_seconds`))" + }, + "visualization": { + "applyColorTo": "value", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 5, + "i": "5479cf71-865b-4c6d-b7c2-0be17895a07b", + "sectionId": "183649ae-e1e2-4de0-8091-06791344dcec", + "w": 16, + "x": 0, + "y": 0 + }, + "panelIndex": "5479cf71-865b-4c6d-b7c2-0be17895a07b", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-46bf05ab6a6a4db4dccbc0784a09f66662ba8605cd18c44a4221f6d79798abe7": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-46bf05ab6a6a4db4dccbc0784a09f66662ba8605cd18c44a4221f6d79798abe7", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "WAL Replay", + "label": "WAL Replay Status", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-46bf05ab6a6a4db4dccbc0784a09f66662ba8605cd18c44a4221f6d79798abe7", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `val` = MAX(LAST_OVER_TIME(`metrics.physical_replication_lag_is_wal_replay_paused`))\n| EVAL `WAL Replay` = CASE(`val` == 0, \"Active\", \"Paused\")\n| KEEP `WAL Replay`" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-46bf05ab6a6a4db4dccbc0784a09f66662ba8605cd18c44a4221f6d79798abe7", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `val` = MAX(LAST_OVER_TIME(`metrics.physical_replication_lag_is_wal_replay_paused`))\n| EVAL `WAL Replay` = CASE(`val` == 0, \"Active\", \"Paused\")\n| KEEP `WAL Replay`" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "WAL Replay Status", + "version": 2, + "visualizationType": "lnsMetric" + }, + "hide_title": true, + "title": "WAL Replay Status" + }, + "gridData": { + "h": 5, + "i": "7ccd08b9-bbac-4824-8b09-776d86e4bbff", + "sectionId": "183649ae-e1e2-4de0-8091-06791344dcec", + "w": 16, + "x": 16, + "y": 0 + }, + "panelIndex": "7ccd08b9-bbac-4824-8b09-776d86e4bbff", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-4479f81d0aa1d226646973c6aec6e23b3e63c26faef5095576847ca4bd2bcf9b": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-4479f81d0aa1d226646973c6aec6e23b3e63c26faef5095576847ca4bd2bcf9b", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "PG Role", + "label": "PostgreSQL Role", + "meta": { + "type": "number" + } + } + ], + "index": "metrics-supabase.metrics.otel-*-4479f81d0aa1d226646973c6aec6e23b3e63c26faef5095576847ca4bd2bcf9b", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `val` = MAX(LAST_OVER_TIME(`metrics.pg_status_in_recovery`))\n| EVAL `PG Role` = CASE(`val` == 0, \"Primary\", \"Replica\")\n| KEEP `PG Role`" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-4479f81d0aa1d226646973c6aec6e23b3e63c26faef5095576847ca4bd2bcf9b", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `val` = MAX(LAST_OVER_TIME(`metrics.pg_status_in_recovery`))\n| EVAL `PG Role` = CASE(`val` == 0, \"Primary\", \"Replica\")\n| KEEP `PG Role`" + }, + "visualization": { + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "hide_title": true, + "title": "" + }, + "gridData": { + "h": 5, + "i": "1ff29b80-7292-4c12-9609-c3f5129e074a", + "sectionId": "183649ae-e1e2-4de0-8091-06791344dcec", + "w": 16, + "x": 32, + "y": 0 + }, + "panelIndex": "1ff29b80-7292-4c12-9609-c3f5129e074a", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-b3c53a6485e968138dbfa6000ba360b59d031487b097fe1f239d053b130d5b6c": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-b3c53a6485e968138dbfa6000ba360b59d031487b097fe1f239d053b130d5b6c", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_y_0", + "customLabel": true, + "fieldName": "Physical Replication Lag (s)", + "label": "Physical Replication Lag", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "index": "metrics-supabase.metrics.otel-*-b3c53a6485e968138dbfa6000ba360b59d031487b097fe1f239d053b130d5b6c", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Physical Replication Lag (s)` = MAX(LAST_OVER_TIME(`metrics.physical_replication_lag_physical_replication_lag_seconds`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-b3c53a6485e968138dbfa6000ba360b59d031487b097fe1f239d053b130d5b6c", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Physical Replication Lag (s)` = MAX(LAST_OVER_TIME(`metrics.physical_replication_lag_physical_replication_lag_seconds`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Physical Replication Lag", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Physical Replication Lag" + }, + "gridData": { + "h": 12, + "i": "8240bebb-978a-4a82-a34e-032f2f48c720", + "sectionId": "183649ae-e1e2-4de0-8091-06791344dcec", + "w": 48, + "x": 0, + "y": 5 + }, + "panelIndex": "8240bebb-978a-4a82-a34e-032f2f48c720", + "type": "vis" + } + ], + "pinned_panels": { + "panels": { + "586da17d-942f-427c-aa2e-832c89dcfdb7": { + "config": { + "dataViewRefName": "586da17d-942f-427c-aa2e-832c89dcfdb7:optionsListDataView", + "exclude": false, + "exists_selected": false, + "field_name": "supabase_project_ref", + "ignore_validations": false, + "run_past_timeout": false, + "search_technique": "wildcard", + "selected_options": [], + "single_select": false, + "sort": { + "by": "_count", + "direction": "desc" + }, + "title": "Project Reference", + "use_global_filters": true + }, + "grow": false, + "order": 0, + "type": "options_list_control", + "width": "medium" + } + } + }, + "refreshInterval": { + "pause": true, + "value": 0 + }, + "sections": [ + { + "collapsed": false, + "gridData": { + "i": "06c8c067-941b-4098-8c4c-2df0cd10f880", + "y": 2 + }, + "title": "PostgreSQL Overview" + }, + { + "collapsed": false, + "gridData": { + "i": "28f93fc1-82eb-4012-a94d-d269bfb2e94c", + "y": 3 + }, + "title": "Query Throughput \u0026 BGWriter" + }, + { + "collapsed": true, + "gridData": { + "i": "58618c7c-57d4-45cf-8214-a84fd2961c6f", + "y": 4 + }, + "title": "PgBouncer Connection Pooling" + }, + { + "collapsed": true, + "gridData": { + "i": "dc627473-c823-4326-af8c-2e6e10d1c994", + "y": 5 + }, + "title": "Go SQL Connection Pool" + }, + { + "collapsed": true, + "gridData": { + "i": "183649ae-e1e2-4de0-8091-06791344dcec", + "y": 6 + }, + "title": "Replication \u0026 WAL" + } + ], + "timeFrom": "now-1h", + "timeRestore": true, + "timeTo": "now", + "title": "[Supabase OTel] Databases \u0026 PostgreSQL" + }, + "coreMigrationVersion": "8.8.0", + "created_at": "2026-07-29T10:16:49.432Z", + "created_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0", + "id": "supabase_otel-964608d0-93a3-474b-a8ce-528dbf458c3b", + "references": [ + { + "id": "supabase_otel-1980c4f4-952c-47f2-977e-30e7d99ca7af", + "name": "42212758-c21b-40cf-b73d-ebbcf9cb720f:link_6386ef26-bbba-4c25-bad3-5d52fee74e07_dashboard", + "type": "dashboard" + }, + { + "id": "supabase_otel-964608d0-93a3-474b-a8ce-528dbf458c3b", + "name": "42212758-c21b-40cf-b73d-ebbcf9cb720f:link_1275aa0a-97e8-434f-9c66-430025ad3469_dashboard", + "type": "dashboard" + }, + { + "id": "supabase_otel-c5ff5b39-42a4-442b-a944-a76e9dc7c1a8", + "name": "42212758-c21b-40cf-b73d-ebbcf9cb720f:link_2a166923-db69-4eea-a75f-883330baa734_dashboard", + "type": "dashboard" + }, + { + "id": "metrics-supabase.metrics.otel-*-446c7664adeacbec729fa3311e520a37f74c2ee9d2a39aef46e61efc1574d4cc", + "name": "586da17d-942f-427c-aa2e-832c89dcfdb7:optionsListDataView", + "type": "index-pattern" + } + ], + "type": "dashboard", + "typeMigrationVersion": "10.3.0", + "updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0" +} \ No newline at end of file diff --git a/packages/supabase_otel/kibana/dashboard/supabase_otel-c5ff5b39-42a4-442b-a944-a76e9dc7c1a8.json b/packages/supabase_otel/kibana/dashboard/supabase_otel-c5ff5b39-42a4-442b-a944-a76e9dc7c1a8.json new file mode 100644 index 00000000000..90eb685660e --- /dev/null +++ b/packages/supabase_otel/kibana/dashboard/supabase_otel-c5ff5b39-42a4-442b-a944-a76e9dc7c1a8.json @@ -0,0 +1,2989 @@ +{ + "accessControl": { + "accessMode": "default", + "owner": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0" + }, + "attributes": { + "description": "Deep monitoring for Supabase services and APIs — Auth (GoTrue), PostgREST, Realtime, and Go runtime metrics.", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "autoApplyFilters": true, + "hidePanelBorders": false, + "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": { + "layout": "horizontal", + "links": [ + { + "destinationRefName": "link_9f2d946f-28fd-44ea-8ab1-ee537d1c059c_dashboard", + "label": "Node \u0026 Infrastructure", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + }, + { + "destinationRefName": "link_65337ad4-26c5-49c0-8d0f-16e5683fd9b5_dashboard", + "label": "Databases \u0026 PostgreSQL", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + }, + { + "destinationRefName": "link_af9b5b7b-8037-4e0d-9fd3-6e30ada59e27_dashboard", + "label": "Services \u0026 API", + "options": { + "open_in_new_tab": false, + "use_filters": true, + "use_time_range": true + }, + "type": "dashboardLink" + } + ] + }, + "gridData": { + "h": 2, + "i": "b7287245-b387-45ee-9bbd-de0b62b0c674", + "w": 48, + "x": 0, + "y": 0 + }, + "panelIndex": "b7287245-b387-45ee-9bbd-de0b62b0c674", + "type": "links" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-4b2d424783bc8bf61fe08a39ac420c90c8cee596fbb96477e58c4f320506ba69": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-4b2d424783bc8bf61fe08a39ac420c90c8cee596fbb96477e58c4f320506ba69", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-4b2d424783bc8bf61fe08a39ac420c90c8cee596fbb96477e58c4f320506ba69", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Alloc Bytes", + "label": "Max Go Alloc Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-4b2d424783bc8bf61fe08a39ac420c90c8cee596fbb96477e58c4f320506ba69", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Alloc Bytes` = MAX(LAST_OVER_TIME(go_memstats_alloc_bytes))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-4b2d424783bc8bf61fe08a39ac420c90c8cee596fbb96477e58c4f320506ba69", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Alloc Bytes` = MAX(LAST_OVER_TIME(go_memstats_alloc_bytes))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "b433653b-14ce-4446-aec5-04b04d5abf5e", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 12, + "x": 0, + "y": 0 + }, + "panelIndex": "b433653b-14ce-4446-aec5-04b04d5abf5e", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-c6787d3b71046716efc8096f4e7ba529d55a3cc8bebdeb3e8c9c2472346db9a2": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-c6787d3b71046716efc8096f4e7ba529d55a3cc8bebdeb3e8c9c2472346db9a2", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-c6787d3b71046716efc8096f4e7ba529d55a3cc8bebdeb3e8c9c2472346db9a2", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Resident Memory", + "label": "Max Resident Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-c6787d3b71046716efc8096f4e7ba529d55a3cc8bebdeb3e8c9c2472346db9a2", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Resident Memory` = MAX(LAST_OVER_TIME(process_resident_memory_bytes))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-c6787d3b71046716efc8096f4e7ba529d55a3cc8bebdeb3e8c9c2472346db9a2", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Resident Memory` = MAX(LAST_OVER_TIME(process_resident_memory_bytes))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "90261506-d468-4ed2-9526-8972d85c5dbb", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 12, + "x": 12, + "y": 0 + }, + "panelIndex": "90261506-d468-4ed2-9526-8972d85c5dbb", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-99ac04696dca3b8782250af71e329606bcf35f5cfa59b7128246942fd9c63be2": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-99ac04696dca3b8782250af71e329606bcf35f5cfa59b7128246942fd9c63be2", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-99ac04696dca3b8782250af71e329606bcf35f5cfa59b7128246942fd9c63be2", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Goroutines", + "label": "Max Go Goroutines", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-99ac04696dca3b8782250af71e329606bcf35f5cfa59b7128246942fd9c63be2", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Goroutines` = MAX(LAST_OVER_TIME(process_runtime_go_goroutines))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-99ac04696dca3b8782250af71e329606bcf35f5cfa59b7128246942fd9c63be2", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Goroutines` = MAX(LAST_OVER_TIME(process_runtime_go_goroutines))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "3e05380d-da25-4c3e-866d-ea5da457184e", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 12, + "x": 24, + "y": 0 + }, + "panelIndex": "3e05380d-da25-4c3e-866d-ea5da457184e", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-32e3815adb25de600cbd66b2286b3105856db81589f06e51d5b4e2a30603d9e2": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-32e3815adb25de600cbd66b2286b3105856db81589f06e51d5b4e2a30603d9e2", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Max FDs", + "label": "Max File Descriptors", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-32e3815adb25de600cbd66b2286b3105856db81589f06e51d5b4e2a30603d9e2", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max FDs` = MAX(LAST_OVER_TIME(process_max_fds))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-32e3815adb25de600cbd66b2286b3105856db81589f06e51d5b4e2a30603d9e2", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Max FDs` = MAX(LAST_OVER_TIME(process_max_fds))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "d4abd615-4b00-4fda-80b3-53973a32695c", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 12, + "x": 36, + "y": 0 + }, + "panelIndex": "d4abd615-4b00-4fda-80b3-53973a32695c", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-6e12a6cf57a01c5f2d5b4f258c8d0983d652d09f3740752b69c4aee4dbb35a3e": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-6e12a6cf57a01c5f2d5b4f258c8d0983d652d09f3740752b69c4aee4dbb35a3e", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "Alloc Bytes", + "label": "Alloc Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_0_y_1", + "customLabel": true, + "fieldName": "Sys Bytes", + "label": "Sys Bytes", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_0_y_2", + "customLabel": true, + "fieldName": "Heap Objects", + "label": "Heap Objects", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-6e12a6cf57a01c5f2d5b4f258c8d0983d652d09f3740752b69c4aee4dbb35a3e", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Alloc Bytes` = AVG(AVG_OVER_TIME(go_memstats_alloc_bytes)), `Sys Bytes` = AVG(AVG_OVER_TIME(go_memstats_sys_bytes)), `Heap Objects` = AVG(AVG_OVER_TIME(go_memstats_heap_objects)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-6e12a6cf57a01c5f2d5b4f258c8d0983d652d09f3740752b69c4aee4dbb35a3e", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Alloc Bytes` = AVG(AVG_OVER_TIME(go_memstats_alloc_bytes)), `Sys Bytes` = AVG(AVG_OVER_TIME(go_memstats_sys_bytes)), `Heap Objects` = AVG(AVG_OVER_TIME(go_memstats_heap_objects)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": false + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": false + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0", + "line_0_y_1", + "line_0_y_2" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_0_y_1" + }, + { + "axisMode": "right", + "forAccessor": "line_0_y_2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full", + "niceValues": true + }, + "yRightScale": "linear" + } + }, + "title": "Go Memory Stats: Alloc Bytes, Sys Bytes \u0026 Heap Objects", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Go Memory Stats: Alloc Bytes, Sys Bytes \u0026 Heap Objects" + }, + "gridData": { + "h": 10, + "i": "518148a3-8b54-4a04-8c70-3b334022130f", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "518148a3-8b54-4a04-8c70-3b334022130f", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-fbb0add7a85e436a0c6474b75ae312aa0328d07d3e2e7cca9c58d3ffc339a6db": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-fbb0add7a85e436a0c6474b75ae312aa0328d07d3e2e7cca9c58d3ffc339a6db", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "Go Goroutines", + "label": "Go Goroutines", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_0_y_1", + "customLabel": true, + "fieldName": "Go Memstats Lookups Total", + "label": "Go Memstats Lookups Total", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-fbb0add7a85e436a0c6474b75ae312aa0328d07d3e2e7cca9c58d3ffc339a6db", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Go Goroutines` = AVG(AVG_OVER_TIME(process_runtime_go_goroutines)), `Go Memstats Lookups Total` = SUM(RATE(go_memstats_lookups_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-fbb0add7a85e436a0c6474b75ae312aa0328d07d3e2e7cca9c58d3ffc339a6db", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Go Goroutines` = AVG(AVG_OVER_TIME(process_runtime_go_goroutines)), `Go Memstats Lookups Total` = SUM(RATE(go_memstats_lookups_total)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": false + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": false + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0", + "line_0_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + }, + { + "axisMode": "right", + "forAccessor": "line_0_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full", + "niceValues": true + }, + "yRightScale": "linear" + } + }, + "title": "Go Goroutines \u0026 Memstats Lookups", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Go Goroutines \u0026 Memstats Lookups" + }, + "gridData": { + "h": 10, + "i": "b2ffca2c-8154-4b78-bc1e-2542a2915368", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 24, + "x": 24, + "y": 5 + }, + "panelIndex": "b2ffca2c-8154-4b78-bc1e-2542a2915368", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-303bff980da7a64033b0d1c2112e1205163bf39bdc5fdef357b6bf41b7f07b12": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-303bff980da7a64033b0d1c2112e1205163bf39bdc5fdef357b6bf41b7f07b12", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "GC Pause Total (ns)", + "label": "GC Pause Total (ns)", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "nanoseconds", + "toUnit": "humanizePrecise" + } + } + } + }, + { + "columnId": "line_0_y_1", + "customLabel": true, + "fieldName": "GC Count Total", + "label": "GC Count Total", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-303bff980da7a64033b0d1c2112e1205163bf39bdc5fdef357b6bf41b7f07b12", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `GC Pause Total (ns)` = SUM(RATE(`metrics.process_runtime_go_gc_pause_total_ns_total`)), `GC Count Total` = SUM(RATE(`metrics.process_runtime_go_gc_count_total`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-303bff980da7a64033b0d1c2112e1205163bf39bdc5fdef357b6bf41b7f07b12", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `GC Pause Total (ns)` = SUM(RATE(`metrics.process_runtime_go_gc_pause_total_ns_total`)), `GC Count Total` = SUM(RATE(`metrics.process_runtime_go_gc_count_total`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": false + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": false + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0", + "line_0_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + }, + { + "axisMode": "right", + "forAccessor": "line_0_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full", + "niceValues": true + }, + "yRightScale": "linear" + } + }, + "title": "Go GC Pause Total \u0026 GC Count", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Go GC Pause Total \u0026 GC Count" + }, + "gridData": { + "h": 10, + "i": "6e3f5712-95ae-4777-b85c-dad1e0b7f419", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "6e3f5712-95ae-4777-b85c-dad1e0b7f419", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-62b7682dc06009d8b72e509f3442b512e1012392825a73dc8b1e358590060ffa": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-62b7682dc06009d8b72e509f3442b512e1012392825a73dc8b1e358590060ffa", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "Virtual Memory (bytes)", + "label": "Virtual Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + }, + { + "columnId": "line_0_y_1", + "customLabel": true, + "fieldName": "Resident Memory (bytes)", + "label": "Resident Memory", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-62b7682dc06009d8b72e509f3442b512e1012392825a73dc8b1e358590060ffa", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Virtual Memory (bytes)` = AVG(AVG_OVER_TIME(process_virtual_memory_bytes)), `Resident Memory (bytes)` = AVG(AVG_OVER_TIME(process_resident_memory_bytes)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-62b7682dc06009d8b72e509f3442b512e1012392825a73dc8b1e358590060ffa", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Virtual Memory (bytes)` = AVG(AVG_OVER_TIME(process_virtual_memory_bytes)), `Resident Memory (bytes)` = AVG(AVG_OVER_TIME(process_resident_memory_bytes)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0", + "line_0_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_0_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Process Memory Usage (Virtual vs Resident)", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Process Memory Usage (Virtual vs Resident)" + }, + "gridData": { + "h": 10, + "i": "838daec6-c312-41b4-bfc4-32f20d62e2ae", + "sectionId": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "838daec6-c312-41b4-bfc4-32f20d62e2ae", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-ca44e5b94afe8c793f744b3b63ca30d8e583cdead615f908e3ea308f14500901": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-ca44e5b94afe8c793f744b3b63ca30d8e583cdead615f908e3ea308f14500901", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-ca44e5b94afe8c793f744b3b63ca30d8e583cdead615f908e3ea308f14500901", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "DB Pool Available", + "label": "Max PostgREST DB Pool Available", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-ca44e5b94afe8c793f744b3b63ca30d8e583cdead615f908e3ea308f14500901", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `DB Pool Available` = MAX(LAST_OVER_TIME(pgrst_db_pool_available))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-ca44e5b94afe8c793f744b3b63ca30d8e583cdead615f908e3ea308f14500901", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `DB Pool Available` = MAX(LAST_OVER_TIME(pgrst_db_pool_available))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "3b0f8989-2c7d-43b4-bba1-58e8ab9360fc", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 12, + "x": 0, + "y": 0 + }, + "panelIndex": "3b0f8989-2c7d-43b4-bba1-58e8ab9360fc", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-1601a085b2fd713342152af828c1fa588631194e55047cc41e1d08c233dada3e": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-1601a085b2fd713342152af828c1fa588631194e55047cc41e1d08c233dada3e", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-1601a085b2fd713342152af828c1fa588631194e55047cc41e1d08c233dada3e", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Pool Timeouts", + "label": "Max PostgREST Pool Timeouts", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-1601a085b2fd713342152af828c1fa588631194e55047cc41e1d08c233dada3e", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Pool Timeouts` = MAX(LAST_OVER_TIME(pgrst_db_pool_timeouts_total))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-1601a085b2fd713342152af828c1fa588631194e55047cc41e1d08c233dada3e", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Pool Timeouts` = MAX(LAST_OVER_TIME(pgrst_db_pool_timeouts_total))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "8eecfcdb-a84d-4f98-b24e-1dfe6ee3a4a2", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 12, + "x": 12, + "y": 0 + }, + "panelIndex": "8eecfcdb-a84d-4f98-b24e-1dfe6ee3a4a2", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-c9fcc0a6d4cbf67215a50c13226ceef21243f3cf559db1afb2e04cda60811c8d": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-c9fcc0a6d4cbf67215a50c13226ceef21243f3cf559db1afb2e04cda60811c8d", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-c9fcc0a6d4cbf67215a50c13226ceef21243f3cf559db1afb2e04cda60811c8d", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "JWT Cache Hits", + "label": "Max JWT Cache Hits", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-c9fcc0a6d4cbf67215a50c13226ceef21243f3cf559db1afb2e04cda60811c8d", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `JWT Cache Hits` = MAX(LAST_OVER_TIME(pgrst_jwt_cache_hits_total))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-c9fcc0a6d4cbf67215a50c13226ceef21243f3cf559db1afb2e04cda60811c8d", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `JWT Cache Hits` = MAX(LAST_OVER_TIME(pgrst_jwt_cache_hits_total))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "842e00ba-7770-4384-b8ed-6cb8c9a896cf", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 12, + "x": 24, + "y": 0 + }, + "panelIndex": "842e00ba-7770-4384-b8ed-6cb8c9a896cf", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-19a908aa80257bb689dae00875014e7d08e663117c97dea79f21d391fa0e8643": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-19a908aa80257bb689dae00875014e7d08e663117c97dea79f21d391fa0e8643", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "indexPatternRefs": [ + { + "id": "metrics-supabase.metrics.otel-*-19a908aa80257bb689dae00875014e7d08e663117c97dea79f21d391fa0e8643", + "timeField": "@timestamp", + "title": "metrics-supabase.metrics.otel-*" + } + ], + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "JWT Cache Requests", + "label": "Max JWT Cache Requests", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-19a908aa80257bb689dae00875014e7d08e663117c97dea79f21d391fa0e8643", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `JWT Cache Requests` = MAX(LAST_OVER_TIME(pgrst_jwt_cache_requests_total))" + }, + "timeField": "@timestamp" + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-19a908aa80257bb689dae00875014e7d08e663117c97dea79f21d391fa0e8643", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `JWT Cache Requests` = MAX(LAST_OVER_TIME(pgrst_jwt_cache_requests_total))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "d1c9dd74-ed47-4aad-997c-55083c7e26f6", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 12, + "x": 36, + "y": 0 + }, + "panelIndex": "d1c9dd74-ed47-4aad-997c-55083c7e26f6", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-5943c8a65287defded278656b0ffa304b40915d47931d017291a9b55cfe7451a": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-5943c8a65287defded278656b0ffa304b40915d47931d017291a9b55cfe7451a", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "JWT Cache Hits", + "label": "JWT Cache Hits", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_0_y_1", + "customLabel": true, + "fieldName": "JWT Cache Requests", + "label": "JWT Cache Requests", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-5943c8a65287defded278656b0ffa304b40915d47931d017291a9b55cfe7451a", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `JWT Cache Hits` = SUM(RATE(pgrst_jwt_cache_hits_total)), `JWT Cache Requests` = SUM(RATE(pgrst_jwt_cache_requests_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-5943c8a65287defded278656b0ffa304b40915d47931d017291a9b55cfe7451a", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `JWT Cache Hits` = SUM(RATE(pgrst_jwt_cache_hits_total)), `JWT Cache Requests` = SUM(RATE(pgrst_jwt_cache_requests_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0", + "line_0_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_0_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgREST JWT Cache Hits vs Requests", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgREST JWT Cache Hits vs Requests" + }, + "gridData": { + "h": 10, + "i": "42a9ce55-f72c-4ff8-84d1-3e6fa754cd87", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "42a9ce55-f72c-4ff8-84d1-3e6fa754cd87", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-ff7523ebeb6d07456dd7f84205002ec3c53b135734285be554468a4154e3ca59": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-ff7523ebeb6d07456dd7f84205002ec3c53b135734285be554468a4154e3ca59", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "DB Pool Available", + "label": "DB Pool Available", + "meta": { + "type": "number" + } + }, + { + "columnId": "line_0_y_1", + "customLabel": true, + "fieldName": "DB Pool Timeouts Total", + "label": "DB Pool Timeouts Total", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-ff7523ebeb6d07456dd7f84205002ec3c53b135734285be554468a4154e3ca59", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `DB Pool Available` = AVG(AVG_OVER_TIME(pgrst_db_pool_available)), `DB Pool Timeouts Total` = SUM(RATE(pgrst_db_pool_timeouts_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-ff7523ebeb6d07456dd7f84205002ec3c53b135734285be554468a4154e3ca59", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `DB Pool Available` = AVG(AVG_OVER_TIME(pgrst_db_pool_available)), `DB Pool Timeouts Total` = SUM(RATE(pgrst_db_pool_timeouts_total)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0", + "line_0_y_1" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + }, + { + "axisMode": "left", + "forAccessor": "line_0_y_1" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgREST DB Pool: Available Connections \u0026 Timeouts", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgREST DB Pool: Available Connections \u0026 Timeouts" + }, + "gridData": { + "h": 10, + "i": "44fc1058-83f9-4c7f-baac-b9f1a6fefbed", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 24, + "x": 24, + "y": 5 + }, + "panelIndex": "44fc1058-83f9-4c7f-baac-b9f1a6fefbed", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-0ff52611316c03d487399d1326a11a51edd7b0b7e006df9596e2e9429a0997fe": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-0ff52611316c03d487399d1326a11a51edd7b0b7e006df9596e2e9429a0997fe", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "PostgREST Schema Cache Loads", + "label": "PostgREST Schema Cache Loads", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-0ff52611316c03d487399d1326a11a51edd7b0b7e006df9596e2e9429a0997fe", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgREST Schema Cache Loads` = SUM(RATE(`metrics.pgrst_schema_cache_loads_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-0ff52611316c03d487399d1326a11a51edd7b0b7e006df9596e2e9429a0997fe", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgREST Schema Cache Loads` = SUM(RATE(`metrics.pgrst_schema_cache_loads_total`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "PostgREST Schema Cache Loads", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "PostgREST Schema Cache Loads" + }, + "gridData": { + "h": 10, + "i": "9bd4849f-51b8-4d3d-a62c-3e2edfa6195e", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "9bd4849f-51b8-4d3d-a62c-3e2edfa6195e", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-a2dadb7926cbb73cbce2b2cc28c05fa58cc03f7811ce5e9409fbf85e0d3395d4": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-a2dadb7926cbb73cbce2b2cc28c05fa58cc03f7811ce5e9409fbf85e0d3395d4", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "Avg Schema Cache Query Time", + "label": "Avg Schema Cache Query Time", + "meta": { + "type": "number" + }, + "params": { + "format": { + "id": "duration", + "params": { + "decimals": 2, + "fromUnit": "seconds", + "toUnit": "humanizePrecise" + } + } + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-a2dadb7926cbb73cbce2b2cc28c05fa58cc03f7811ce5e9409fbf85e0d3395d4", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Avg Schema Cache Query Time` = AVG(AVG_OVER_TIME(`metrics.pgrst_schema_cache_query_time_seconds`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-a2dadb7926cbb73cbce2b2cc28c05fa58cc03f7811ce5e9409fbf85e0d3395d4", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Avg Schema Cache Query Time` = AVG(AVG_OVER_TIME(`metrics.pgrst_schema_cache_query_time_seconds`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Avg Schema Cache Query Time", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Avg Schema Cache Query Time" + }, + "gridData": { + "h": 10, + "i": "ae2fee57-2c92-4535-bee7-50c1bc8a4751", + "sectionId": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "ae2fee57-2c92-4535-bee7-50c1bc8a4751", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-86208363610dffd2ac24b1edcc0283d5710d0bf9253e3593c0cb0ee80d5ab05e": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-86208363610dffd2ac24b1edcc0283d5710d0bf9253e3593c0cb0ee80d5ab05e", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Realtime Subscriptions", + "label": "Realtime Subscriptions", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-86208363610dffd2ac24b1edcc0283d5710d0bf9253e3593c0cb0ee80d5ab05e", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Realtime Subscriptions` = MAX(LAST_OVER_TIME(realtime_postgres_changes_total_subscriptions))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-86208363610dffd2ac24b1edcc0283d5710d0bf9253e3593c0cb0ee80d5ab05e", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Realtime Subscriptions` = MAX(LAST_OVER_TIME(realtime_postgres_changes_total_subscriptions))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "97563701-9295-4110-9e2d-3affaa60155b", + "sectionId": "e74831e6-278b-4a84-b635-e256829160ac", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "97563701-9295-4110-9e2d-3affaa60155b", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-51d4fcd016ae8a416827cfaf5c3f455d5a741ad60efed33e12e6241029263c2b": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-51d4fcd016ae8a416827cfaf5c3f455d5a741ad60efed33e12e6241029263c2b", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Direct Connections", + "label": "Direct Connections", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-51d4fcd016ae8a416827cfaf5c3f455d5a741ad60efed33e12e6241029263c2b", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Direct Connections` = MAX(LAST_OVER_TIME(`metrics.direct_connection_stats_connection_count`))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-51d4fcd016ae8a416827cfaf5c3f455d5a741ad60efed33e12e6241029263c2b", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Direct Connections` = MAX(LAST_OVER_TIME(`metrics.direct_connection_stats_connection_count`))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "52c1821b-15b8-4d25-a924-377d7e093291", + "sectionId": "e74831e6-278b-4a84-b635-e256829160ac", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "52c1821b-15b8-4d25-a924-377d7e093291", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-c76c51e9b15adf09332aedcddb9615c90607bd3695185b0f1af22a1d4ba59b6c": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-c76c51e9b15adf09332aedcddb9615c90607bd3695185b0f1af22a1d4ba59b6c", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "Time", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "Realtime Postgres Changes Subscriptions", + "label": "Avg Total Subscriptions", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-c76c51e9b15adf09332aedcddb9615c90607bd3695185b0f1af22a1d4ba59b6c", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Realtime Postgres Changes Subscriptions` = AVG(AVG_OVER_TIME(`metrics.realtime_postgres_changes_total_subscriptions`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-c76c51e9b15adf09332aedcddb9615c90607bd3695185b0f1af22a1d4ba59b6c", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Realtime Postgres Changes Subscriptions` = AVG(AVG_OVER_TIME(`metrics.realtime_postgres_changes_total_subscriptions`)) BY `Time` = TBUCKET(75, ?_tstart, ?_tend)\n| SORT `Time` ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Realtime Postgres Changes Subscriptions", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Realtime Postgres Changes Subscriptions" + }, + "gridData": { + "h": 10, + "i": "384a04c0-7007-4a01-8b81-8a57a843cf06", + "sectionId": "e74831e6-278b-4a84-b635-e256829160ac", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "384a04c0-7007-4a01-8b81-8a57a843cf06", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-72d241125e6d2e65a6cfd46af1787612a1232a59d0da13794d11afe0bf47a65f": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-72d241125e6d2e65a6cfd46af1787612a1232a59d0da13794d11afe0bf47a65f", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "Supabase Direct Connection Count", + "label": "Supabase Direct Connection Count", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-72d241125e6d2e65a6cfd46af1787612a1232a59d0da13794d11afe0bf47a65f", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Supabase Direct Connection Count` = AVG(AVG_OVER_TIME(`metrics.direct_connection_stats_connection_count`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-72d241125e6d2e65a6cfd46af1787612a1232a59d0da13794d11afe0bf47a65f", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Supabase Direct Connection Count` = AVG(AVG_OVER_TIME(`metrics.direct_connection_stats_connection_count`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom" + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Supabase Direct Connection Count", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Supabase Direct Connection Count" + }, + "gridData": { + "h": 10, + "i": "d8733fed-92fd-4e8b-9f17-445d84900c96", + "sectionId": "e74831e6-278b-4a84-b635-e256829160ac", + "w": 24, + "x": 24, + "y": 5 + }, + "panelIndex": "d8733fed-92fd-4e8b-9f17-445d84900c96", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-77a9f98efba1bbfde477a91eafa6e2930a017023972cea7c48e929ec5ab5f5c3": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-77a9f98efba1bbfde477a91eafa6e2930a017023972cea7c48e929ec5ab5f5c3", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "line_0": { + "columns": [ + { + "columnId": "line_0_x", + "fieldName": "bucket", + "meta": { + "type": "date" + } + }, + { + "columnId": "line_0_y_0", + "customLabel": true, + "fieldName": "Auth Users Count", + "label": "Auth Users Count", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-77a9f98efba1bbfde477a91eafa6e2930a017023972cea7c48e929ec5ab5f5c3", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Auth Users Count` = AVG(AVG_OVER_TIME(`metrics.auth_users_user_count`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-77a9f98efba1bbfde477a91eafa6e2930a017023972cea7c48e929ec5ab5f5c3", + "name": "indexpattern-datasource-layer-line_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Auth Users Count` = AVG(AVG_OVER_TIME(`metrics.auth_users_user_count`)) BY bucket = TBUCKET(75, ?_tstart, ?_tend)\n| SORT bucket ASC" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "curveType": "LINEAR", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "hideEndzones": true, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "line_0_y_0" + ], + "layerId": "line_0", + "layerType": "data", + "seriesType": "line", + "xAccessor": "line_0_x", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "line_0_y_0" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "showSingleSeries": true + }, + "pointVisibility": "auto", + "preferredSeriesType": "line", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "xExtent": { + "mode": "dataBounds", + "niceValues": false + }, + "yLeftExtent": { + "mode": "full", + "niceValues": true + }, + "yLeftScale": "linear" + } + }, + "title": "Auth Users Count", + "version": 2, + "visualizationType": "lnsXY" + }, + "title": "Auth Users Count" + }, + "gridData": { + "h": 10, + "i": "52b7aa6f-a8ee-4c7c-a325-10a864438eeb", + "sectionId": "3062d907-8439-43ff-a50c-4cb3f81b4308", + "w": 24, + "x": 0, + "y": 5 + }, + "panelIndex": "52b7aa6f-a8ee-4c7c-a325-10a864438eeb", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-c8968a831c87cdce978151bd26be68ada792e6068653bd33a0ab2450b4e7ac0e": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-c8968a831c87cdce978151bd26be68ada792e6068653bd33a0ab2450b4e7ac0e", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "PostgreSQL Restarts", + "label": "PostgreSQL Restarts", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-c8968a831c87cdce978151bd26be68ada792e6068653bd33a0ab2450b4e7ac0e", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgreSQL Restarts` = SUM(LAST_OVER_TIME(postgresql_restarts_total))" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-c8968a831c87cdce978151bd26be68ada792e6068653bd33a0ab2450b4e7ac0e", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `PostgreSQL Restarts` = SUM(LAST_OVER_TIME(postgresql_restarts_total))" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + }, + "title": "" + }, + "gridData": { + "h": 10, + "i": "eb4dae08-3cb7-4fc0-988c-981ae6b18cfc", + "sectionId": "3062d907-8439-43ff-a50c-4cb3f81b4308", + "w": 24, + "x": 24, + "y": 5 + }, + "panelIndex": "eb4dae08-3cb7-4fc0-988c-981ae6b18cfc", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-e859d7f773941efb748c4f4f53e997d9afc39d6beb6029cf52045f8411b28e38": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-e859d7f773941efb748c4f4f53e997d9afc39d6beb6029cf52045f8411b28e38", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "datatable_accessor_metric_0", + "customLabel": true, + "fieldName": "Version", + "inMetricDimension": true, + "label": "Version", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-e859d7f773941efb748c4f4f53e997d9afc39d6beb6029cf52045f8411b28e38", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Major` = MAX(LAST_OVER_TIME(global_auth_version_major)), `Patch` = MAX(LAST_OVER_TIME(`metrics.global_auth_version_patch`))\n| WHERE `Major` IS NOT NULL\n| EVAL `Version` = CONCAT(TO_STRING(TO_INTEGER(`Major`)), \".\", TO_STRING(TO_INTEGER(`Patch`)))\n| KEEP `Version`" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-e859d7f773941efb748c4f4f53e997d9afc39d6beb6029cf52045f8411b28e38", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Major` = MAX(LAST_OVER_TIME(global_auth_version_major)), `Patch` = MAX(LAST_OVER_TIME(`metrics.global_auth_version_patch`))\n| WHERE `Major` IS NOT NULL\n| EVAL `Version` = CONCAT(TO_STRING(TO_INTEGER(`Major`)), \".\", TO_STRING(TO_INTEGER(`Patch`)))\n| KEEP `Version`" + }, + "visualization": { + "columns": [ + { + "columnId": "datatable_accessor_metric_0", + "isMetric": true, + "isTransposed": false + } + ], + "layerId": "layer_0", + "layerType": "data" + } + }, + "title": "Auth Version", + "version": 2, + "visualizationType": "lnsDatatable" + }, + "title": "Auth Version" + }, + "gridData": { + "h": 5, + "i": "f772cab3-87d9-4e81-8fd6-61b4cab0f6d1", + "sectionId": "3062d907-8439-43ff-a50c-4cb3f81b4308", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "f772cab3-87d9-4e81-8fd6-61b4cab0f6d1", + "type": "vis" + }, + { + "embeddableConfig": { + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "metrics-supabase.metrics.otel-*-e664746d403d10762c066abeb6ab207b32e9e0b45b8270cd6bf80970e814f286": { + "allowHidden": false, + "allowNoIndex": false, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "metrics-supabase.metrics.otel-*-e664746d403d10762c066abeb6ab207b32e9e0b45b8270cd6bf80970e814f286", + "name": "metrics-supabase.metrics.otel-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "title": "metrics-supabase.metrics.otel-*", + "type": "esql" + } + }, + "datasourceStates": { + "textBased": { + "layers": { + "layer_0": { + "columns": [ + { + "columnId": "metric_accessor_metric", + "customLabel": true, + "fieldName": "Auth Users", + "label": "Auth Users", + "meta": { + "type": "number" + } + } + ], + "ignoreGlobalFilters": false, + "index": "metrics-supabase.metrics.otel-*-e664746d403d10762c066abeb6ab207b32e9e0b45b8270cd6bf80970e814f286", + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Auth Users` = MAX(LAST_OVER_TIME(`metrics.auth_users_user_count`))\n| EVAL `Auth Users` = CASE(`Auth Users` == -1, null, `Auth Users`)" + } + } + } + } + }, + "filters": [], + "internalReferences": [ + { + "id": "metrics-supabase.metrics.otel-*-e664746d403d10762c066abeb6ab207b32e9e0b45b8270cd6bf80970e814f286", + "name": "indexpattern-datasource-layer-layer_0", + "type": "index-pattern" + } + ], + "query": { + "esql": "TS metrics-supabase.metrics.otel-*\n| STATS `Auth Users` = MAX(LAST_OVER_TIME(`metrics.auth_users_user_count`))\n| EVAL `Auth Users` = CASE(`Auth Users` == -1, null, `Auth Users`)" + }, + "visualization": { + "density": "default", + "layerId": "layer_0", + "layerType": "data", + "metricAccessor": "metric_accessor_metric", + "primaryAlign": "right", + "primaryPosition": "bottom", + "showBar": false, + "titlesTextAlign": "left", + "valueFontMode": "default" + } + }, + "title": "", + "version": 2, + "visualizationType": "lnsMetric" + } + }, + "gridData": { + "h": 5, + "i": "621139f5-bcb5-490d-b6ce-e2611482b9f3", + "sectionId": "3062d907-8439-43ff-a50c-4cb3f81b4308", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "621139f5-bcb5-490d-b6ce-e2611482b9f3", + "type": "vis" + } + ], + "pinned_panels": { + "panels": { + "c0fae58f-7ba7-4846-9b7b-8112548ac099": { + "config": { + "dataViewRefName": "c0fae58f-7ba7-4846-9b7b-8112548ac099:optionsListDataView", + "exclude": false, + "exists_selected": false, + "field_name": "supabase_project_ref", + "ignore_validations": false, + "run_past_timeout": false, + "search_technique": "wildcard", + "selected_options": [], + "single_select": false, + "sort": { + "by": "_count", + "direction": "desc" + }, + "title": "Project Reference", + "use_global_filters": true + }, + "grow": false, + "order": 0, + "type": "options_list_control", + "width": "medium" + } + } + }, + "refreshInterval": { + "pause": true, + "value": 0 + }, + "sections": [ + { + "collapsed": false, + "gridData": { + "i": "c1a2ab9d-0576-4be0-babf-cd9ceb7938ab", + "y": 2 + }, + "title": "Go Runtime" + }, + { + "collapsed": false, + "gridData": { + "i": "b19e9e11-2172-44b0-8fb6-8cbafe3818c0", + "y": 3 + }, + "title": "PostgREST" + }, + { + "collapsed": false, + "gridData": { + "i": "e74831e6-278b-4a84-b635-e256829160ac", + "y": 4 + }, + "title": "Realtime" + }, + { + "collapsed": false, + "gridData": { + "i": "3062d907-8439-43ff-a50c-4cb3f81b4308", + "y": 5 + }, + "title": "Auth (GoTrue)" + } + ], + "timeFrom": "now-1h", + "timeRestore": true, + "timeTo": "now", + "title": "[Supabase OTel] Services \u0026 API" + }, + "coreMigrationVersion": "8.8.0", + "created_at": "2026-07-29T10:20:17.638Z", + "created_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0", + "id": "supabase_otel-c5ff5b39-42a4-442b-a944-a76e9dc7c1a8", + "references": [ + { + "id": "supabase_otel-1980c4f4-952c-47f2-977e-30e7d99ca7af", + "name": "b7287245-b387-45ee-9bbd-de0b62b0c674:link_9f2d946f-28fd-44ea-8ab1-ee537d1c059c_dashboard", + "type": "dashboard" + }, + { + "id": "supabase_otel-964608d0-93a3-474b-a8ce-528dbf458c3b", + "name": "b7287245-b387-45ee-9bbd-de0b62b0c674:link_65337ad4-26c5-49c0-8d0f-16e5683fd9b5_dashboard", + "type": "dashboard" + }, + { + "id": "supabase_otel-c5ff5b39-42a4-442b-a944-a76e9dc7c1a8", + "name": "b7287245-b387-45ee-9bbd-de0b62b0c674:link_af9b5b7b-8037-4e0d-9fd3-6e30ada59e27_dashboard", + "type": "dashboard" + }, + { + "id": "metrics-supabase.metrics.otel-*-446c7664adeacbec729fa3311e520a37f74c2ee9d2a39aef46e61efc1574d4cc", + "name": "c0fae58f-7ba7-4846-9b7b-8112548ac099:optionsListDataView", + "type": "index-pattern" + } + ], + "type": "dashboard", + "typeMigrationVersion": "10.3.0", + "updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0" +} \ No newline at end of file diff --git a/packages/supabase_otel/manifest.yml b/packages/supabase_otel/manifest.yml new file mode 100644 index 00000000000..ca36d27ed9e --- /dev/null +++ b/packages/supabase_otel/manifest.yml @@ -0,0 +1,45 @@ +format_version: "3.6.2" +name: supabase_otel +title: "Supabase OpenTelemetry Assets" +version: 0.1.0 +description: >- + Visualizing Supabase metrics collected via the OTel Prometheus receiver. Covers infrastructure, PostgreSQL, Supavisor, and application service metrics. +type: content +categories: + - observability + - monitoring + - cloud + - opentelemetry +conditions: + kibana: + version: "^9.4.0" + elastic: + subscription: basic +screenshots: + - src: /img/node_infrastructure_1.png + title: Node & Infrastructure + size: 600x600 + type: image/png + - src: /img/node_infra_2.png + title: Node & Infrastructure - Disk I/O & Filesystem + size: 600x600 + type: image/png + - src: /img/databases_postgresql.png + title: Databases & PostgreSQL + size: 600x600 + type: image/png + - src: /img/services_api.png + title: Services & API + size: 600x600 + type: image/png +icons: + - src: /img/supabase-logo.svg + title: Supabase logo + size: 256x256 + type: image/svg+xml +discovery: + datasets: + - name: supabase.metrics.otel +owner: + type: elastic + github: elastic/obs-infraobs-integrations