The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Auto-update documentation for master (#69396)
github-automation-metabased4229d9cd8c0
diff --git a/docs/api.json b/docs/api.jsonindex 1f56f78fb22..97fd85ad163 100644--- a/docs/api.json+++ b/docs/api.json@@ -5600,60 +5600,42 @@"required" : [ "type", "name" ],"additionalProperties" : false},- "metabase-enterprise.workspaces.types.appdb-id" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- },- "metabase-enterprise.workspaces.types.dry-run-result" : {- "description" : "Result of a transform dry-run (preview without persisting).\n Data is nested under :data to match /api/dataset response format.",+ "metabase-enterprise.workspaces.types.ancestors-result" : {+ "description" : "Result of running stale ancestor transforms.","type" : "object","properties" : {- "data" : {- "type" : "object",- "properties" : {- "cols" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : { }- }- },- "results_metadata" : {- "type" : "object",- "properties" : {- "columns" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : { }- }- }- }- },- "rows" : {- "type" : "array",- "items" : { }- }+ "failed" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"}},- "message" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]+ "not_run" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }},- "status" : {- "type" : "string",- "enum" : [ "succeeded", "failed" ]+ "succeeded" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }}},- "required" : [ "status" ]+ "required" : [ "succeeded", "failed", "not_run" ]+ },+ "metabase-enterprise.workspaces.types.appdb-id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1},"metabase-enterprise.workspaces.types.execution-result" : {"type" : "object","properties" : {+ "ancestors" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ancestors-result"+ },"end_time" : {"oneOf" : [ { }, {"type" : "null"@@ -5694,6 +5676,14 @@},"required" : [ "status", "table" ]},+ "metabase-enterprise.workspaces.types.flag" : {+ "description" : "Boolean flag that accepts true, false, or 1 (for query param compatibility).",+ "anyOf" : [ {+ "const" : 1+ }, {+ "type" : "boolean"+ } ]+ },"metabase-enterprise.workspaces.types.problem" : {"description" : "A problem detected during workspace validation.","type" : "object",@@ -5725,6 +5715,67 @@"type" : "string","enum" : [ "target-conflict", "not-run", "stale", "cycle", "failed", "removed-table", "removed-field" ]},+ "metabase-enterprise.workspaces.types.query-result" : {+ "description" : "Result of a query preview (dry-run or ad-hoc query).\n Data is nested under :data to match /api/dataset response format.",+ "type" : "object",+ "properties" : {+ "ancestors" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ancestors-result"+ },+ "data" : {+ "type" : "object",+ "properties" : {+ "cols" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : { }+ }+ },+ "results_metadata" : {+ "type" : "object",+ "properties" : {+ "columns" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : { }+ }+ }+ }+ },+ "rows" : {+ "type" : "array",+ "items" : { }+ }+ }+ },+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "running_time" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "started_at" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "status" : {+ "type" : "string",+ "enum" : [ "succeeded", "failed" ]+ }+ },+ "required" : [ "status" ]+ },"metabase-enterprise.workspaces.types.ref-id" : {"type" : "string","minLength" : 1@@ -14000,7 +14051,7 @@"$ref" : "#/components/schemas/metabase.transforms.schema.table-incremental-target"} ]},- "metabase.users-rest.api.user-group-membership" : {+ "metabase.users.schema.user-group-membership" : {"description" : "Group Membership info of a User.\n In which :is_group_manager is only included if `advanced-permissions` is enabled.","type" : "object","properties" : {@@ -27715,8 +27766,7 @@} ]},"id" : {- "type" : "integer",- "minimum" : 1+ "type" : "integer"},"name" : {"oneOf" : [ {@@ -29886,6 +29936,9 @@"schema" : {"type" : "object","properties" : {+ "api_key" : {+ "type" : "string"+ },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -30182,6 +30235,9 @@"schema" : {"type" : "object","properties" : {+ "api_key" : {+ "type" : "string"+ },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -30241,6 +30297,9 @@"schema" : {"type" : "object","properties" : {+ "api_key" : {+ "type" : "string"+ },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -30360,6 +30419,9 @@"schema" : {"type" : "object","properties" : {+ "api_key" : {+ "type" : "string"+ },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -30765,6 +30827,55 @@"tags" : [ "/api/ee/workspace" ]}},+ "/api/ee/workspace/{ws-id}/query" : {+ "post" : {+ "summary" : "POST /api/ee/workspace/{ws-id}/query",+ "description" : "Execute an arbitrary SQL query in the workspace's isolated database context.\n Table references are remapped to isolated workspace tables.\n Returns the first 2000 rows of query results.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.query-result"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "sql" : {+ "type" : "string",+ "minLength" : 1+ }+ },+ "required" : [ "sql" ]+ }+ }+ }+ },+ "tags" : [ "/api/ee/workspace" ]+ }+ },"/api/ee/workspace/{ws-id}/run" : {"post" : {"summary" : "POST /api/ee/workspace/{ws-id}/run",@@ -30823,11 +30934,7 @@"type" : "object","properties" : {"stale_only" : {- "anyOf" : [ {- "const" : 1- }, {- "type" : "boolean"- } ]+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.flag"}}}@@ -31280,7 +31387,7 @@},"put" : {"summary" : "PUT /api/ee/workspace/{ws-id}/transform/{tx-id}",- "description" : "Update a transform in a workspace.",+ "description" : "Update or create a transform in a workspace.\n If the transform exists, updates it. If it doesn't exist, creates a new transform with the provided ref_id.\n For creation, name, source, and target are required.","parameters" : [ {"in" : "path","name" : "ws-id",@@ -31491,7 +31598,7 @@"/api/ee/workspace/{ws-id}/transform/{tx-id}/dry-run" : {"post" : {"summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/dry-run",- "description" : "Dry-run a transform in a workspace without persisting to the target table.\n\n Returns the first 2000 rows of transform output for preview purposes.\n Does not update last_run_at or create any database tables.",+ "description" : "Dry-run a transform in a workspace without persisting to the target table.\n\n Returns the first 2000 rows of transform output for preview purposes.\n Does not update last_run_at or create any database tables.\n\n When run_stale_ancestors is true, any stale ancestor transforms will be executed first\n in dependency order (these ARE persisted). If any ancestor fails, execution stops and\n the dry-run will not proceed.","parameters" : [ {"in" : "path","name" : "ws-id",@@ -31513,7 +31620,7 @@"content" : {"application/json" : {"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.dry-run-result"+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.query-result"}}}@@ -31525,6 +31632,20 @@"description" : "Server error response"}},+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "run_stale_ancestors" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.flag"+ }+ }+ }+ }+ }+ },"tags" : [ "/api/ee/workspace" ]}},@@ -31606,7 +31727,7 @@"/api/ee/workspace/{ws-id}/transform/{tx-id}/run" : {"post" : {"summary" : "POST /api/ee/workspace/{ws-id}/transform/{tx-id}/run",- "description" : "Run a transform in a workspace.\n\n App DB changes are rolled back. Warehouse DB changes persist.",+ "description" : "Run a transform in a workspace.\n\n App DB changes are rolled back. Warehouse DB changes persist.\n\n When run_stale_ancestors is true, any stale ancestor transforms will be executed first\n in dependency order. If any ancestor fails, execution stops and remaining ancestors\n are marked as not_run. The target transform will not run if any ancestor failed.","parameters" : [ {"in" : "path","name" : "ws-id",@@ -31640,6 +31761,20 @@"description" : "Server error response"}},+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "run_stale_ancestors" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.flag"+ }+ }+ }+ }+ }+ },"tags" : [ "/api/ee/workspace" ]}},@@ -31705,6 +31840,9 @@"schema" : {"type" : "object","properties" : {+ "api_key" : {+ "type" : "string"+ },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -45468,8 +45606,7 @@"source" : {"default" : "admin","oneOf" : [ {- "type" : "string",- "minLength" : 1+ "type" : "string"}, {"type" : "null"} ]@@ -45487,7 +45624,7 @@"oneOf" : [ {"type" : "array","items" : {- "$ref" : "#/components/schemas/metabase.users-rest.api.user-group-membership"+ "$ref" : "#/components/schemas/metabase.users.schema.user-group-membership"}}, {"type" : "null"@@ -45609,7 +45746,7 @@"oneOf" : [ {"type" : "array","items" : {- "$ref" : "#/components/schemas/metabase.users-rest.api.user-group-membership"+ "$ref" : "#/components/schemas/metabase.users.schema.user-group-membership"}}, {"type" : "null"diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.mdindex c8903a80431..ff4b2342d13 100644--- a/docs/configuring-metabase/config-template.md+++ b/docs/configuring-metabase/config-template.md@@ -287,6 +287,7 @@ config:surveys-enabled: truesync-leaf-fields-limit: 1000synchronous-batch-updates: false+ thread-interrupt-escalation-timeout-ms: 0transforms-enabled: falseunaggregated-query-row-limit: nulluploads-settings: nulldiff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.mdindex d9a5f13d0ae..1862aad1c16 100644--- a/docs/configuring-metabase/environment-variables.md+++ b/docs/configuring-metabase/environment-variables.md@@ -1990,6 +1990,16 @@ Maximum number of leaf fields synced per collection of document database. CurrenProcess batches updates synchronously. If true, all `submit!` calls will be processed immediately. Default is false.+### `MB_THREAD_INTERRUPT_ESCALATION_TIMEOUT_MS`++- Type: integer+- Default: `0`++By default, this is 0 and the thread interrupt escalation does not run.++Timeout in milliseconds to wait after query cancellation before escalating to thread interruption.+ This is used to free up threads that are stuck waiting for a DB response after a query has been cancelled.+### `MB_TRANSFORMS_ENABLED`- Type: boolean@@ -2385,6 +2395,20 @@ Default: TrueWhether to include the Sample Database in your Metabase. To exclude the Sample Database, set `MB_LOAD_SAMPLE_CONTENT=false`.+### `MB_MONITOR_PERFORMANCE`++Type: string<br>+Default: `""`++When set, starts a Java Flight Recorder (JFR) recording at startup that can be analyzed with JDK Mission Control or other JFR tools.++- `"true"` generates a timestamped output file like `metabase-2026_01_15.jfr`+- Any other non-empty value is used as the output filename (`.jfr` extension is appended if missing)+- `""` or `"false"` disables monitoring (the default)++The performance recording stores only method signature calls and other code execution metrics.+It does not store any sensitive information such as environment variables, system properties, or other machine information.+### `MB_NO_SURVEYS`Type: boolean<br>