import{r as c,aY as u,cK as l,j as t,a$ as r,E as d,aZ as p}from"./index-ea7817a2.js";import{u as j}from"./useCurrentProject-0132f110.js";import{G as f}from"./GrafanaDashboard-28e0dd4b.js";import"./useProject-77619fff.js";const x=()=>{var a;u(p.projectMetrics);const{project:e,isLoading:s}=j(),{data:{username:o}={}}=l(),i="grafana/d-solo/user_statement_summaries/database-user-statement-summaries",n=[{name:"user",value:(a=e==null?void 0:e.projectName)==null?void 0:a.concat(`_${o}`)},{name:"statement",value:"select"}],m=[{title:"User statement summaries",width:"70%",height:"350px",linkParams:{urlPath:i,variables:n,panelId:2}}];return s?t.jsx(r,{}):s||!e?t.jsx(r,{}):t.jsx(d,{title:"Online feature store database operations metrics",height:"auto",children:t.jsx(f,{panels:m})})},E=c.memo(x);export{E as default};
