import{r as i,bb as o,j as e,Q as l,d as n,y as c,b6 as s,bc as d,cC as h,cD as p}from"./index-CK33qGU_.js";const g=()=>{o(d.monitoring);const[t,r]=i.useState(void 0);return i.useEffect(()=>{t===void 0&&(async()=>{const a=await new h().request({url:"/elastic/jwt/services",type:p.get});r(a.data.kibanaUrl)})()},[t]),e.jsxs(l,{title:"Monitoring",children:[e.jsx(n,{flexDirection:"row",children:e.jsx(c,{bold:!0,children:"Access to monitoring applications"})}),e.jsxs(n,{flexDirection:"row",mt:"20px",children:[e.jsx(s,{intent:"inline",href:"https://localhost:8181/hopsworks-api/grafana",target:"_blank",external:!0,children:"Grafana ↗"}),e.jsx(s,{intent:"inline",href:"https://localhost:8181/hopsworks-api/hdfsui",target:"_blank",external:!0,children:"HopsFS Admin ↗"}),e.jsx(s,{intent:"inline",href:`https://localhost:8181${t}security_tenant=private#/?_g=()&_a=(columns:!(service,host,logdate,logger_name,priority,log_message),index:'.services-*',interval:auto,sort:!(logdate,desc))`,target:"_blank",external:!0,children:"Service Logs ↗"})]})]})},f=i.memo(g);export{f as default};
