import{r as i,aX as o,j as e,K as l,a as r,c,aT as t,aY as d,di as x,dj as g}from"./index-d6499a22.js";const p=()=>{o(d.monitoring);const[n,a]=i.useState(void 0);return i.useEffect(()=>{n===void 0&&(async()=>{const s=await new x().request({url:"/elastic/jwt/services",type:g.get});a(s.data.kibanaUrl)})()},[n]),e.jsxs(l,{title:"Monitoring",children:[e.jsx(r,{flexDirection:"row",children:e.jsx(c,{bold:!0,children:"Access to monitoring applications"})}),e.jsxs(r,{flexDirection:"row",mt:"20px",children:[e.jsx(t,{intent:"inline",href:"/hopsworks-api/grafana",target:"_blank",external:!0,children:"Grafana ↗"}),e.jsx(t,{intent:"inline",href:"/hopsworks-api/yarnui",target:"_blank",external:!0,children:"Yarn Admin ↗"}),e.jsx(t,{intent:"inline",href:"/hopsworks-api/hdfsui",target:"_blank",external:!0,children:"HopsFS Admin ↗"}),e.jsx(t,{intent:"inline",href:`${n}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(p);export{f as default};
