diff --git a/app/vlselect/logsql/logsql.go b/app/vlselect/logsql/logsql.go index c2c4e8472..b8b8ddb34 100644 --- a/app/vlselect/logsql/logsql.go +++ b/app/vlselect/logsql/logsql.go @@ -326,8 +326,8 @@ func ProcessQueryRequest(ctx context.Context, w http.ResponseWriter, r *http.Req } q.AddPipeLimit(uint64(limit)) - q.Optimize() } + q.Optimize() writeBlock := func(_ uint, timestamps []int64, columns []logstorage.BlockColumn) { if len(columns) == 0 || len(columns[0].Values) == 0 { diff --git a/app/vlselect/vmui/asset-manifest.json b/app/vlselect/vmui/asset-manifest.json index 6433aa0e7..5707acfe8 100644 --- a/app/vlselect/vmui/asset-manifest.json +++ b/app/vlselect/vmui/asset-manifest.json @@ -1,13 +1,13 @@ { "files": { - "main.css": "./static/css/main.7e9644cd.css", - "main.js": "./static/js/main.bfdd2931.js", + "main.css": "./static/css/main.2fa7c03f.css", + "main.js": "./static/js/main.68f1bd69.js", "static/js/685.bebe1265.chunk.js": "./static/js/685.bebe1265.chunk.js", "static/media/MetricsQL.md": "./static/media/MetricsQL.cb83d071da309a358bc0.md", "index.html": "./index.html" }, "entrypoints": [ - "static/css/main.7e9644cd.css", - "static/js/main.bfdd2931.js" + "static/css/main.2fa7c03f.css", + "static/js/main.68f1bd69.js" ] } \ No newline at end of file diff --git a/app/vlselect/vmui/index.html b/app/vlselect/vmui/index.html index 452f1f0c8..7493dfb0d 100644 --- a/app/vlselect/vmui/index.html +++ b/app/vlselect/vmui/index.html @@ -1 +1 @@ -
'+(n?e:Jr(e,!0))+"
\n":""+(n?e:Jr(e,!0))+"
\n"}blockquote(e){return"\n".concat(e,"\n")}html(e,t){return e}heading(e,t,n){return"
".concat(e,"
\n")}table(e,t){return t&&(t="".concat(t,"")),"".concat(e,"
")}br(){return"An error occurred:
"+Jr(n.message+"",!0)+"";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}const eo=new class{constructor(){Ir(this,Ga),Ir(this,Qa),Hr(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),Hr(this,"options",this.setOptions),Hr(this,"parse",jr(this,Qa,Ja).call(this,Wa.lex,Za.parse)),Hr(this,"parseInline",jr(this,Qa,Ja).call(this,Wa.lexInline,Za.parseInline)),Hr(this,"Parser",Za),Hr(this,"Renderer",qa),Hr(this,"TextRenderer",Ya),Hr(this,"Lexer",Wa),Hr(this,"Tokenizer",sa),Hr(this,"Hooks",Ka),this.use(...arguments)}walkTokens(e,t){let n=[];for(const a of e)switch(n=n.concat(t.call(this,a)),a.type){case"table":{const e=a;for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=a;n=n.concat(this.walkTokens(e.items,t));break}default:{var r;const e=a;null!==(r=this.defaults.extensions)&&void 0!==r&&null!==(r=r.childTokens)&&void 0!==r&&r[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{const a=e[r].flat(1/0);n=n.concat(this.walkTokens(a,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){const e=this.defaults.extensions||{renderers:{},childTokens:{}};for(var t=arguments.length,n=new Array(t),r=0;r
'+(n?e:po(e,!0))+"
\n":""+(n?e:po(e,!0))+"
\n"}blockquote(e){return"\n".concat(e,"\n")}html(e,t){return e}heading(e,t,n,r){if(this.options.headerIds){const o=this.options.headerPrefix+r.slug(n);return"
".concat(e,"
\n")}table(e,t){return t&&(t="".concat(t,"")),"".concat(e,"
")}br(){return this.options.xhtml?"An error occurred:
"+po(r.message+"",!0)+"";return t?Promise.resolve(e):n?void n(null,e):e}if(t)return Promise.reject(r);if(!n)throw r;n(r)}}const Bo=new class{constructor(){Jr(this,Vo),Jr(this,jo),no(this,"defaults",{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}),no(this,"options",this.setOptions),no(this,"parse",Xr(this,jo,Ho).call(this,Lo.lex,$o.parse)),no(this,"parseInline",Xr(this,jo,Ho).call(this,Lo.lexInline,$o.parseInline)),no(this,"Parser",$o),no(this,"parser",$o.parse),no(this,"Renderer",zo),no(this,"TextRenderer",Do),no(this,"Lexer",Lo),no(this,"lexer",Lo.lex),no(this,"Tokenizer",To),no(this,"Slugger",Io),no(this,"Hooks",Fo),this.use(...arguments)}walkTokens(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":for(const e of r.header)n=n.concat(this.walkTokens(e.tokens,t));for(const e of r.rows)for(const r of e)n=n.concat(this.walkTokens(r.tokens,t));break;case"list":n=n.concat(this.walkTokens(r.items,t));break;default:this.defaults.extensions&&this.defaults.extensions.childTokens&&this.defaults.extensions.childTokens[r.type]?this.defaults.extensions.childTokens[r.type].forEach((e=>{n=n.concat(this.walkTokens(r[e],t))})):r.tokens&&(n=n.concat(this.walkTokens(r.tokens,t)))}return n}use(){const e=this.defaults.extensions||{renderers:{},childTokens:{}};for(var t=arguments.length,n=new Array(t),r=0;r