import{r as c,aX as u,cH as l,j as t,a_ as r,K as d,aY as p}from"./index-d6499a22.js";import{u as j}from"./useCurrentProject-b23444be.js";import{G as f}from"./GrafanaDashboard-d51b4440.js";import"./useProject-0d0fdeb3.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})})},_=c.memo(x);export{_ as default};
