From c106a85b7d19fa0e3df9f438a156804b77a2c46e Mon Sep 17 00:00:00 2001 From: Broknloop Date: Mon, 11 Dec 2023 19:36:05 +0100 Subject: [PATCH 1/2] fix(fix-tracing): Fix tracing for Vespa 7 --- src/main/js/routes/schema/query.js | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/main/js/routes/schema/query.js b/src/main/js/routes/schema/query.js index 7767dc8..7547d1b 100644 --- a/src/main/js/routes/schema/query.js +++ b/src/main/js/routes/schema/query.js @@ -29,8 +29,8 @@ function Query({containerUrl, schema}) { if ("trace" in parsed) { return // don't overwrite if it's already there } + parsed["tracelevel"] = 5 parsed["trace"] = { - "level": 5, "explainLevel": 1, "timestamps": true } @@ -56,29 +56,29 @@ function Query({containerUrl, schema}) { handleFormatQuery={prettifyJsonQuery}/>
- + className="btn bg-standout-blue text-yellow-400 w-13 text-center border-none outline-none mr-1" + data-tooltip-id="vispana-tooltip" + data-tooltip-content="Query reference" + data-tooltip-place="top" + target="_blank" + href={"https://docs.vespa.ai/en/reference/query-api-reference.html"}> +
-
+