import{r as c,bC as u,av as l,j as e,L as r,e as p,m as d,bD as j}from"./index-dP1W1_bd.js";import{u as x}from"./useDownload-C3yCvYJa.js";import{G as f}from"./GrafanaDashboard-uDleUeMz.js";import"./useProject-CXVt1xnE.js";import"./length-BzpOfCdE.js";const h=()=>{var a;u(j.projectMetrics);const{project:t,isLoading:s}=x(),{data:{username:o}={}}=l(),i="grafana/d-solo/user_statement_summaries/database-user-statement-summaries",m=[{name:"user",value:(a=t==null?void 0:t.projectName)==null?void 0:a.concat(`_${o}`)},{name:"statement",value:"select"}],n=[{title:"User statement summaries",width:"70%",height:"350px",linkParams:{urlPath:i,variables:m,panelId:2}}];return s?e.jsx(r,{}):s||!t?e.jsx(r,{}):e.jsx(p,{children:e.jsx(d,{title:"Online feature store metrics",height:"auto",mb:"40px",children:e.jsx(f,{panels:n})})})},G=c.memo(h);export{G as default};
