import{Hy as e,Pg as t,Zh as n,ci as r,dv as i,fv as a,h_ as o,in as s,m_ as c,pv as l,rn as u,ty as d}from"./index-DDwwBb9e.js";import{t as f}from"./WithPermissionGuard-wX0IC3VF.js";import{t as p}from"./GraphsLayout-BFwwNvoA.js";var m=e(),h={graphId:`threadsPerTopic`,graphType:`stacked_bar`,series:[{name:`Threads count`,colorSet:`colors`,metric:`metadata.thread_id`,aggregation:`cardinality`}],groupBy:`topics.topics`,includePrevious:!1,timeScale:1440,height:300},g={graphId:`mostDiscussedTopics`,graphType:`horizontal_bar`,series:[{name:`Traces count`,colorSet:`colors`,metric:`metadata.trace_id`,aggregation:`cardinality`}],groupBy:`topics.topics`,includePrevious:!1,timeScale:`full`,height:300};function _(){return(0,m.jsx)(p,{title:`Topics`,children:(0,m.jsxs)(c,{alignItems:`start`,width:`full`,gap:6,children:[(0,m.jsxs)(t,{templateColumns:`repeat(4, 1fr)`,gap:5,width:`100%`,children:[(0,m.jsx)(o,{colSpan:1,display:`inline-grid`,children:(0,m.jsxs)(l,{height:`100%`,children:[(0,m.jsx)(a,{children:(0,m.jsx)(d,{size:`sm`,children:`Top Topics`})}),(0,m.jsx)(i,{maxHeight:`340px`,overflowY:`auto`,children:(0,m.jsx)(s,{showTitle:!1})})]})}),(0,m.jsx)(o,{colSpan:3,display:`inline-grid`,children:(0,m.jsxs)(l,{children:[(0,m.jsx)(a,{children:(0,m.jsxs)(c,{gap:2,children:[(0,m.jsx)(n,{color:`orange`}),(0,m.jsx)(d,{size:`sm`,children:`Threads Per Topic`})]})}),(0,m.jsx)(i,{children:(0,m.jsx)(r,{input:h})})]})}),(0,m.jsx)(o,{colSpan:2,display:`inline-grid`,children:(0,m.jsxs)(l,{children:[(0,m.jsx)(a,{children:(0,m.jsxs)(c,{gap:2,children:[(0,m.jsx)(n,{color:`orange`}),(0,m.jsx)(d,{size:`sm`,children:`Most Discussed Topics`})]})}),(0,m.jsx)(i,{children:(0,m.jsx)(r,{input:g})})]})})]}),(0,m.jsx)(u,{hideTopics:!0})]})})}var v=f(`analytics:view`)(_);export{v as default};
//# sourceMappingURL=topics-CnaKGj2L.js.map