Submit
Path:
~
/
/
usr
/
share
/
grafana
/
public
/
build
/
File Content:
4254.c5f4a5512b252e3a5796.js
"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[4254],{6191:(Ae,q,i)=>{i.d(q,{X:()=>X});var U=i(32196),t=i(96540),K=i(40845);const X=({children:L})=>{const O=(0,K.of)(le);return t.createElement("div",{className:O.root},L)},le=L=>({root:(0,U.css)({display:"flex",flexWrap:"wrap",alignItems:"center",gap:L.spacing(3),minHeight:L.spacing(4)})})},31347:(Ae,q,i)=>{i.d(q,{Z:()=>t});var U=i(96540);const t=({grow:K,shrink:X})=>U.createElement("div",{style:{display:"block",flexGrow:K,flexShrink:X}})},94254:(Ae,q,i)=>{i.r(q),i.d(q,{plugin:()=>Sn});var U=i(40187),t=i(96540);const K=[{title:"Request Rate",expression:"rate(http_request_total[5m])",label:"Given an HTTP request counter, this query calculates the per-second average request rate over the last 5 minutes."},{title:"95th Percentile of Request Latencies",expression:"histogram_quantile(0.95, sum(rate(prometheus_http_request_duration_seconds_bucket[5m])) by (le))",label:"Calculates the 95th percentile of HTTP request rate over 5 minute windows."},{title:"Alerts Firing",expression:'sort_desc(sum(sum_over_time(ALERTS{alertstate="firing"}[24h])) by (alertname))',label:"Sums up the alerts that have been firing over the last 24 hours."},{title:"Step",label:"Defines the graph resolution using a duration format (15s, 1m, 3h, ...). Small steps create high-resolution graphs but can be slow over larger time ranges. Using a longer step lowers the resolution and smooths the graph by producing fewer datapoints. If no step is given the resolution is calculated automatically."}],le=e=>t.createElement("div",null,t.createElement("h2",null,"PromQL Cheat Sheet"),K.map((a,n)=>t.createElement("div",{className:"cheat-sheet-item",key:n},t.createElement("div",{className:"cheat-sheet-item__title"},a.title),a.expression?t.createElement("button",{type:"button",className:"cheat-sheet-item__example",onClick:s=>e.onClickExample({refId:"A",expr:a.expression})},t.createElement("code",null,a.expression)):null,t.createElement("div",{className:"cheat-sheet-item__label"},a.label))));var L=i(41987),O=i(2543),Fe=i(39070),A=i(13544),ft=i(6191),_=i(31347),Be=i(71087),k=i(14110),ht=i(96374),C=i(55852),yt=i(68402),o=i(32196),$=i(40845),vt=i(37390),Oe=i(82762),Et=i(21969),F=i(47891),ce=i(10860),me=i(44339),ue=i(69470);const bt=e=>{const{pattern:a,onPatternSelect:n,hasNewQueryOption:s,hasPreviousQuery:r,selectedPatternName:m,setSelectedPatternName:u}=e,l=(0,$.of)(xt),c={grammar:ue.Ay,name:"promql"};return t.createElement(ce.Z,{className:l.card},t.createElement(ce.Z.Heading,null,a.name),t.createElement("div",{className:l.rawQueryContainer},t.createElement(me.Z,{"aria-label":`${a.name} raw query`,query:F.z.renderQuery({labels:[],operations:a.operations,binaryQueries:a.binaryQueries}),lang:c,className:l.rawQuery})),t.createElement(ce.Z.Actions,null,m!==a.name?t.createElement(C.$n,{size:"sm","aria-label":"use this query button",onClick:()=>{r?u(a.name):n(a)}},"Use this query"):t.createElement(t.Fragment,null,t.createElement("div",{className:l.spacing},`If you would like to use this query, ${s?"you can either apply this query pattern or create a new query":"this query pattern will be applied to your current query"}.`),t.createElement(C.$n,{size:"sm","aria-label":"back button",fill:"outline",onClick:()=>u(null)},"Back"),t.createElement(C.$n,{size:"sm","aria-label":"apply query starter button",onClick:()=>{n(a)}},"Apply query"),s&&t.createElement(C.$n,{size:"sm","aria-label":"create new query button",onClick:()=>{n(a,!0)}},"Create new query"))))},xt=e=>({card:(0,o.css)` width: 49.5%; display: flex; flex-direction: column; `,rawQueryContainer:(0,o.css)` flex-grow: 1; `,rawQuery:(0,o.css)` background-color: ${e.colors.background.primary}; padding: ${e.spacing(1)}; margin-top: ${e.spacing(1)}; `,spacing:(0,o.css)` margin-bottom: ${e.spacing(1)}; `});var R=i(65405),St=i(65820);const Ct=e=>{const{isOpen:a,onClose:n,onChange:s,onAddQuery:r,query:m,queries:u,app:l}=e,[c,f]=(0,t.useState)([]),[h,p]=(0,t.useState)(null),x=(0,$.of)(Pt),E=!!r,g=(0,t.useMemo)(()=>{const d=(0,R.u)(m.expr??""),b=d.query.operations.length>0,v=d.query.metric,P=d.query.labels.length>0,Q=d.query.binaryQueries?d.query.binaryQueries.length>0:!1;return b||v||P||Q},[m.expr]),y=(d,b=!1)=>{const v=(0,R.u)(b?"":m.expr);(0,k.rR)("grafana_prom_kickstart_your_query_selected",{app:l??"",editorMode:m.editorMode,selectedPattern:d.name,preSelectedOperationsCount:v.query.operations.length,preSelectedLabelsCount:v.query.labels.length,createNewQuery:E&&b}),v.query.operations=d.operations,v.query.binaryQueries=d.binaryQueries,E&&b?r({...m,refId:(0,Et.W3)(u??[m]),expr:F.z.renderQuery(v.query)}):s({...m,expr:F.z.renderQuery(v.query)}),p(null),n()};return t.createElement(vt.a,{"aria-label":"Kick start your query modal",isOpen:a,title:"Kick start your query",onDismiss:n},t.createElement("div",{className:x.spacing},"Kick start your query by selecting one of these queries. You can then continue to complete your query."),Object.values(St.n5).map(d=>t.createElement(Oe.S,{"aria-label":`open and close ${d} query starter card`,key:d,label:`${(0,O.capitalize)(d)} query starters`,isOpen:c.includes(d),collapsible:!0,onToggle:()=>f(b=>b.includes(d)?b.filter(v=>v!==d):[...b,d])},t.createElement("div",{className:x.cardsContainer},F.z.getQueryPatterns().filter(b=>b.type===d).map(b=>t.createElement(bt,{key:b.name,pattern:b,hasNewQueryOption:E,hasPreviousQuery:g,onPatternSelect:y,selectedPatternName:h,setSelectedPatternName:p}))))),t.createElement(C.$n,{"aria-label":"close kick start your query modal",variant:"secondary",onClick:n},"Close"))},Pt=e=>({cardsContainer:(0,o.css)` display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; `,spacing:(0,o.css)` margin-bottom: ${e.spacing(1)}; `});var z=i(33390);const Tt="PrometheusQueryEditorExplainDefault";function Nt(e,a=!1){const n=z.A.get(e);return n===void 0?a:!!parseInt(n,10)}function Qt(e,a){z.A.set(e,a?"1":"0")}function wt(e,a=!1){const[n,s]=(0,t.useState)(Nt(e,a)),r=(0,t.useCallback)(m=>{Qt(e,m),s(m)},[e]);return{flag:n,setFlag:r}}var de=i(94354),B=i(35146);const $t=[{label:"Builder",value:B.f.Builder},{label:"Code",value:B.f.Code}];function It({mode:e,onChange:a}){return t.createElement("div",{"data-testid":"QueryEditorModeToggle"},t.createElement(de.z,{options:$t,size:"sm",value:e,onChange:a}))}var D=i(67061),Mt=i(15292);function Lt({label:e,...a}){const n=e.replace(" ","-"),s=(0,t.useRef)((0,O.uniqueId)(`switch-${n}`)),r=(0,$.of)(kt);return t.createElement(D.B,{gap:1},t.createElement("label",{htmlFor:s.current,className:r.switchLabel},e),t.createElement(Mt.d,{...a,id:s.current}))}const kt=e=>({switchLabel:(0,o.css)({color:e.colors.text.secondary,cursor:"pointer",fontSize:e.typography.bodySmall.fontSize,"&:hover":{color:e.colors.text.primary}})});var I=i(69120);const Re="PrometheusQueryEditorModeDefault";function ze(e,a,n){e.expr===""&&z.A.set(Re,a),n({...e,editorMode:a})}function At(e,a=B.f.Builder){if(e!=null&&e!=="")return B.f.Code;const n=z.A.get(Re);switch(n){case B.f.Builder:case B.f.Code:return n;default:return a}}function Ft(e,a,n){let s=e;e.editorMode||(s={...e,editorMode:At(e.expr,n)}),e.expr||(s={...s,expr:"",legendFormat:I.m_.Auto}),e.range==null&&e.instant==null&&(s={...s,range:!0},a===L.Jk.Explore&&(s.instant=!0));const r=e.instant&&e.range;return a===L.Jk.UnifiedAlerting&&r&&(s={...s,instant:!1,range:!0}),s}var De=i(30038),pe=i(32264),ge=i(9e4),Bt=i(87978),Ot=i(30683),fe=i(75494),Rt=i(1604),he=i(84596),zt=i(3988),G=i(56034),We=i(14578),Dt=i(14186),Wt=i(11216),Ht=i(54623),ee=i(56823),W=i(88323),qt=i(95361),ye=i(18491),te=i(36376),Gt=i(36663),Vt=i(17464);const He=t.memo(({def:e,operation:a})=>{const n=(0,$.of)(Ut),[s,r]=(0,t.useState)(!1),m=[(0,qt.cY)(16),(0,ye.UU)({fallbackAxisSideDirection:"end",crossAxis:!1,boundary:document.body}),(0,ye.BN)()],{context:u,refs:l,floatingStyles:c}=(0,te.we)({open:s,placement:"top",onOpenChange:r,middleware:m,whileElementsMounted:ye.ll}),f=(0,te.kp)(u),h=(0,te.s9)(u),{getReferenceProps:p,getFloatingProps:x}=(0,te.bv)([h,f]);return t.createElement(t.Fragment,null,t.createElement(C.$n,{title:"Click to show description",ref:l.setReference,icon:"info-circle",size:"sm",variant:"secondary",fill:"text",...p()}),s&&t.createElement(Vt.ZL,null,t.createElement("div",{ref:l.setFloating,style:c,...x(),className:n.docBox},t.createElement("div",{className:n.docBoxHeader},t.createElement("span",null,e.renderer(a,e,"<expr>")),t.createElement(_.Z,{grow:1}),t.createElement(C.$n,{icon:"times",onClick:()=>r(!1),fill:"text",variant:"secondary",title:"Remove operation"})),t.createElement("div",{className:n.docBoxBody,dangerouslySetInnerHTML:{__html:Kt(e,a)}}))))});He.displayName="OperationDocs";const Ut=e=>({docBox:(0,o.css)({overflow:"hidden",background:e.colors.background.primary,border:`1px solid ${e.colors.border.strong}`,boxShadow:e.shadows.z3,maxWidth:"600px",padding:e.spacing(1),borderRadius:e.shape.radius.default,zIndex:e.zIndex.tooltip}),docBoxHeader:(0,o.css)({fontSize:e.typography.h5.fontSize,fontFamily:e.typography.fontFamilyMonospace,paddingBottom:e.spacing(1),display:"flex",alignItems:"center"}),docBoxBody:(0,o.css)({marginBottom:e.spacing(-1),color:e.colors.text.secondary})});function Kt(e,a){return(0,Gt.G)(e.explainHandler?e.explainHandler(a,e):e.documentation??"no docs")}const qe=t.memo(({operation:e,def:a,index:n,onChange:s,onRemove:r,queryModeller:m,dragHandleProps:u})=>{const l=(0,$.of)(jt),[c,f]=(0,t.useState)({}),h=()=>{if(c.isOpen)f({...c,isOpen:!1});else{const p=m.getAlternativeOperations(a.alternativesKey).map(x=>({label:x.name,value:x}));f({isOpen:!0,alternatives:p})}};return t.createElement("div",{className:l.header},!c.isOpen&&t.createElement(t.Fragment,null,t.createElement("div",{...u},a.name??a.id),t.createElement(_.Z,{grow:1}),t.createElement("div",{className:`${l.operationHeaderButtons} operation-header-show-on-hover`},t.createElement(C.$n,{icon:"angle-down",size:"sm",onClick:h,fill:"text",variant:"secondary",title:"Click to view alternative operations"}),t.createElement(He,{def:a,operation:e}),t.createElement(C.$n,{icon:"times",size:"sm",onClick:()=>r(n),fill:"text",variant:"secondary",title:"Remove operation"}))),c.isOpen&&t.createElement("div",{className:l.selectWrapper},t.createElement(W.l6,{autoFocus:!0,openMenuOnFocus:!0,placeholder:"Replace with",options:c.alternatives,isOpen:!0,onCloseMenu:h,onChange:p=>{if(p.value){const x=m.getOperationDef(p.value.id),E=[...x.defaultParams];for(let y=0;y<Math.min(e.params.length,E.length);y++)x.params[y].type===a.params[y].type&&(E[y]=e.params[y]);const g={...e,params:E,id:p.value.id};s(n,a.changeTypeHandler?a.changeTypeHandler(g,x):g)}}})))});qe.displayName="OperationHeader";const jt=e=>({header:(0,o.css)({borderBottom:`1px solid ${e.colors.border.medium}`,padding:e.spacing(.5,.5,.5,1),display:"flex",alignItems:"center"}),operationHeaderButtons:(0,o.css)({opacity:1}),selectWrapper:(0,o.css)({paddingRight:e.spacing(2)})});var Ge=i(50877),ae=i(51440),Ve=i(10880);function Yt(e){if(e.editor)return e.editor;if(e.options)return Xt;switch(e.type){case"boolean":return Jt;case"number":case"string":default:return Zt}}function Zt(e){return t.createElement(ae.D,{id:(0,ee.OS)(e.operationId,e.index),defaultValue:e.value?.toString(),minWidth:e.paramDef.minWidth,placeholder:e.paramDef.placeholder,title:e.paramDef.description,maxWidth:(e.paramDef.minWidth||20)*3,onCommitChange:a=>{e.onChange(e.index,a.currentTarget.value),e.paramDef.runQueryOnEnter&&a.type==="keydown"&&e.onRunQuery()}})}function Jt(e){return t.createElement(Ve.S,{id:(0,ee.OS)(e.operationId,e.index),value:!!e.value,onChange:a=>e.onChange(e.index,a.currentTarget.checked)})}function Xt({paramDef:e,value:a,index:n,operationId:s,onChange:r}){const m=(0,$.of)(_t);let u=e.options;u[0]?.label||(u=e.options.map(c=>({label:c.toString(),value:c})));let l=u.find(c=>c.value===a)??(0,Ge.z)(a);return!a&&e.optional?t.createElement("div",{className:m.optionalParam},t.createElement(C.$n,{size:"sm",variant:"secondary",title:`Add ${e.name}`,icon:"plus",onClick:()=>r(n,u[0].value)},e.name)):t.createElement(D.B,{gap:.5,direction:"row",alignItems:"center"},t.createElement(W.l6,{id:(0,ee.OS)(s,n),value:l,options:u,placeholder:e.placeholder,allowCustomValue:!0,onChange:c=>r(n,c.value),width:e.minWidth||"auto"}),e.optional&&t.createElement(C.$n,{"data-testid":`operations.${n}.remove-param`,size:"sm",fill:"text",icon:"times",variant:"secondary",title:`Remove ${e.name}`,onClick:()=>r(n,"")}))}const _t=e=>({optionalParam:(0,o.css)({marginTop:e.spacing(1)})});function ea({operation:e,index:a,onRemove:n,onChange:s,onRunQuery:r,queryModeller:m,query:u,datasource:l,flash:c,highlight:f,timeRange:h}){const p=m.getOperationDef(e.id),x=ta(c),E=(0,t.useId)(),g=e.id===Ht.EF.LabelFilter&&(0,Wt.hh)(e,u.operations),y=(0,$.$j)(),d=na(y,g);if(!p)return t.createElement("span",null,"Operation ",e.id," not found");const b=(T,N)=>{const w={...e,params:[...e.params]};w.params[T]=N,ve(p,w,a,T,s)},v=()=>{const T={...e,params:[...e.params,""]};ve(p,T,a,e.params.length,s)},P=T=>{const N={...e,params:[...e.params.slice(0,T),...e.params.slice(T+1)]};ve(p,N,a,T,s)},Q=[];for(let T=0;T<e.params.length;T++){const N=p.params[Math.min(p.params.length-1,T)],w=Yt(N);Q.push(t.createElement("div",{className:d.paramRow,key:`${T}-1`},!N.hideName&&t.createElement("div",{className:d.paramName},t.createElement("label",{htmlFor:(0,ee.OS)(E,T)},N.name),N.description&&t.createElement(G.m,{placement:"top",content:N.description,theme:"info"},t.createElement(We.I,{name:"info-circle",size:"sm",className:d.infoIcon}))),t.createElement("div",{className:d.paramValue},t.createElement(D.B,{gap:.5,direction:"row",alignItems:"center"},t.createElement(w,{index:T,paramDef:N,value:e.params[T],operation:e,operationId:E,onChange:b,onRunQuery:r,query:u,datasource:l,timeRange:h}),N.restParam&&(e.params.length>p.params.length||N.optional)&&t.createElement(C.$n,{"data-testid":`operations.${a}.remove-rest-param`,size:"sm",fill:"text",icon:"times",variant:"secondary",title:`Remove ${N.name}`,onClick:()=>P(T)})))))}let S;if(p.params.length>0){const T=p.params[p.params.length-1];T.restParam&&(S=aa(T,v,a,e.params.length,d))}const Z=T=>{if(!T)return g?!0:void 0};return t.createElement(fe.sx,{draggableId:`operation-${a}`,index:a},(T,N)=>t.createElement(Dt.I,{error:"You have conflicting label filters",invalid:Z(N.isDragging),className:(0,o.cx)(d.error,d.cardWrapper)},t.createElement("div",{className:(0,o.cx)(d.card,(x||f)&&d.cardHighlight,g&&d.cardError),ref:T.innerRef,...T.draggableProps,"data-testid":`operations.${a}.wrapper`},t.createElement(qe,{operation:e,dragHandleProps:T.dragHandleProps,def:p,index:a,onChange:s,onRemove:n,queryModeller:m}),t.createElement("div",{className:d.body},Q),S,a<u.operations.length-1&&t.createElement("div",{className:d.arrow},t.createElement("div",{className:d.arrowLine}),t.createElement("div",{className:d.arrowArrow})))))}function ta(e){const[a,n]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{let s;return e?s=setTimeout(()=>{n(!1)},1e3):n(!0),()=>clearTimeout(s)},[e]),a&&e}function aa(e,a,n,s,r){return t.createElement("div",{className:r.restParam,key:`${s}-2`},t.createElement(C.$n,{size:"sm",icon:"plus",title:`Add ${e.name}`.trimEnd(),variant:"secondary",onClick:a,"data-testid":`operations.${n}.add-rest-param`},e.name))}function ve(e,a,n,s,r){e.paramChangedHandler?r(n,e.paramChangedHandler(s,a,e)):r(n,a)}const na=(e,a)=>({cardWrapper:(0,o.css)({alignItems:"stretch"}),error:(0,o.css)({marginBottom:e.spacing(1)}),card:(0,o.css)({background:e.colors.background.primary,border:`1px solid ${e.colors.border.medium}`,cursor:"grab",borderRadius:e.shape.radius.default,position:"relative",transition:"all 0.5s ease-in 0s",height:a?"auto":"100%"}),cardError:(0,o.css)({boxShadow:`0px 0px 4px 0px ${e.colors.warning.main}`,border:`1px solid ${e.colors.warning.main}`}),cardHighlight:(0,o.css)({boxShadow:`0px 0px 4px 0px ${e.colors.primary.border}`,border:`1px solid ${e.colors.primary.border}`}),infoIcon:(0,o.css)({marginLeft:e.spacing(.5),color:e.colors.text.secondary,":hover":{color:e.colors.text.primary}}),body:(0,o.css)({margin:e.spacing(1,1,.5,1),display:"table"}),paramRow:(0,o.css)({label:"paramRow",display:"table-row",verticalAlign:"middle"}),paramName:(0,o.css)({display:"table-cell",padding:e.spacing(0,1,0,0),fontSize:e.typography.bodySmall.fontSize,fontWeight:e.typography.fontWeightMedium,verticalAlign:"middle",height:"32px"}),paramValue:(0,o.css)({label:"paramValue",display:"table-cell",verticalAlign:"middle"}),restParam:(0,o.css)({padding:e.spacing(0,1,1,1)}),arrow:(0,o.css)({position:"absolute",top:"0",right:"-18px",display:"flex"}),arrowLine:(0,o.css)({height:"2px",width:"8px",backgroundColor:e.colors.border.strong,position:"relative",top:"14px"}),arrowArrow:(0,o.css)({width:0,height:0,borderTop:"5px solid transparent",borderBottom:"5px solid transparent",borderLeft:`7px solid ${e.colors.border.strong}`,position:"relative",top:"10px"})});function ra({query:e,datasource:a,queryModeller:n,onChange:s,onRunQuery:r,highlightedOp:m,timeRange:u}){const l=(0,$.of)(ia),{operations:c}=e,f=sa(c),[h,p]=(0,t.useState)(!1),x=(v,P)=>{const Q=[...c];Q.splice(v,1,P),s({...e,operations:Q})},E=v=>{const P=[...c.slice(0,v),...c.slice(v+1)];s({...e,operations:P})},g=n.getCategories().map(v=>({value:v,label:v,items:n.getOperationsForCategory(v).map(P=>({value:P.id,label:P.name,isLeaf:!0}))})),y=v=>{const P=n.getOperationDef(v);P&&(s(P.addOperationHandler(P,e,n)),p(!1))},d=v=>{if(!v.destination)return;const P=[...c],Q=P[v.source.index];P.splice(v.source.index,1),P.splice(v.destination.index,0,Q),s({...e,operations:P})},b=()=>{p(!1)};return t.createElement(D.B,{gap:1,direction:"column"},t.createElement(D.B,{gap:1},c.length>0&&t.createElement(fe.JY,{onDragEnd:d},t.createElement(fe.gL,{droppableId:"sortable-field-mappings",direction:"horizontal"},v=>t.createElement("div",{className:l.operationList,ref:v.innerRef,...v.droppableProps},c.map((P,Q)=>t.createElement(ea,{key:P.id+JSON.stringify(P.params)+Q,queryModeller:n,index:Q,operation:P,query:e,datasource:a,onChange:x,onRemove:E,onRunQuery:r,flash:f[Q],highlight:m===P,timeRange:u})),v.placeholder))),t.createElement("div",{className:l.addButton},h?t.createElement(zt.v,{options:g,onSelect:y,onBlur:b,autoFocus:!0,alwaysOpen:!0,hideActiveLevelLabel:!0,placeholder:"Search"}):t.createElement(C.$n,{icon:"plus",variant:"secondary",onClick:()=>p(!0),title:"Add operation"},"Operations"))))}function sa(e){const a=(0,Rt.A)(),n=(0,he.A)(e);if(!a())return e.map(()=>!1);if(!n)return e.map(()=>!0);let s=[];if(n.length-1===e.length&&e.every(r=>n.includes(r)))return e.map(()=>!1);if(n.length+1===e.length&&n.every(r=>e.includes(r))){const r=e.find(m=>!n.includes(m));s=e.map(m=>m===r)}else s=e.map((r,m)=>!oa(r.id,n[m]?.id));return s}function oa(e,a){return e===a||`__${e}_by`===a||e===`__${a}_by`}const ia=e=>({heading:(0,o.css)({label:"heading",fontSize:12,fontWeight:e.typography.fontWeightMedium,marginBottom:0}),operationList:(0,o.css)({label:"operationList",display:"flex",flexWrap:"wrap",gap:e.spacing(2)}),addButton:(0,o.css)({label:"addButton",width:126,paddingBottom:e.spacing(1)})});var la=i(55698),ca=i(43854);const Ue=({datasource:e,query:a,onChange:n,data:s,queryModeller:r,buildVisualQueryFromString:m})=>{const[u,l]=(0,t.useState)([]),c=(0,$.of)(ma);return(0,t.useEffect)(()=>{const f={expr:r.renderQuery(a),refId:""},h=e.getQueryHints(f,s?.series||[]).filter(p=>p.fix?.action);l(h)},[e,a,s,r]),t.createElement(t.Fragment,null,u.length>0&&t.createElement("div",{className:c.container},u.map(f=>t.createElement(G.m,{content:`${f.label} ${f.fix?.label}`,key:f.type},t.createElement(C.$n,{onClick:()=>{if((0,k.rR)("grafana_query_builder_hints_clicked",{hint:f.type,datasourceType:e.type}),f?.fix?.action){const h={expr:r.renderQuery(a),refId:""},p=e.modifyQuery(h,f.fix.action),x=m(p.expr);return n(x.query)}},fill:"outline",size:"sm",className:c.hint},"hint: ",f.fix?.title||f.fix?.action?.type.toLowerCase().replace("_"," "))))))};Ue.displayName="QueryBuilderHints";const ma=e=>({container:(0,o.css)` display: flex; align-items: start; `,hint:(0,o.css)` margin-right: ${e.spacing(1)}; `});var ua=i(46777),Ke=i(29158),da=i(25378);const je=t.memo(e=>{const{nestedQuery:a,index:n,datasource:s,onChange:r,onRemove:m,onRunQuery:u,showExplain:l}=e,c=(0,$.of)(ga);return t.createElement("div",{className:c.card},t.createElement("div",{className:c.header},t.createElement("div",{className:c.name},"Operator"),t.createElement(W.l6,{width:"auto",options:pa,value:(0,Ge.z)(a.operator),onChange:f=>{r(n,{...a,operator:f.value})}}),t.createElement("div",{className:c.name},"Vector matches"),t.createElement("div",{className:c.vectorMatchWrapper},t.createElement(W.l6,{width:"auto",value:a.vectorMatchesType||"on",allowCustomValue:!0,options:[{value:"on",label:"on"},{value:"ignoring",label:"ignoring"}],onChange:f=>{r(n,{...a,vectorMatchesType:f.value})}}),t.createElement(ae.D,{className:c.vectorMatchInput,minWidth:20,defaultValue:a.vectorMatches,onCommitChange:f=>{r(n,{...a,vectorMatches:f.currentTarget.value,vectorMatchesType:a.vectorMatchesType||"on"})}})),t.createElement(_.Z,{grow:1}),t.createElement(Ke.K,{name:"times",size:"sm",onClick:()=>m(n),tooltip:"Remove match"})),t.createElement("div",{className:c.body},t.createElement(Be.D,null,t.createElement($e,{showExplain:l,query:a.query,datasource:s,onRunQuery:u,onChange:f=>{r(n,{...a,query:f})}}))))}),pa=da.C8.map(e=>({label:e.sign,value:e.sign}));je.displayName="NestedQuery";const ga=e=>({card:(0,o.css)({label:"card",display:"flex",flexDirection:"column",gap:e.spacing(.5)}),header:(0,o.css)({label:"header",padding:e.spacing(.5,.5,.5,1),gap:e.spacing(1),display:"flex",alignItems:"center"}),name:(0,o.css)({label:"name",whiteSpace:"nowrap"}),body:(0,o.css)({label:"body",paddingLeft:e.spacing(2)}),vectorMatchInput:(0,o.css)({label:"vectorMatchInput",marginLeft:-1}),vectorMatchWrapper:(0,o.css)({label:"vectorMatchWrapper",display:"flex"})});function fa(e){const{query:a,datasource:n,onChange:s,onRunQuery:r,showExplain:m}=e,u=a.binaryQueries??[],l=(f,h)=>{const p=[...u];p.splice(f,1,h),s({...a,binaryQueries:p})},c=f=>{const h=[...u.slice(0,f),...u.slice(f+1)];s({...a,binaryQueries:h})};return t.createElement(D.B,{direction:"column",gap:1},u.map((f,h)=>t.createElement(je,{key:h.toString(),nestedQuery:f,index:h,onChange:l,datasource:n,onRemove:c,onRunQuery:r,showExplain:m})))}var ha=i(52005),ya=i(42418),va=i(10354),Ee=i(62930),Ea=i(5173),ba=i(21744),Ye=i(60782);const xa=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],Sa=[{label:"Too vague",value:"too vague"},{label:"Too technical",value:"too technical"},{label:"Inaccurate",value:"inaccurate"},{label:"Other",value:"other"}];function Ca(e){const{querySuggestion:a,order:n,queryExplain:s,historical:r,onChange:m,closeDrawer:u,last:l,allSuggestions:c,prompt:f}=e,[h,p]=(0,t.useState)(!1),[x,E]=(0,t.useState)(!1),[g,y]=(0,t.useState)(!1),[d,b]=(0,t.useState)({radioInput:"",text:""}),[v,P]=(0,t.useState)({radioInput:"",text:""}),Q=(0,$.$j)(),S=ie(Q),{query:Z,explanation:T}=a,N=w=>{const Cn=J=>{w==="explanation"?P({...v,radioInput:J}):b({...d,radioInput:J})},Pn=J=>{w==="explanation"?P({...v,text:J.currentTarget.value}):b({...d,text:J.currentTarget.value})},Tn=()=>w==="explanation"?!v.radioInput:!d.radioInput,Nn=w==="explanation"?"Why was the explanation not helpful?":"Were the query suggestions helpful?";return t.createElement("div",{className:S.suggestionFeedback},t.createElement("div",null,t.createElement("div",{className:S.feedbackQuestion},t.createElement("h6",null,Nn),t.createElement("i",null,"(Required)")),t.createElement(Ea.a,{name:"default",options:w==="explanation"?Sa:xa,value:w==="explanation"?v.radioInput:d.radioInput,onChange:Cn})),t.createElement("div",{className:(0,o.cx)(w==="explanation"&&S.explationTextInput)},w!=="explanation"&&t.createElement("div",{className:S.feedbackQuestion},t.createElement("h6",null,"How can we improve the query suggestions?")),t.createElement(ba.f,{type:"text","aria-label":"Promqail suggestion text",placeholder:"Enter your feedback",value:w==="explanation"?v.text:d.text,onChange:Pn,cols:100})),t.createElement("div",{className:S.submitFeedback},t.createElement(C.$n,{variant:"primary",size:"sm",disabled:Tn(),onClick:()=>{w==="explanation"?(Ze(v.radioInput,v.text,a,r,f),E(!0)):(Pa(d.radioInput,d.text,c??"",r,f),y(!0))}},"Submit")))};return t.createElement(t.Fragment,null,t.createElement("div",{className:S.querySuggestion},t.createElement("div",{title:Z,className:(0,o.cx)(S.codeText,S.longCode)},`${n}. ${Z}`),t.createElement("div",{className:S.useButton},t.createElement(C.$n,{variant:"primary",size:"sm",onClick:()=>{(0,k.rR)("grafana_prometheus_promqail_use_query_button_clicked",{query:a.query});const w=(0,R.u)(a.query);m(w.query),u()}},"Use"))),t.createElement("div",null,t.createElement(C.$n,{fill:"text",variant:"secondary",icon:h?"angle-up":"angle-down",onClick:()=>{p(!h),s(n-1)},className:(0,o.cx)(S.bodySmall),size:"sm"},"Explainer"),!h&&n!==5&&t.createElement("div",{className:S.textPadding}),h&&!a.explanation&&t.createElement("div",{className:S.center},t.createElement(Ee.y,null)),h&&a.explanation&&t.createElement(t.Fragment,null,t.createElement("div",{className:(0,o.cx)(S.bodySmall,S.explainPadding)},t.createElement("div",{className:S.textPadding},"This query is trying to answer the question:"),t.createElement("div",{className:S.textPadding},T),t.createElement("div",{className:S.textPadding},"Learn more with this"," ",t.createElement("a",{className:S.doc,href:"https://prometheus.io/docs/prometheus/latest/querying/examples/#query-examples",target:"_blank",rel:"noopener noreferrer"},"Prometheus doc")),t.createElement("div",{className:(0,o.cx)(S.rightButtons,S.secondaryText)},"Was this explanation helpful?",t.createElement("div",{className:S.floatRight},x?"Thank you for your feedback!":t.createElement(t.Fragment,null,t.createElement(C.$n,{fill:"outline",variant:"secondary",size:"sm",className:S.leftButton,onClick:()=>{Ze("Yes","",a,r,f),E(!0)}},"Yes"),t.createElement(Ye.G,{"aria-label":"Suggestion feedback",content:N("explanation"),placement:"bottom-end",closeButton:!0},t.createElement(C.$n,{variant:"success",size:"sm"},"No")))))),!l&&t.createElement("hr",null)),l&&t.createElement("div",{className:(0,o.cx)(S.feedbackStyle)},g?t.createElement(C.$n,{fill:"outline",variant:"secondary",size:"sm",disabled:!0},"Thank you for your feedback!"):t.createElement(Ye.G,{"aria-label":"Suggestion feedback",content:N("suggestion"),placement:"bottom-end",closeButton:!0},t.createElement(C.$n,{fill:"outline",variant:"secondary",size:"sm"},"Give feedback on suggestions")))))}function Ze(e,a,n,s,r){const m="grafana_prometheus_promqail_explanation_feedback";(0,k.rR)(m,{helpful:e,textFeedback:a,suggestionType:s?"historical":"AI",query:n.query,explanation:n.explanation,prompt:r})}function Pa(e,a,n,s,r){const m="grafana_prometheus_promqail_suggestion_feedback";(0,k.rR)(m,{helpful:e,textFeedback:a,suggestionType:s?"historical":"AI",allSuggestions:n,prompt:r})}var M=(e=>(e.Historical="historical",e.AI="AI",e))(M||{});function Je(e){const{suggestionType:a,querySuggestions:n,closeDrawer:s,nextInteraction:r,queryExplain:m,onChange:u,prompt:l}=e,[c,f]=(0,t.useState)(!1),h=(0,$.$j)(),p=ie(h);let x,E,g;return a===M.Historical?(x=`Here are ${n.length} query suggestions:`,g="I want to write a prompt"):a===M.AI&&(x=x="Here is your query suggestion:",E="This query is based off of natural language descriptions of the most commonly used PromQL queries.",g="Refine prompt"),t.createElement(t.Fragment,null,a===M.Historical?t.createElement("div",{className:p.bottomMargin},x):t.createElement(t.Fragment,null,t.createElement("div",{className:p.textPadding},x),t.createElement("div",{className:(0,o.cx)(p.secondaryText,p.bottomMargin)},E)),t.createElement("div",{className:p.infoContainerWrapper},t.createElement("div",{className:p.infoContainer},n.map((y,d)=>t.createElement(Ca,{historical:a===M.Historical,querySuggestion:y,key:d,order:d+1,queryExplain:m,onChange:u,closeDrawer:s,last:d===n.length-1,allSuggestions:n.reduce((b,v)=>b+"$$"+v.query,""),prompt:l??""})))),!c&&t.createElement("div",{className:p.nextInteractionHeight},t.createElement("div",{className:(0,o.cx)(p.afterButtons,p.textPadding)},t.createElement(C.$n,{onClick:()=>{f(!0),r()},"data-testid":Y.refinePrompt,fill:"outline",variant:"secondary",size:"md"},g)),t.createElement("div",{className:(0,o.cx)(p.textPadding,p.floatRight)},t.createElement(C.$n,{fill:"outline",variant:"secondary",size:"md",onClick:s},"Cancel"))))}var Xe=i(96832),j=i(65418),be=i(17172),ne=i(34867),xe=i(20227);async function Ta(e){return(await(0,be.AI)().post("/api/plugins/grafana-llm-app/resources/vector/search",e,{headers:{"Content-Type":"application/json"}})).results}let Se=!1;const _e=async()=>{try{if(!(await(0,be.AI)().get(`${xe.oL}/settings`,void 0,void 0,{showSuccessAlert:!1,showErrorAlert:!1})).enabled)return{enabled:!1,ok:!1,error:"The Grafana LLM plugin is not enabled."}}catch(n){return(0,ne.MD)(String(n)),(0,ne.MD)("Failed to check if the vector service is enabled. This is expected if the Grafana LLM plugin is not installed, and the above error can be ignored."),Se=!0,{enabled:!1,ok:!1,error:"The Grafana LLM plugin is not installed."}}let e;try{e=await(0,be.AI)().get(`${xe.oL}/health`,void 0,void 0,{showSuccessAlert:!1,showErrorAlert:!1})}catch(n){return Se||((0,ne.MD)(String(n)),(0,ne.MD)("Failed to check if vector service is enabled. This is expected if the Grafana LLM plugin is not installed, and the above error can be ignored."),Se=!0),{enabled:!1,ok:!1,error:"The Grafana LLM plugin is not installed."}}const{details:a}=e;return a?.version!==void 0&&(0,xe.$q)(a.version),a?.vector===void 0?{enabled:!1,ok:!1,error:"The Grafana LLM plugin is outdated; please update it."}:typeof a.vector=="boolean"?{enabled:a.vector,ok:a.vector}:a.vector},Qn=async()=>{const e=await _e();return e.enabled&&e.ok};var Ce=i(32799);const Na=`You are an expert in Prometheus, the event monitoring and alerting application. You are given relevant PromQL documentation, a type and description for a Prometheus metric, and a PromQL query on that metric. Using the provided information for reference, please explain what the output of a given query is in 1 sentences. Do not walk through what the functions do separately, make your answer concise. Input will be in the form: PromQL Documentation: <PromQL documentation> PromQL Metrics Metadata: <metric_name>(<metric type of the metric queried>): <description of what the metric means> PromQL Expression: <PromQL query> Examples of input and output ---------- PromQL Documentation: A counter is a cumulative metric that represents a single monotonically increasing counter whose value can only increase or be reset to zero on restart. For example, you can use a counter to represent the number of requests served, tasks completed, or errors. topk (largest k elements by sample value) sum (calculate sum over dimensions) rate(v range-vector) calculates the per-second average rate of increase of the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for. PromQL Metrics Metadata: traces_exporter_sent_spans(counter): Number of spans successfully sent to destination. PromQL Expression: topk(3, sum by(cluster) (rate(traces_exporter_sent_spans{exporter="otlp"}[5m]))) This query is trying to answer the question: What is the top 3 clusters that have successfully sent the most number of spans to the destination? `;function Qa({documentation:e,metricName:a,metricType:n,metricMetadata:s,query:r}){return e===""&&(e="No documentation provided."),s===""&&(s="No description provided."),` PromQL Documentation: ${e} PromQL Metrics Metadata: ${a}(${n}): ${s} PromQL Expression: ${r} This query is trying to answer the question: `}const wa=`You are a Prometheus Query Language (PromQL) expert assistant inside Grafana. When the user asks a question, respond with a valid PromQL query and only the query. To help you answer the question, you will receive: - List of potentially relevant PromQL templates with descriptions, ranked by semantic search score - Prometheus metric - Metric type - Available Prometheus metric labels - User question Policy: - Do not invent labels names, you can only use the available labels - For rate queries, use the $__rate_interval variable`;function $a({promql:e,question:a,metricType:n,labels:s,templates:r}){return r===""?r="No templates provided.":r=r.replace(/\n/g,` `),`Relevant PromQL templates: ${r} Prometheus metric: ${e} Metric type: ${n} Available Prometheus metric labels: ${s} User question: ${a} \`\`\`promql`}const Pe=(0,De.Z0)({name:"metrics-modal-state",initialState:et(),reducers:{showExplainer:(e,a)=>{e.showExplainer=a.payload},showStartingMessage:(e,a)=>{e.showStartingMessage=a.payload},indicateCheckbox:(e,a)=>{e.indicateCheckbox=a.payload},askForQueryHelp:(e,a)=>{e.askForQueryHelp=a.payload},addInteraction:(e,a)=>{const n=tt(a.payload.suggestionType,a.payload.isLoading),s=e.interactions;e.interactions=s.concat([n])},updateInteraction:(e,a)=>{const n=a.payload.idx,s=a.payload.interaction;e.interactions=e.interactions.map((r,m)=>m===n?s:r)}}});function et(e,a){return{query:e??{metric:"",labels:[],operations:[]},showExplainer:!1,showStartingMessage:a??!0,indicateCheckbox:!1,askForQueryHelp:!1,interactions:[]}}function tt(e,a){return{suggestionType:e,prompt:"",suggestions:[],isLoading:a??!1,explanationIsLoading:!1}}const re=[{template:"metric_a{}",description:'Get the data for "metric_a"'},{template:"avg by(c) (metric_a{})",description:'Average of all series in "metric_a" grouped by the label "c"'},{template:"count by(d) (metric_a{})",description:'Number of series in the metric "metric_a" grouped by the label "d"'},{template:"sum by(g) (sum_over_time(metric_a{}[1h]))",description:'For each series in the metric "metric_a", sum all values over 1 hour, then group those series by label "g" and sum.'},{template:"count(metric_a{})",description:'Count of series in the metric "metric_a"'},{template:"(metric_a{})",description:'Get the data for "metric_a"'},{template:"count_over_time(metric_a{}[1h])",description:"Number of series of metric_a in a 1 hour interval"},{template:"changes(metric_a{}[1m])",description:"Number of times the values of each series in metric_a have changed in 1 minute periods"},{template:"count(count by(g) (metric_a{}))",description:"Total number of series in metric_a"},{template:"last_over_time(metric_a{}[1h])",description:"For each series in metric_a, get the last value in the 1 hour period."},{template:"sum by(g) (count_over_time(metric_a{}[1h]))",description:'Grouped sum over the label "g" of the number of series of metric_a in a 1 hour period'},{template:"count(metric_a{} == 99)",description:"Number of series of metric_a that have value 99"},{template:"min(metric_a{})",description:'At each timestamp, find the minimum of all series of the metric "metric_a"'},{template:"metric_a{} != 99",description:"Series of metric_a which do not have the value 99"},{template:"metric_a{} - 99",description:"metric_a minus 99"},{template:"quantile_over_time(0.99,metric_a{}[1h])",description:"The 99th quantile of values of metric_a in 1 hour"},{template:'count_values("aaaa",metric_a{})',description:'Count number of label values for a label named "aaaa"'}],Ia=[{template:"sum by(d) (rate(metric_a{}[1h]))",description:'Sum of the rate of increase or decrease of the metric "metric_a" per 1 hour period, grouped by the label "d"'},{template:"rate(metric_a{}[1m])",description:'Rate of change of the metric "metric_a" over 1 minute'},{template:"sum by(a) (increase(metric_a{}[5m]))",description:'Taking the metric "metric_a" find the increase in 5 minute periods of each series and aggregate sum over the label "a"'},{template:"sum(rate(metric_a{}[1m]))",description:'Total rate of change of all series of metric "metric_a" in 1 minute intervals'},{template:"sum(increase(metric_a{}[10m]))",description:'Total increase for each series of metric "metric_a" in 10 minute intervals'},{template:"increase(metric_a{}[1h])",description:'Increase in all series of "metric_a" in 1 hour period'},{template:"sum by(d) (irate(metric_a{}[1h]))",description:'Sum of detailed rate of change of the metric "metric_a" over 1 hour grouped by label "d"'},{template:"irate(metric_a{}[1h])",description:'Detailed rate of change of the metric "metric_a" over 1 hour'},{template:"avg by(d) (rate(metric_a{}[1h]))",description:'Taking the rate of change of the metric "metric_a" in a 1 hour period, group by the label "d" and find the average of each group'},{template:"topk(5,sum by(g) (rate(metric_a{}[1h])))",description:'Top 5 of the summed groups "g" of the rate of change of metric_a'},{template:"sum(rate(metric_a{}[1h])) / sum(rate(metric_a{}[1h]))",description:"Relative sums of metric_a with different labels"},{template:"histogram_quantile(99,rate(metric_a{}[1h]))",description:"99th percentile of the rate of change of metric_a in 1 hour periods"},{template:"avg(rate(metric_a{}[1m]))",description:"Average of the rate of all series of metric_a in 1 minute periods"},{template:"rate(metric_a{}[5m]) > 99",description:"Show series of metric_a only if their rate over 5 minutes is greater than 99"},{template:"count by(g) (rate(metric_a{}[1h]))",description:'Count of series of metric_a over all labels "g"'}],Ma=[{template:"histogram_quantile(99,sum by(le) (rate(metric_a{}[1h])))",description:'Calculate the rate at which the metric "metric_a" is increasing or decreasing, summed over each bucket label "le", and then calculates the 99th percentile of those rates.'},{template:"histogram_quantile(99,sum by(g) (metric_a{}))",description:'99th percentile of the sum of metric_a grouped by label "g"'},{template:"histogram_quantile(99,sum by(g) (irate(metric_a{}[1h])))",description:'99th percentile of the grouped by "g" sum of the rate of each series in metric_a in an hour'},{template:"histogram_quantile(99,metric_a{})",description:"99th percentile of metric_a"}],La=[{template:"sum by(c) (metric_a{})",description:'Sum the metric "metric_a" by each value in label "c"'},{template:"sum(metric_a{})",description:'Total sum of all the series of the metric named "metric_a"'},{template:"max by(dd) (metric_a{})",description:'Grouping the series the metric "metric_a" by the label "dd", get the maximum value of each group'},{template:"max(metric_a{})",description:'Maximum value of all series of the metric "metric_a" '},{template:"avg(metric_a{})",description:'Average value of all the series of metric "metric_a"'},{template:"metric_a{} > 99",description:'Show only the series of metric "metric_a" which currently have value greater than 99'},{template:"metric_a{} / 99",description:'Values for "metric_a" all divided by 99'},{template:"metric_a{} == 99",description:"Show series of metric_a that have value 99"},{template:"sum_over_time(metric_a{}[1h])",description:"Sum each series of metric_a over 1 hour"},{template:"avg_over_time(metric_a{}[1h])",description:"Average of each series of metric_a in a 1 hour period"},{template:"sum(sum_over_time(metric_a{}[1h]))",description:"Sum of all values in all series in a 1 hour period"},{template:"delta(metric_a{}[1m])",description:'Span or delta (maximum - minimum) of values of the metric "metric_a" in a 1 minute period. '},{template:"avg by(g) (avg_over_time(metric_a{}[1h]))",description:'For 1 hour, take each series and find the average, then group by label "g" and find the average of each group'},{template:"max_over_time(metric_a{}[1h])",description:'Maximum values of each series in metric "metric_a" in a 1 hour period'},{template:"metric_a{} * 99",description:"Values of metric_a multiplied by 99"},{template:"metric_a{} < 99",description:"Series of metric_a that have values less than 99"},{template:"max by() (max_over_time(metric_a{}[1h]))",description:"Find maximum value of all series in 1 hour periods"},{template:"topk(99,metric_a{})",description:"First 5 series of metric_a that have the highest values"},{template:"min by(g) (metric_a{})",description:'Minimum values of the series of metric_a grouped by label "g"'},{template:"topk(10,sum by(g) (metric_a{}))",description:"Top 10 of the series of metric_a grouped and summed by the label 'g'"},{template:"avg(avg_over_time(metric_a{}[1h]))",description:"Average of all values inside a 1 hour period"},{template:"quantile by(h) (0.95,metric_a{})",description:'Calculate 95th percentile of metric_a when aggregated by the label "h"'},{template:"avg by(g) (metric_a{} > 99)",description:'Taking all series of metric_a with value greater than 99, group by label "g" and find the average of each group'},{template:"sum(metric_a{}) / 99",description:"Sum of all series of metric_a divided by 99"},{template:"count(sum by(g) (metric_a{}))",description:'Number of series of metric_a grouped by the label "g"'},{template:"max(max_over_time(metric_a{}[1h]))",description:"Find the max value of all series of metric_a in a 1 hour period"}];function H(e,a,n){return{query:e.template.replace("metric_a",a).replace("{}",n),explanation:e.description.replace("metric_a",a)}}function ka(e,a,n){let s=[];switch(a){case"counter":s=s.concat(Ia.map(r=>H(r,e,n)).sort(()=>Math.random()-.5).slice(0,2)),s=s.concat(re.map(r=>H(r,e,n)).sort(()=>Math.random()-.5).slice(0,3));break;case"gauge":s=s.concat(La.map(r=>H(r,e,n)).sort(()=>Math.random()-.5).slice(0,2)),s=s.concat(re.map(r=>H(r,e,n)).sort(()=>Math.random()-.5).slice(0,3));break;case"histogram":s=s.concat(Ma.map(r=>H(r,e,n)).sort(()=>Math.random()-.5).slice(0,2)),s=s.concat(re.map(r=>H(r,e,n)).sort(()=>Math.random()-.5).slice(0,3));break;default:s=s.concat(re.map(r=>H(r,e,n)).sort(()=>Math.random()-.5).slice(0,5));break}return s}const at="gpt-3.5-turbo-1106",Aa="grafana.promql.templates",{updateInteraction:Te}=Pe.actions;function Fa(e,a,n){let s="",r="";const m=(0,R.u)(e);n.languageProvider.metricsMetadata&&(r=(0,Ce.AU)(a,n.languageProvider.metricsMetadata)??"",s=(0,Ce.pK)(a,n.languageProvider.metricsMetadata)??"");const u=m.query.operations.map(l=>{const c=F.z.getOperationDef(l.id);if(!c)return"";const f=c.renderer(l,c,"<expr>"),h=c.explainHandler?c.explainHandler(l,c):c.documentation;return h?`### ${f}: ${h}`:""}).filter(l=>l!=="").join(` `);return[{role:"system",content:Na},{role:"user",content:Qa({documentation:u,metricName:a,metricType:r,metricMetadata:s,query:e})}]}function Ba({promql:e,question:a,metricType:n,labels:s,templates:r}){return[{role:"system",content:wa},{role:"user",content:$a({promql:e,question:a,metricType:n,labels:s,templates:r})}]}async function nt(e,a,n,s,r,m){const u=s.suggestions[r].query,l=Fa(u,n.metric,m),c=s;return j.qH({model:at,messages:l,temperature:0}).pipe(j.qA()).subscribe(f=>{const h=c.suggestions.map((x,E)=>r===E?{query:c.suggestions[r].query,explanation:f}:x),p={idx:a,interaction:{...c,suggestions:h,explanationIsLoading:!1}};e(Te(p))})}function se(e,a){for(const n of e)if(!a.includes(n))return!1;return!0}function Oa(e,a){if(new Set(["up","scrape_duration_seconds","scrape_samples_post_metric_relabeling","scrape_series_added","scrape_samples_scraped","ALERTS","ALERTS_FOR_STATE"]).has(e))return"counter";if(e.startsWith(":"))return"gauge";if(e.endsWith("_info")||e.endsWith("_created")||e.endsWith("_total"))return"counter";const s=e.lastIndexOf("_");if(s<0)return"gauge";const[r,m]=[e.slice(0,s),e.slice(s+1)];if(["bucket","count","sum"].includes(m)){let l=[`${r}_bucket`,`${r}_count`,`${r}_sum`,r];return se(l,a)?"histogram,summary":(l=[`${r}_bucket`,`${r}_count`,`${r}_sum`],se(l,a)?"histogram":(l=[`${r}_sum`,`${r}_count`,r],se(l,a)?"summary":"counter"))}const u=[`${e}_sum`,`${e}_count`,e];return se(u,a)?a.includes(`${e}_bucket`)?"histogram,summary":"summary":"gauge"}function Ra(e){return e.map(a=>({metric_type:{$eq:a}}))}function za(e){return e.endsWith("_bucket")||e.endsWith("_count")||e.endsWith("_sum")?e.slice(0,e.lastIndexOf("_")):e}async function Da(){const e=j.vK().then(n=>n.ok),a=_e().then(n=>n.ok);return Promise.all([e,a]).then(n=>n.every(s=>s))}async function Ne(e,a,n,s,r,m){const u=m||tt(M.Historical);let l="";if(r.languageProvider.metricsMetadata||await r.languageProvider.loadMetricsMetadata(),r.languageProvider.metricsMetadata){const c=za(n.metric);l=(0,Ce.AU)(c,r.languageProvider.metricsMetadata)??""}if(l===""&&(l=Oa(n.metric,r.languageProvider.metrics)),u.suggestionType===M.Historical)return new Promise(c=>setTimeout(()=>{const f=ka(n.metric,l,F.z.renderLabels(n.labels)),h={idx:a,interaction:{...u,suggestions:f,isLoading:!1}};e(Te(h)),c()},1e3));{const c=await r.languageProvider.fetchLabelsWithMatch(n.metric);let f={metric:n.metric,labels:Object.keys(c).filter(E=>E!=="__name__").join(",")},h=[];m?.suggestionType===M.AI&&(f={...f,prompt:m.prompt},h=await Ta({query:m.prompt,collection:Aa,topK:5,filter:{$or:Ra(l.split(",").concat(["*"]))}}),(0,k.rR)("grafana_prometheus_promqail_vector_results",{metric:n.metric,prompt:m.prompt,results:h}));const p=h.map(E=>`${E.payload.promql} | ${E.payload.description} (score=${(E.score*100).toFixed(1)})`).join(` `),x=Ba({promql:n.metric,question:m?m.prompt:"",metricType:l,labels:s.join(", "),templates:p});return j.qH({model:at,messages:x,temperature:.5}).pipe(j.qA()).subscribe(E=>{const g={idx:a,interaction:{...u,suggestions:[{query:E,explanation:""}],isLoading:!1}};e(Te(g))})}}const{showStartingMessage:Wa,indicateCheckbox:Ha,addInteraction:oe,updateInteraction:Qe}=Pe.actions,we="SKIP_STARTING_MESSAGE",qa=e=>{const{query:a,closeDrawer:n,onChange:s,datasource:r}=e,m=z.A.getBool(we,!1),[u,l]=(0,t.useReducer)(Pe.reducer,et(a,!m)),[c,f]=(0,t.useState)([]),h=u.interactions.reduce((y,d)=>y+d.suggestions.length,0),p=(0,t.useRef)(null),x=()=>{p&&p?.current?.scrollIntoView({behavior:"smooth"})};(0,t.useEffect)(()=>{x()},[u.interactions.length,h]),(0,t.useEffect)(()=>{(async()=>{let d=await r.languageProvider.fetchLabelsWithMatch(a.metric);f(Object.keys(d))})()},[a,r]);const E=(0,$.$j)(),g=ie(E);return t.createElement("div",{className:g.containerPadding},t.createElement("div",{className:g.header},t.createElement("h3",null,"Query advisor"),t.createElement(C.$n,{icon:"times",fill:"text",variant:"secondary",onClick:n})),t.createElement("div",null,t.createElement("div",{className:g.iconSection},t.createElement("img",{src:Xe,alt:"AI logo color"})," Assistant"),u.showStartingMessage?t.createElement(t.Fragment,null,t.createElement("div",{className:g.dataList},t.createElement("ol",null,t.createElement("li",{className:g.textPadding},"Query Advisor suggests queries based on a metric and requests you type in."),t.createElement("li",{className:g.textPadding},"Query Advisor sends Prometheus metrics, labels and metadata to the LLM provider you've configured. Be sure to align its usage with your company's internal policies."),t.createElement("li",{className:g.textPadding},"An AI-suggested query may not fully answer your question. Always take a moment to understand a query before you use it."))),t.createElement(ya.F,{title:"",severity:"info",key:"promqail-llm-app",className:(0,o.cx)(g.textPadding,g.noMargin)},"Query Advisor is currently in Private Preview. Feedback is appreciated and can be provided on explanations and suggestions."),t.createElement("div",{className:g.textPadding},t.createElement(Ve.S,{checked:u.indicateCheckbox,value:u.indicateCheckbox,onChange:()=>{const y=z.A.getBool(we,!1);z.A.set(we,!y),l(Ha(!y))},label:"Don't show this message again"})),t.createElement("div",{className:g.rightButtonsWrapper},t.createElement("div",{className:g.rightButtons},t.createElement(C.$n,{className:g.leftButton,fill:"outline",variant:"secondary",onClick:n},"Cancel"),t.createElement(C.$n,{fill:"solid",variant:"primary",onClick:()=>l(Wa(!1)),"data-testid":Y.securityInfoButton},"Continue")))):t.createElement("div",{className:g.bodySmall},t.createElement("div",{className:g.textPadding},"Here is the metric you have selected:"),t.createElement("div",{className:g.infoContainerWrapper},t.createElement("div",{className:g.infoContainer},t.createElement("table",{className:g.metricTable},t.createElement("tbody",null,t.createElement("tr",null,t.createElement("td",{className:g.metricTableName},"metric"),t.createElement("td",{className:g.metricTableValue},u.query.metric),t.createElement("td",null,t.createElement(C.$n,{fill:"outline",variant:"secondary",onClick:n,className:g.metricTableButton,size:"sm"},"Choose new metric"))),u.query.labels.map((y,d)=>{const b=d===0?"labels":"";return t.createElement("tr",{key:`${y.label}-${d}`},t.createElement("td",null,b),t.createElement("td",{className:g.metricTableValue},`${y.label}${y.op}${y.value}`),t.createElement("td",null," "))}))))),!u.askForQueryHelp&&u.interactions.length===0&&t.createElement(t.Fragment,null,t.createElement("div",{className:g.queryQuestion},"Do you know what you want to query?"),t.createElement("div",{className:g.rightButtonsWrapper},t.createElement("div",{className:g.rightButtons},t.createElement(C.$n,{className:g.leftButton,fill:"solid",variant:"secondary","data-testid":Y.clickForHistorical,onClick:()=>{const d=M.Historical;l(oe({suggestionType:d,isLoading:!0})),(0,k.rR)("grafana_prometheus_promqail_know_what_you_want_to_query",{promVisualQuery:a,doYouKnow:"no"}),Ne(l,0,a,c,r)}},"No"),t.createElement(C.$n,{fill:"solid",variant:"primary","data-testid":Y.clickForAi,onClick:()=>{(0,k.rR)("grafana_prometheus_promqail_know_what_you_want_to_query",{promVisualQuery:a,doYouKnow:"yes"});const y=!1,d=M.AI;l(oe({suggestionType:d,isLoading:y}))}},"Yes")))),u.interactions.map((y,d)=>t.createElement("div",{key:d},y.suggestionType===M.AI?t.createElement(t.Fragment,null,t.createElement("div",{className:g.textPadding},"What kind of data do you want to see with your metric?"),t.createElement("div",{className:(0,o.cx)(g.secondaryText,g.bottomMargin)},t.createElement("div",null,"You do not need to enter in a metric or a label again in the prompt."),t.createElement("div",null,"Example: I want to monitor request latency, not errors.")),t.createElement("div",{className:g.inputPadding},t.createElement(va.p,{value:y.prompt,spellCheck:!1,placeholder:"Enter prompt",disabled:y.suggestions.length>0,onChange:b=>{const v=b.currentTarget.value,P={idx:d,interaction:{...y,prompt:v}};l(Qe(P))}})),y.suggestions.length===0?y.isLoading?t.createElement(t.Fragment,null,t.createElement("div",{className:g.loadingMessageContainer},"Waiting for OpenAI ",t.createElement(Ee.y,{className:g.floatRight}))):t.createElement(t.Fragment,null,t.createElement("div",{className:g.rightButtonsWrapper},t.createElement("div",{className:g.rightButtons},t.createElement(C.$n,{className:g.leftButton,fill:"outline",variant:"secondary",onClick:n},"Cancel"),t.createElement(C.$n,{className:g.leftButton,fill:"outline",variant:"secondary",onClick:()=>{const b={...y,suggestionType:M.Historical,isLoading:!0},v={idx:d,interaction:b};(0,k.rR)("grafana_prometheus_promqail_suggest_query_instead",{promVisualQuery:a}),l(Qe(v)),Ne(l,d,a,c,r,b)}},"Suggest queries instead"),t.createElement(C.$n,{fill:"solid",variant:"primary","data-testid":Y.submitPrompt+d,onClick:()=>{const b={...y,isLoading:!0},v={idx:d,interaction:b};(0,k.rR)("grafana_prometheus_promqail_prompt_submitted",{promVisualQuery:a,prompt:y.prompt}),l(Qe(v)),Ne(l,d,a,c,r,y)}},"Submit")))):t.createElement(Je,{suggestionType:M.AI,querySuggestions:y.suggestions,closeDrawer:n,nextInteraction:()=>{const v=M.AI;l(oe({suggestionType:v,isLoading:!1}))},queryExplain:b=>y.suggestions[b].explanation===""?nt(l,d,a,y,b,r):y.suggestions[b].explanation,onChange:s,prompt:y.prompt??""})):y.isLoading?t.createElement(t.Fragment,null,t.createElement("div",{className:g.loadingMessageContainer},"Waiting for OpenAI ",t.createElement(Ee.y,{className:g.floatRight}))):t.createElement(Je,{suggestionType:M.Historical,querySuggestions:y.suggestions,closeDrawer:n,nextInteraction:()=>{const v=M.AI;l(oe({suggestionType:v,isLoading:!1}))},queryExplain:b=>y.suggestions[b].explanation===""?nt(l,d,a,y,b,r):y.suggestions[b].explanation,onChange:s,prompt:y.prompt??""}))))),t.createElement("div",{ref:p}))},ie=e=>({sectionPadding:(0,o.css)({padding:"20px"}),header:(0,o.css)({display:"flex",button:{marginLeft:"auto"}}),iconSection:(0,o.css)({padding:"0 0 10px 0",color:`${e.colors.text.secondary}`,img:{paddingRight:"4px"}}),rightButtonsWrapper:(0,o.css)({display:"flex"}),rightButtons:(0,o.css)({marginLeft:"auto"}),leftButton:(0,o.css)({marginRight:"10px"}),dataList:(0,o.css)({padding:"0px 28px 0px 28px"}),textPadding:(0,o.css)({paddingBottom:"12px"}),containerPadding:(0,o.css)({padding:"28px"}),infoContainer:(0,o.css)({border:`${e.colors.border.strong}`,padding:"16px",backgroundColor:`${e.colors.background.secondary}`,borderRadius:"8px",borderBottomLeftRadius:0}),infoContainerWrapper:(0,o.css)({paddingBottom:"24px"}),metricTable:(0,o.css)({width:"100%"}),metricTableName:(0,o.css)({width:"15%"}),metricTableValue:(0,o.css)({fontFamily:`${e.typography.fontFamilyMonospace}`,fontSize:`${e.typography.bodySmall.fontSize}`,overflow:"scroll",textWrap:"nowrap",maxWidth:"150px",width:"60%",maskImage:"linear-gradient(to right, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0))"}),metricTableButton:(0,o.css)({float:"right"}),queryQuestion:(0,o.css)({textAlign:"end",padding:"8px 0"}),secondaryText:(0,o.css)({color:`${e.colors.text.secondary}`}),loadingMessageContainer:(0,o.css)({border:`${e.colors.border.strong}`,padding:"16px",backgroundColor:`${e.colors.background.secondary}`,marginBottom:"20px",borderRadius:"8px",color:`${e.colors.text.secondary}`,fontStyle:"italic"}),floatRight:(0,o.css)({float:"right"}),codeText:(0,o.css)({fontFamily:`${e.typography.fontFamilyMonospace}`,fontSize:`${e.typography.bodySmall.fontSize}`}),bodySmall:(0,o.css)({fontSize:`${e.typography.bodySmall.fontSize}`}),explainPadding:(0,o.css)({paddingLeft:"26px"}),bottomMargin:(0,o.css)({marginBottom:"20px"}),topPadding:(0,o.css)({paddingTop:"22px"}),doc:(0,o.css)({textDecoration:"underline"}),afterButtons:(0,o.css)({display:"flex",justifyContent:"flex-end"}),feedbackStyle:(0,o.css)({margin:0,textAlign:"right",paddingTop:"22px",paddingBottom:"22px"}),nextInteractionHeight:(0,o.css)({height:"88px"}),center:(0,o.css)({display:"flex",alignItems:"center",justifyContent:"center"}),inputPadding:(0,o.css)({paddingBottom:"24px"}),querySuggestion:(0,o.css)({display:"flex",flexWrap:"nowrap"}),longCode:(0,o.css)({width:"90%",textWrap:"nowrap",overflow:"scroll",maskImage:"linear-gradient(to right, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0))",div:{display:"inline-block"}}),useButton:(0,o.css)({marginLeft:"auto"}),suggestionFeedback:(0,o.css)({textAlign:"left"}),feedbackQuestion:(0,o.css)({display:"flex",padding:"8px 0px",h6:{marginBottom:0},i:{marginTop:"1px"}}),explationTextInput:(0,o.css)({paddingLeft:"24px"}),submitFeedback:(0,o.css)({padding:"16px 0"}),noMargin:(0,o.css)({margin:0}),enableButtonTooltip:(0,o.css)({padding:8}),enableButtonTooltipText:(0,o.css)({color:`${e.colors.text.secondary}`,ul:{marginLeft:16}}),link:(0,o.css)({color:`${e.colors.text.link} !important`})}),Y={promQail:"prom-qail",securityInfoButton:"security-info-button",clickForHistorical:"click-for-historical",clickForAi:"click-for-ai",submitPrompt:"submit-prompt",refinePrompt:"refine-prompt"};function Ga(e){const{llmAppEnabled:a,metric:n,setShowDrawer:s}=e,r=!a,m=!n,u=(0,$.$j)(),l=ie(u),c=()=>t.createElement(C.$n,{variant:"secondary",onClick:()=>{(0,k.rR)("grafana_prometheus_promqail_ai_button_clicked",{metric:n}),s(!0)},disabled:!n||!a,"data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.builder.queryAdvisor},t.createElement("img",{height:16,src:Xe,alt:"AI logo black and white"}),"\xA0","Get query suggestions"),f=t.createElement(G.m,{content:"First, select a metric.",placement:"bottom-end"},c()),h=t.createElement(G.m,{interactive:!0,placement:"auto-end",content:t.createElement("div",{className:l.enableButtonTooltip},t.createElement("h6",null,"Query Advisor is disabled"),t.createElement("div",{className:l.enableButtonTooltipText},"To enable Query Advisor you must:"),t.createElement("div",{className:l.enableButtonTooltipText},t.createElement("ul",null,t.createElement("li",null,t.createElement("a",{href:"https://grafana.com/docs/grafana-cloud/alerting-and-irm/machine-learning/llm-plugin/",target:"_blank",rel:"noreferrer noopener",className:l.link},"Install and enable the LLM plugin")),t.createElement("li",null,"Select a metric"))))},c());return r?h:m?f:c()}const rt=pe.$.featureToggles.prometheusPromQAIL,$e=t.memo(e=>{const{datasource:a,query:n,onChange:s,onRunQuery:r,data:m,showExplain:u}=e,[l,c]=(0,t.useState)(),[f,h]=(0,t.useState)(!1),[p,x]=(0,t.useState)(!1),E={grammar:ue.Ay,name:"promql"},g=a.getInitHints();return(0,t.useEffect)(()=>{async function y(){const d=await Da();x(d)}y()},[]),t.createElement(t.Fragment,null,rt&&f&&t.createElement(Bt._,{closeOnMaskClick:!1,onClose:()=>h(!1)},t.createElement(qa,{query:n,closeDrawer:()=>h(!1),onChange:s,datasource:a})),t.createElement(ge.U,null,t.createElement(ua.I,{query:n,onChange:s,datasource:a})),g.length?t.createElement("div",{className:"query-row-break"},t.createElement("div",{className:"prom-query-field-info text-warning"},g[0].label," ",g[0].fix?t.createElement("button",{type:"button",className:"text-warning"},g[0].fix.label):null)):null,u&&t.createElement(Ot.r,{stepNumber:1,title:t.createElement(me.Z,{query:`${n.metric} ${F.z.renderLabels(n.labels)}`,lang:E})},ha.W),t.createElement(ca.i,null,t.createElement(ra,{queryModeller:F.z,datasource:a,query:n,onChange:s,onRunQuery:r,highlightedOp:l}),rt&&t.createElement("div",{className:(0,o.css)({padding:"0 0 0 6px"})},t.createElement(Ga,{llmAppEnabled:p,metric:n.metric,setShowDrawer:h})),t.createElement("div",{"data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.builder.hints},t.createElement(Ue,{datasource:a,query:n,onChange:s,data:m,queryModeller:F.z,buildVisualQueryFromString:R.u}))),u&&t.createElement(la.k,{lang:E,query:n,stepNumber:2,queryModeller:F.z,onMouseEnter:y=>c(y),onMouseLeave:()=>c(void 0)}),n.binaryQueries&&n.binaryQueries.length>0&&t.createElement(fa,{query:n,datasource:a,onChange:s,onRunQuery:r,showExplain:u}))});$e.displayName="PromQueryBuilder";var Va=i(97801);function Ua({query:e}){return e?t.createElement(ge.U,null,t.createElement(Va.B,null,t.createElement(me.Z,{query:e,lang:{grammar:ue.Ay,name:"promql"}}))):null}var Ka=i(13567);const Ie=pe.$.featureToggles.prometheusMetricEncyclopedia;function ja(e){const{query:a,onChange:n,onRunQuery:s,datasource:r,data:m,showExplain:u}=e,[l,c]=(0,t.useReducer)(st.reducer,{expr:a.expr});(0,t.useEffect)(()=>{c(Ja(a.expr)),Ie&&c(Xa({useBackend:a.useBackend??!1,disableTextWrap:a.disableTextWrap??!1,fullMetaSearch:a.fullMetaSearch??!1,includeNullMetadata:a.includeNullMetadata??!0}))},[a]),(0,t.useEffect)(()=>{r.languageProvider.start(m?.timeRange)},[m?.timeRange,r.languageProvider]);const f=h=>{const p=F.z.renderQuery(h);if(c(Za({visQuery:h,expr:p})),Ie){const x=(0,Ka.mt)(h);n({...e.query,expr:p,...x})}else n({...e.query,expr:p})};return l.visQuery?t.createElement(t.Fragment,null,t.createElement($e,{query:l.visQuery,datasource:r,onChange:f,onRunQuery:s,data:m,showExplain:u}),t.createElement(Ua,{query:a.expr})):null}const Ya={expr:""},st=(0,De.Z0)({name:"prom-builder-container",initialState:Ya,reducers:{visualQueryChange:(e,a)=>{e.expr=a.payload.expr,e.visQuery=a.payload.visQuery},exprChanged:(e,a)=>{if(!e.visQuery||e.expr!==a.payload){e.expr=a.payload;const n=(0,R.u)(a.payload??"");e.visQuery=n.query}},setMetricsModalSettings:(e,a)=>{e.visQuery&&Ie&&(e.visQuery.useBackend=a.payload.useBackend,e.visQuery.disableTextWrap=a.payload.disableTextWrap,e.visQuery.fullMetaSearch=a.payload.fullMetaSearch,e.visQuery.includeNullMetadata=a.payload.includeNullMetadata)}}}),{visualQueryChange:Za,exprChanged:Ja,setMetricsModalSettings:Xa}=st.actions;var V=i(81580),_a=i(79458),ot=i(38894),en=i(76892);function tn({datasource:e,onChange:a,query:n,...s}){const[r,m]=(0,t.useState)(null),u=(0,$.of)(an),l=(0,he.A)(r);(0,t.useEffect)(()=>{e.exemplarsAvailable?n.instant&&!n.range?(m("Exemplars are not available for instant queries"),a(!1)):(m(null),l&&!r&&a(!0)):(m("Exemplars for this query are not available"),a(!1))},[e.exemplarsAvailable,n.instant,n.range,a,l,r]);const c=(0,o.cx)({[u.activeIcon]:!!n.exemplar},u.eyeIcon);return t.createElement(en.c,{width:"auto","data-testid":s["data-testid"]},t.createElement(G.m,{content:r??""},t.createElement("div",{className:u.iconWrapper},"Exemplars",t.createElement(Ke.K,{name:"eye",tooltip:n.exemplar?"Disable query with exemplars":"Enable query with exemplars",disabled:!!r,className:c,onClick:()=>{a(!n.exemplar)}}))))}function an(e){return{eyeIcon:(0,o.css)` margin-left: ${e.spacing(2)}; `,activeIcon:(0,o.css)` color: ${e.colors.primary.main}; `,iconWrapper:(0,o.css)` display: flex; align-items: center; `}}const nn=(0,t.memo)(({query:e,datasource:a,onChange:n,onRunQuery:s})=>{const r=it(!0),m=(0,he.A)(e),u=(0,t.useCallback)(p=>{(!(0,O.isEqual)(e,m)||p!==e.exemplar)&&n({...e,exemplar:p})},[m,e,n]);function l(p){n({...e,interval:p})}function c(p){p.currentTarget.value!==e.interval&&l(p.currentTarget.value)}function f(p){p.key==="Enter"&&p.shiftKey&&s()}const h=lt(e,n);return t.createElement("div",{"aria-label":"Prometheus extra field",className:"gf-form-inline","data-testid":Me.extraFieldEditor},t.createElement("div",{"data-testid":Me.queryTypeField,className:(0,o.cx)("gf-form explore-input-margin",(0,o.css)` flex-wrap: nowrap; `),"aria-label":"Query type field"},t.createElement(ot.I,{width:"auto"},"Query type"),t.createElement(de.z,{options:r,value:e.range&&e.instant?"both":e.instant?"instant":"range",onChange:h})),t.createElement("div",{"data-testid":Me.stepField,className:(0,o.cx)("gf-form",(0,o.css)` flex-wrap: nowrap; `),"aria-label":"Step field"},t.createElement(ot.I,{width:6,tooltip:"Time units and built-in variables can be used here, for example: $__interval, $__rate_interval, 5s, 1m, 3h, 1d, 1y (Default if no unit is specified: s)"},"Min step"),t.createElement("input",{type:"text",className:"gf-form-input width-4",placeholder:"auto",onChange:c,onKeyDown:f,value:e.interval??""})),t.createElement(tn,{onChange:u,datasource:a,query:e}))});nn.displayName="PromExploreExtraField";function it(e){const a=[{value:"range",label:"Range",description:"Run query over a range of time"},{value:"instant",label:"Instant",description:'Run query against a single point in time. For this query, the "To" time is used'}];return e&&a.push({value:"both",label:"Both",description:"Run an Instant query and a Range query"}),a}function lt(e,a){return n=>{a(n==="instant"?{...e,instant:!0,range:!1,exemplar:!1}:n==="range"?{...e,instant:!1,range:!0}:{...e,instant:!0,range:!0})}}const Me={extraFieldEditor:"prom-editor-extra-field",stepField:"prom-editor-extra-field-step",queryTypeField:"prom-editor-extra-field-query-type"};var rn=i(42941),sn=i(83195);function on({title:e,children:a,collapsedInfo:n,queryStats:s}){const[r,m]=(0,rn.A)(!1),u=(0,$.of)(ln);return t.createElement("div",{className:u.wrapper},t.createElement(Oe.S,{className:u.collapse,collapsible:!0,isOpen:r,onToggle:m,label:t.createElement(D.B,{gap:0},t.createElement("h6",{className:u.title},e),!r&&t.createElement("div",{className:u.description},n.map((l,c)=>t.createElement("span",{key:c},l))))},t.createElement("div",{className:u.body},a)),s&&pe.$.featureToggles.lokiQuerySplitting&&t.createElement(G.m,{content:"Note: the query will be split into multiple parts and executed in sequence. Query limits will only apply each individual part."},t.createElement(We.I,{tabIndex:0,name:"info-circle",className:u.tooltip,size:"sm"})),s&&t.createElement("p",{className:u.stats},cn(s)))}const ln=e=>({collapse:(0,o.css)({backgroundColor:"unset",border:"unset",marginBottom:0,["> button"]:{padding:e.spacing(0,1)}}),wrapper:(0,o.css)({width:"100%",display:"flex",justifyContent:"space-between",alignItems:"baseline"}),title:(0,o.css)({flexGrow:1,overflow:"hidden",fontSize:e.typography.bodySmall.fontSize,fontWeight:e.typography.fontWeightMedium,margin:0}),description:(0,o.css)({color:e.colors.text.secondary,fontSize:e.typography.bodySmall.fontSize,fontWeight:e.typography.bodySmall.fontWeight,paddingLeft:e.spacing(2),gap:e.spacing(2),display:"flex"}),body:(0,o.css)({display:"flex",gap:e.spacing(2),flexWrap:"wrap"}),stats:(0,o.css)({margin:"0px",color:e.colors.text.secondary,fontSize:e.typography.bodySmall.fontSize}),tooltip:(0,o.css)({marginRight:e.spacing(.25)})}),cn=e=>e.message?e.message:`This query will process approximately ${mn(e)}.`,mn=e=>{const{text:a,suffix:n}=(0,sn.j_)("bytes")(e.bytes,1);return a+n},Le=[{label:"Auto",value:I.m_.Auto,description:"Only includes unique labels"},{label:"Verbose",value:I.m_.Verbose,description:"All label names and values"},{label:"Custom",value:I.m_.Custom,description:"Provide a naming template"}],ct=t.memo(({legendFormat:e,onChange:a,onRunQuery:n})=>{const s=mt(e),r=(0,t.useRef)(null),m=l=>{let c=l.currentTarget.value;c.length===0&&(c=I.m_.Auto),c!==e&&(a(c),n())},u=l=>{switch(l.value){case I.m_.Auto:a(I.m_.Auto);break;case I.m_.Custom:a("{{label_name}}"),setTimeout(()=>{r.current?.focus(),r.current?.setSelectionRange(2,12,"forward")},10);break;case I.m_.Verbose:a("");break}n()};return t.createElement(V.c,{label:"Legend",tooltip:"Series name override or template. Ex. {{hostname}} will be replaced with label value for hostname.","data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.legend},t.createElement(t.Fragment,null,s===I.m_.Custom&&t.createElement(ae.D,{id:"legendFormat",minWidth:22,placeholder:"auto",defaultValue:e,onCommitChange:m,ref:r}),s!==I.m_.Custom&&t.createElement(W.l6,{inputId:"legend.mode",isSearchable:!1,placeholder:"Select legend mode",options:Le,width:22,onChange:u,value:Le.find(l=>l.value===s)})))});ct.displayName="PromQueryLegendEditor";function mt(e){return e===I.m_.Auto?I.m_.Auto:e==null||e===""?I.m_.Verbose:I.m_.Custom}function un(e){const a=mt(e);return a!==I.m_.Custom?Le.find(n=>n.value===a)?.label:e}const ut=t.memo(({query:e,app:a,onChange:n,onRunQuery:s})=>{const r=E=>{n({...e,format:E.value}),s()},m=E=>{n({...e,interval:E.currentTarget.value}),s()},u=it(a===L.Jk.Explore||a===L.Jk.Correlations||a===L.Jk.PanelEditor),l=lt(e,n),c=E=>{const g=E.currentTarget.checked;n({...e,exemplar:g}),s()},f=E=>{n({...e,intervalFactor:E.value}),s()},h=ke.find(E=>E.value===e.format)||ke[0],p=dn(e),x=u.find(E=>E.value===p).label;return t.createElement(ge.U,null,t.createElement("div",{"data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.options},t.createElement(on,{title:"Options",collapsedInfo:pn(e,h.label,x,a)},t.createElement(ct,{legendFormat:e.legendFormat,onChange:E=>n({...e,legendFormat:E}),onRunQuery:s}),t.createElement(V.c,{label:"Min step",tooltip:t.createElement(t.Fragment,null,"An additional lower limit for the step parameter of the Prometheus query and for the"," ",t.createElement("code",null,"$__interval")," and ",t.createElement("code",null,"$__rate_interval")," variables.")},t.createElement(ae.D,{id:A.Tp.components.DataSource.Prometheus.queryEditor.step,type:"text","aria-label":"Set lower limit for the step parameter",placeholder:"auto",minWidth:10,onCommitChange:m,defaultValue:e.interval})),t.createElement(V.c,{label:"Format"},t.createElement(W.l6,{"data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.format,value:h,allowCustomValue:!0,onChange:r,options:ke})),t.createElement(V.c,{label:"Type","data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.type},t.createElement(de.z,{options:u,value:p,onChange:l})),dt(e,a)&&t.createElement(V.c,{label:"Exemplars"},t.createElement(_a.C,{value:e.exemplar||!1,onChange:c,id:A.Tp.components.DataSource.Prometheus.queryEditor.exemplars})),e.intervalFactor&&e.intervalFactor>1&&t.createElement(V.c,{label:"Resolution"},t.createElement(W.l6,{"aria-label":"Select resolution",isSearchable:!1,options:pt,onChange:f,value:pt.find(E=>E.value===e.intervalFactor)})))))});function dt(e,a){return!(a===L.Jk.UnifiedAlerting||!e.range)}function dn(e){return e.range&&e.instant?"both":e.instant?"instant":"range"}function pn(e,a,n,s){const r=[];return r.push(`Legend: ${un(e.legendFormat)}`),r.push(`Format: ${a}`),r.push(`Step: ${e.interval??"auto"}`),r.push(`Type: ${n}`),dt(e,s)&&(e.exemplar?r.push("Exemplars: true"):r.push("Exemplars: false")),r}ut.displayName="PromQueryBuilderOptions";var gn=i(63492);const ke=[{label:"Time series",value:"time_series"},{label:"Table",value:"table"},{label:"Heatmap",value:"heatmap"}],pt=(0,O.map)([1,2,3,4,5,10],e=>({value:e,label:"1/"+e})),gt=t.memo(e=>{const{onChange:a,onRunQuery:n,data:s,app:r,onAddQuery:m,datasource:{defaultEditor:u},queries:l}=e,[c,f]=(0,t.useState)(!1),[h,p]=(0,t.useState)(!1),[x,E]=(0,t.useState)(!1),{flag:g,setFlag:y}=wt(Tt),d=Ft(e.query,r,u),b=d.editorMode,v=(0,t.useCallback)(S=>{if((0,k.rR)("user_grafana_prometheus_editor_mode_clicked",{newEditor:S,previousEditor:d.editorMode??"",newQuery:!d.expr,app:r??""}),S===B.f.Builder&&(0,R.u)(d.expr||"").errors.length){f(!0);return}ze(d,S,a)},[a,d,r]);(0,t.useEffect)(()=>{E(!1)},[s]);const P=S=>{(0,O.isEqual)(S,e.query)||E(!0),a(S)},Q=S=>{y(S.currentTarget.checked)};return t.createElement(t.Fragment,null,t.createElement(ht.u,{isOpen:c,title:"Parsing error: Switch to the builder mode?",body:"There is a syntax error, or the query structure cannot be visualized when switching to the builder mode. Parts of the query may be lost. ",confirmText:"Continue",onConfirm:()=>{ze(d,B.f.Builder,a),f(!1)},onDismiss:()=>f(!1)}),t.createElement(Ct,{isOpen:h,onClose:()=>p(!1),query:d,queries:l,app:r,onChange:a,onAddQuery:m}),t.createElement(ft.X,null,t.createElement(C.$n,{"data-testid":A.Tp.components.QueryBuilder.queryPatterns,variant:"secondary",size:"sm",onClick:()=>p(S=>!S)},"Kick start your query"),t.createElement("div",{"data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.explain},t.createElement(Lt,{label:"Explain",value:g,onChange:Q})),t.createElement(_.Z,{grow:1}),r!==L.Jk.Explore&&r!==L.Jk.Correlations&&t.createElement(C.$n,{variant:x?"primary":"secondary",size:"sm",onClick:n,icon:s?.state===Fe.Gu.Loading?"spinner":void 0,disabled:s?.state===Fe.Gu.Loading},"Run queries"),t.createElement("div",{"data-testid":A.Tp.components.DataSource.Prometheus.queryEditor.editorToggle},t.createElement(It,{mode:b,onChange:v}))),t.createElement(yt.$,{v:.5}),t.createElement(Be.D,null,b===B.f.Code&&t.createElement(gn.$,{...e,query:d,showExplain:g,onChange:P}),b===B.f.Builder&&t.createElement(ja,{query:d,datasource:e.datasource,onChange:P,onRunQuery:e.onRunQuery,data:s,showExplain:g}),t.createElement(ut,{query:d,app:e.app,onChange:a,onRunQuery:n})))});gt.displayName="PromQueryEditorSelector";var fn=i(60042);function hn(e){const{datasource:a,query:n,range:s,data:r,onChange:m,onRunQuery:u}=e;return t.createElement(fn.A,{datasource:a,query:n,onRunQuery:u,onChange:m,history:[],range:s,data:r,"data-testid":yn.editor})}const yn={editor:"prom-editor-cloud-alerting"};function vn(e){const{app:a}=e;switch(a){case L.Jk.CloudAlerting:return t.createElement(hn,{...e});default:return t.createElement(gt,{...e})}}const En=(0,t.memo)(vn);var bn=i(4253),xn=i(87066);const Sn=new U.tD(xn.UD).setQueryEditor(En).setConfigEditor(bn._p).setQueryEditorHelp(le)}}]); //# sourceMappingURL=4254.c5f4a5512b252e3a5796.js.map
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
static
---
0755
0.c88fc16b6533c8976681.js
11857 bytes
0644
0.c88fc16b6533c8976681.js.map
46011 bytes
0644
1118.6d1cbbd2070e00a7483d.js
9459 bytes
0644
1118.6d1cbbd2070e00a7483d.js.map
22012 bytes
0644
1121.6c31bf81768d3312b0d4.js
11557 bytes
0644
1121.6c31bf81768d3312b0d4.js.map
40274 bytes
0644
1122.1b3b5a9bdf4a2fc70a83.js
4310 bytes
0644
1122.1b3b5a9bdf4a2fc70a83.js.map
9301 bytes
0644
1133.cd705902767ed2e9bf55.js
107191 bytes
0644
1133.cd705902767ed2e9bf55.js.map
459177 bytes
0644
1216.ddb58ad09e0c4e3f4079.js
12860 bytes
0644
1216.ddb58ad09e0c4e3f4079.js.map
47906 bytes
0644
1282.2347f27d5b3a18a42a1e.js
2965 bytes
0644
1282.2347f27d5b3a18a42a1e.js.map
6699 bytes
0644
1345.8570fef914aafab94513.js
2223 bytes
0644
1345.8570fef914aafab94513.js.map
5201 bytes
0644
1347.8ad23b870a6e21306189.js
32035 bytes
0644
1347.8ad23b870a6e21306189.js.map
89851 bytes
0644
1420.f2553cafc235b7c32261.js
14576 bytes
0644
1420.f2553cafc235b7c32261.js.map
32839 bytes
0644
1438.897db349b7f48a15b9eb.js
2830 bytes
0644
1438.897db349b7f48a15b9eb.js.map
6911 bytes
0644
1446.babd36e7134aac1046c4.js
1832 bytes
0644
1446.babd36e7134aac1046c4.js.map
3282 bytes
0644
1488.ff35935a06f41b02b6cc.js
316 bytes
0644
1488.ff35935a06f41b02b6cc.js.map
1206 bytes
0644
1560.30962127c91e5eae9982.js
8916 bytes
0644
1560.30962127c91e5eae9982.js.map
20515 bytes
0644
1660.e1f66118fb028d12074f.js
21866 bytes
0644
1660.e1f66118fb028d12074f.js.map
71039 bytes
0644
1698.68ff1ef08e94a87836b3.js
12570 bytes
0644
1698.68ff1ef08e94a87836b3.js.map
46006 bytes
0644
1708.f42a783c0f6c7a317d49.js
2249 bytes
0644
1708.f42a783c0f6c7a317d49.js.map
2954 bytes
0644
1710.d96221051fceaf8c89dd.js
10172 bytes
0644
1710.d96221051fceaf8c89dd.js.map
22097 bytes
0644
1740.e57d920c47a11759ade4.js
6204 bytes
0644
1740.e57d920c47a11759ade4.js.map
13740 bytes
0644
1888.0ede69d3190c536744b9.js
6822 bytes
0644
1888.0ede69d3190c536744b9.js.map
15421 bytes
0644
1914.58113477b565d57e8bfe.js
10710 bytes
0644
1914.58113477b565d57e8bfe.js.map
23555 bytes
0644
198.b84c0e4f5759344ae05a.js
8267 bytes
0644
198.b84c0e4f5759344ae05a.js.map
19446 bytes
0644
205.6c51b5e35c8147226738.js
3542 bytes
0644
205.6c51b5e35c8147226738.js.map
8376 bytes
0644
2058.0e5df44647184aaf02e2.js
1252 bytes
0644
2058.0e5df44647184aaf02e2.js.map
4744 bytes
0644
2077.12b2df3682085a92a810.js
34133 bytes
0644
2077.12b2df3682085a92a810.js.map
122011 bytes
0644
2094.259625d8acf28b9c7361.js
16518 bytes
0644
2094.259625d8acf28b9c7361.js.map
41269 bytes
0644
21.afca69f2d336e287a655.js
6172 bytes
0644
21.afca69f2d336e287a655.js.map
17305 bytes
0644
2136.9c8dcd43d3af327f51f5.js
498667 bytes
0644
2136.9c8dcd43d3af327f51f5.js.map
1908011 bytes
0644
2228.cf629cf4a83c5b6c2671.js
269 bytes
0644
2228.cf629cf4a83c5b6c2671.js.map
457 bytes
0644
2244.9324c28eca7d2ffb7568.js
3396 bytes
0644
2244.9324c28eca7d2ffb7568.js.map
7683 bytes
0644
2261.ac6a26854d5acee00776.js
106373 bytes
0644
2261.ac6a26854d5acee00776.js.map
478562 bytes
0644
2278.bdd73b14b6337c6b14e4.js
5754 bytes
0644
2278.bdd73b14b6337c6b14e4.js.map
13399 bytes
0644
2398.3de0e7aa3057b7dcf9da.js
8016 bytes
0644
2398.3de0e7aa3057b7dcf9da.js.map
18383 bytes
0644
2514.c86950e9813e27962050.js
1983 bytes
0644
2514.c86950e9813e27962050.js.map
4863 bytes
0644
2571.345ecfd2b82551018f2e.js
162139 bytes
0644
2571.345ecfd2b82551018f2e.js.map
2046 bytes
0644
2586.972e9a7d564398afee76.js
6385 bytes
0644
2586.972e9a7d564398afee76.js.map
14676 bytes
0644
2658.f4100815829c4d37d35c.js
5432 bytes
0644
2658.f4100815829c4d37d35c.js.map
13650 bytes
0644
2686.2fbaa7db9c01d59cad8d.js
2815 bytes
0644
2686.2fbaa7db9c01d59cad8d.js.map
6564 bytes
0644
2692.20098ad0182743d98d62.js
2282 bytes
0644
2692.20098ad0182743d98d62.js.map
5680 bytes
0644
2694.a31d749361a36eb167da.js
2726 bytes
0644
2694.a31d749361a36eb167da.js.map
3618 bytes
0644
2745.2e5ec1fdf377d2940fb4.js
33584 bytes
0644
2745.2e5ec1fdf377d2940fb4.js.map
120277 bytes
0644
2962.4c3147d8ee365fe296ef.js
7640 bytes
0644
2962.4c3147d8ee365fe296ef.js.map
17621 bytes
0644
3042.248a4194805a8500fd28.js
19010 bytes
0644
3042.248a4194805a8500fd28.js.map
38148 bytes
0644
3062.4e9a427c2a59d53f902e.js
4663 bytes
0644
3062.4e9a427c2a59d53f902e.js.map
10650 bytes
0644
3082.c09cff56c35d736ee8b6.js
52872 bytes
0644
3082.c09cff56c35d736ee8b6.js.map
56822 bytes
0644
3096.8d41728a4f5010bc56a2.js
4378 bytes
0644
3096.8d41728a4f5010bc56a2.js.map
10739 bytes
0644
3098.f22ad6dab13d06477be0.js
31462 bytes
0644
3098.f22ad6dab13d06477be0.js.map
85588 bytes
0644
3182.1d531f28507c00e391fc.js
13817 bytes
0644
3182.1d531f28507c00e391fc.js.map
26653 bytes
0644
3407.666eb88a718e66b93f72.js
34425 bytes
0644
3407.666eb88a718e66b93f72.js.map
103716 bytes
0644
3418.d31d882b87bd5a2ef66f.js
33061 bytes
0644
3418.d31d882b87bd5a2ef66f.js.map
114234 bytes
0644
3541.8d063e3d43d55745d89b.js
20582 bytes
0644
3541.8d063e3d43d55745d89b.js.map
67154 bytes
0644
3543.eecef49ce94da5ee0418.js
136752 bytes
0644
3543.eecef49ce94da5ee0418.js.map
446118 bytes
0644
3622.976b1aef94b333e450b9.js
1260 bytes
0644
3622.976b1aef94b333e450b9.js.map
2819 bytes
0644
3686.102abfc00452299017bb.js
87 bytes
0644
3718.3993946b7a0eb8f64b4d.js
23620 bytes
0644
3718.3993946b7a0eb8f64b4d.js.map
92024 bytes
0644
3726.3adfe210678d2cd26969.js
31765 bytes
0644
3726.3adfe210678d2cd26969.js.map
118227 bytes
0644
398.4e93ffb675609ea7a9c6.js
2990 bytes
0644
398.4e93ffb675609ea7a9c6.js.map
7145 bytes
0644
4114.953b39a9ce57caa0e87a.js
2536 bytes
0644
4114.953b39a9ce57caa0e87a.js.map
6028 bytes
0644
4120.67bf5d203ed4a2eb5f1b.js
3229 bytes
0644
4120.67bf5d203ed4a2eb5f1b.js.map
7533 bytes
0644
4209.c7060d489834063658f5.js
17352 bytes
0644
4209.c7060d489834063658f5.js.map
30980 bytes
0644
4254.c5f4a5512b252e3a5796.js
71716 bytes
0644
4254.c5f4a5512b252e3a5796.js.map
237783 bytes
0644
4289.d5662b0904798ff437e9.js
16496 bytes
0644
4289.d5662b0904798ff437e9.js.map
32015 bytes
0644
4334.bc078c368a20ed3257b6.js
2598 bytes
0644
4334.bc078c368a20ed3257b6.js.map
6308 bytes
0644
4630.b604ea691184ba563d59.js
5585 bytes
0644
4630.b604ea691184ba563d59.js.map
11866 bytes
0644
4680.358dfdd92851f69ecc97.js
4573 bytes
0644
4680.358dfdd92851f69ecc97.js.map
10841 bytes
0644
4698.696713071ff5d9929a11.js
3682 bytes
0644
4698.696713071ff5d9929a11.js.map
8967 bytes
0644
4787.bd938ea7cb58d64ee246.js
738 bytes
0644
4787.bd938ea7cb58d64ee246.js.map
2168 bytes
0644
4839.17a10e0ceca3eb8954b4.js
39585 bytes
0644
4839.17a10e0ceca3eb8954b4.js.map
145699 bytes
0644
494.8cf705bc1ea509187c88.js
3796 bytes
0644
494.8cf705bc1ea509187c88.js.map
8987 bytes
0644
4958.cd447d877778fc5af081.js
4923 bytes
0644
4958.cd447d877778fc5af081.js.map
11000 bytes
0644
4962.0da526ad79f816a15985.js
2242 bytes
0644
4962.0da526ad79f816a15985.js.map
4978 bytes
0644
50.7b1e44d5b9dbbed566be.js
617497 bytes
0644
50.7b1e44d5b9dbbed566be.js.map
2271464 bytes
0644
5017.003cacead1bba1cba035.js
3567142 bytes
0644
5017.003cacead1bba1cba035.js.map
13214665 bytes
0644
5130.4d31108de97088a3b014.js
2850 bytes
0644
5130.4d31108de97088a3b014.js.map
6536 bytes
0644
5196.064b914693b6a5591a48.js
4035 bytes
0644
5196.064b914693b6a5591a48.js.map
10273 bytes
0644
5240.eceb5f73f807ac22d800.js
704 bytes
0644
5240.eceb5f73f807ac22d800.js.map
2618 bytes
0644
5277.ce6608b6f47246e32767.js
269 bytes
0644
5277.ce6608b6f47246e32767.js.map
457 bytes
0644
5280.4348c762594edebf7d0e.js
16657 bytes
0644
5280.4348c762594edebf7d0e.js.map
89146 bytes
0644
5356.eabc0dc2021a3814a65f.js
10156 bytes
0644
5356.eabc0dc2021a3814a65f.js.map
25249 bytes
0644
5358.7c5e9e1b192582f3082d.js
6173 bytes
0644
5358.7c5e9e1b192582f3082d.js.map
19652 bytes
0644
5364.ac21c32fd45a27bc998a.js
3070 bytes
0644
5364.ac21c32fd45a27bc998a.js.map
7368 bytes
0644
5398.d0c11aa7c1232f4afe44.js
81872 bytes
0644
5398.d0c11aa7c1232f4afe44.js.map
769414 bytes
0644
5428.e85b0800b30feca9d7dc.js
330175 bytes
0644
5428.e85b0800b30feca9d7dc.js.map
530929 bytes
0644
5511.93023985e5c5efe49ae2.js
21275 bytes
0644
5511.93023985e5c5efe49ae2.js.map
93188 bytes
0644
5550.9284e42acc3f2bbdfc9d.js
7039 bytes
0644
5550.9284e42acc3f2bbdfc9d.js.map
16382 bytes
0644
558.701e8b4db7b852c4a10d.js
12211 bytes
0644
558.701e8b4db7b852c4a10d.js.map
24505 bytes
0644
5618.638c32d58d896f3f7261.js
3348 bytes
0644
5618.638c32d58d896f3f7261.js.map
8181 bytes
0644
5648.cb3fd92dbbc06f7d45d2.js
57392 bytes
0644
5648.cb3fd92dbbc06f7d45d2.js.map
60585 bytes
0644
5786.db7abc3b8e4f474a8f7b.js
5325 bytes
0644
5786.db7abc3b8e4f474a8f7b.js.map
11885 bytes
0644
5807.f05d997ece5811bbc849.js
2922915 bytes
0644
5807.f05d997ece5811bbc849.js.map
10524334 bytes
0644
5950.30ec6aaa9dcece6c3b3c.js
4616249 bytes
0644
5950.30ec6aaa9dcece6c3b3c.js.map
19277501 bytes
0644
6018.f4de7ac19ac8f0c774e6.js
5861 bytes
0644
6018.f4de7ac19ac8f0c774e6.js.map
13314 bytes
0644
6029.0549a3fcb50e73c4b256.js
409895 bytes
0644
6029.0549a3fcb50e73c4b256.js.map
998408 bytes
0644
6185.883629fcc773b4968b24.js
2258 bytes
0644
6185.883629fcc773b4968b24.js.map
4788 bytes
0644
6263.e4ef9aaa3073ebacc3a5.js
54594 bytes
0644
6263.e4ef9aaa3073ebacc3a5.js.map
242030 bytes
0644
6302.257b2eb06c25ee74090e.js
8440 bytes
0644
6302.257b2eb06c25ee74090e.js.map
19322 bytes
0644
6359.f824c85233ec703f8cea.js
11411 bytes
0644
6359.f824c85233ec703f8cea.js.map
41881 bytes
0644
6377.45d36c143a694fc45bd3.js
20571 bytes
0644
6377.45d36c143a694fc45bd3.js.map
79590 bytes
0644
6378.27b1e6d863a0a3b85962.js
977993 bytes
0644
6378.27b1e6d863a0a3b85962.js.map
3865587 bytes
0644
6414.192cf271de6ecbbbcb11.js
3984 bytes
0644
6414.192cf271de6ecbbbcb11.js.map
9134 bytes
0644
6446.b4b93ee91aa1bb57ea93.js
7731 bytes
0644
6446.b4b93ee91aa1bb57ea93.js.map
17485 bytes
0644
6464.f379e014f9909e621de6.js
34429 bytes
0644
6464.f379e014f9909e621de6.js.map
113303 bytes
0644
6499.9f52e0855fd4782a8b45.js
78297 bytes
0644
6499.9f52e0855fd4782a8b45.js.map
273155 bytes
0644
6587.bfb1ca0c32c6f325b0df.js
135004 bytes
0644
6587.bfb1ca0c32c6f325b0df.js.map
541974 bytes
0644
660.838743295c2108f3492d.js
43101 bytes
0644
660.838743295c2108f3492d.js.map
100340 bytes
0644
6678.a615dbe07b8a3e591e66.js
14725 bytes
0644
6678.a615dbe07b8a3e591e66.js.map
51145 bytes
0644
680.1a328432fae403eacab3.js
53846 bytes
0644
680.1a328432fae403eacab3.js.map
57615 bytes
0644
6830.0c200fec1efc2be388e2.js
5811 bytes
0644
6830.0c200fec1efc2be388e2.js.map
13972 bytes
0644
6934.fa19d392db34411fb300.js
168944 bytes
0644
6934.fa19d392db34411fb300.js.map
540337 bytes
0644
6940.9c5d3a2dcf9d7d58fa2c.js
3408 bytes
0644
6940.9c5d3a2dcf9d7d58fa2c.js.map
8039 bytes
0644
6969.f8f153735314f9426000.js
1119 bytes
0644
6969.f8f153735314f9426000.js.map
4230 bytes
0644
6990.cc2f5674128929a3f870.js
4418 bytes
0644
6990.cc2f5674128929a3f870.js.map
10503 bytes
0644
7048.117de444b1e1cb5a1360.js
4365 bytes
0644
7048.117de444b1e1cb5a1360.js.map
10316 bytes
0644
7166.480da6892ee84ee8bb53.js
593985 bytes
0644
7166.480da6892ee84ee8bb53.js.map
2430098 bytes
0644
7200.dc60128b9d612fc7b5b0.js
3634 bytes
0644
7200.dc60128b9d612fc7b5b0.js.map
8184 bytes
0644
7246.3adf293a34fa2043387b.js
4306 bytes
0644
7246.3adf293a34fa2043387b.js.map
9084 bytes
0644
7400.024c96bd5b99b8b47a63.js
14112 bytes
0644
7400.024c96bd5b99b8b47a63.js.map
64001 bytes
0644
7409.24316c87d08c1053c46a.js
3287 bytes
0644
7409.24316c87d08c1053c46a.js.map
11649 bytes
0644
7455.845968885abe369e6479.js
19801 bytes
0644
7455.845968885abe369e6479.js.map
77213 bytes
0644
7466.09e6e197d2507f62097d.js
11670 bytes
0644
7466.09e6e197d2507f62097d.js.map
24830 bytes
0644
7515.95323f0dfbd0de010e5c.js
1083 bytes
0644
7515.95323f0dfbd0de010e5c.js.map
1321 bytes
0644
7613.6334cff4df12cc157522.js
808779 bytes
0644
7613.6334cff4df12cc157522.js.map
991378 bytes
0644
7836.6a7e4207e70fc2dc235f.js
7192 bytes
0644
7836.6a7e4207e70fc2dc235f.js.map
17613 bytes
0644
7882.1a3cc418752c83396970.js
3743 bytes
0644
7882.1a3cc418752c83396970.js.map
14950 bytes
0644
7886.485c46f14540aa23cf70.js
8668 bytes
0644
7886.485c46f14540aa23cf70.js.map
20124 bytes
0644
7914.2b1a06c504df18e20fe4.js
2390 bytes
0644
7914.2b1a06c504df18e20fe4.js.map
6418 bytes
0644
7982.6761217193d3060dbf0e.js
188973 bytes
0644
7982.6761217193d3060dbf0e.js.map
1737667 bytes
0644
8054.094788468423bb88ee68.js
38124 bytes
0644
8054.094788468423bb88ee68.js.map
132296 bytes
0644
8107.92bd414247a1d05c014f.js
5144 bytes
0644
8107.92bd414247a1d05c014f.js.map
15320 bytes
0644
8230.2eedae6021a4715c6dea.js
2413 bytes
0644
8230.2eedae6021a4715c6dea.js.map
5812 bytes
0644
8332.f4b05d2f028641445650.js
3177 bytes
0644
8332.f4b05d2f028641445650.js.map
7186 bytes
0644
8334.c95ec0eb6900c0cf7e89.js
7803 bytes
0644
8334.c95ec0eb6900c0cf7e89.js.map
17714 bytes
0644
8390.1fd9505094c8cf8830ab.js
2096 bytes
0644
8390.1fd9505094c8cf8830ab.js.map
5157 bytes
0644
84.a6f8658e6a033d642231.js
30608 bytes
0644
84.a6f8658e6a033d642231.js.map
142543 bytes
0644
8494.4470c87b7093ddf70db7.js
2180 bytes
0644
8494.4470c87b7093ddf70db7.js.map
4863 bytes
0644
8542.1391ab96a455b01963a7.js
1514 bytes
0644
8542.1391ab96a455b01963a7.js.map
3249 bytes
0644
8566.e05562713181c6ca30fe.js
3852 bytes
0644
8566.e05562713181c6ca30fe.js.map
8781 bytes
0644
8730.3dcdd8cbf22c63b45d78.js
2109 bytes
0644
8730.3dcdd8cbf22c63b45d78.js.map
2893 bytes
0644
8786.1b0e43b80c82c73e2096.js
1535 bytes
0644
8786.1b0e43b80c82c73e2096.js.map
4055 bytes
0644
8902.37d0b14aa6ef24687b7b.js
2673 bytes
0644
8902.37d0b14aa6ef24687b7b.js.map
5993 bytes
0644
8990.5a822b8788ebf0bdba81.js
3969 bytes
0644
8990.5a822b8788ebf0bdba81.js.map
9161 bytes
0644
9034.200fc7a09b466256c9a9.js
3486 bytes
0644
9034.200fc7a09b466256c9a9.js.map
8180 bytes
0644
9038.7ae2448b9cc5c423aeca.js
4937 bytes
0644
9038.7ae2448b9cc5c423aeca.js.map
11973 bytes
0644
9118.3121c6b96ec7dc211973.js
48311 bytes
0644
9118.3121c6b96ec7dc211973.js.map
62149 bytes
0644
9150.9eb62d45f9b21cb38850.js
10056 bytes
0644
9150.9eb62d45f9b21cb38850.js.map
21143 bytes
0644
9199.9897e268d6d13e834d4c.js
2307 bytes
0644
9199.9897e268d6d13e834d4c.js.map
8853 bytes
0644
9320.c403e78b78aa6df1d0bd.js
336139 bytes
0644
9320.c403e78b78aa6df1d0bd.js.map
1624993 bytes
0644
9355.421530b20c759bb75633.js
22098 bytes
0644
9355.421530b20c759bb75633.js.map
66961 bytes
0644
9384.a0d5fc49f1b15b3e311e.js
2855 bytes
0644
9384.a0d5fc49f1b15b3e311e.js.map
3717 bytes
0644
9390.fa2af7f3d3d9600c08ee.js
4201 bytes
0644
9390.fa2af7f3d3d9600c08ee.js.map
9682 bytes
0644
946.f2494c0c39a9590349b9.js
9194 bytes
0644
946.f2494c0c39a9590349b9.js.map
22193 bytes
0644
9510.4cfa85a51931dc20573a.js
2949 bytes
0644
9510.4cfa85a51931dc20573a.js.map
6939 bytes
0644
9521.de2a74ca5eb365810ca5.js
46306 bytes
0644
9521.de2a74ca5eb365810ca5.js.map
51040 bytes
0644
9538.996ade7a03ccdb01942d.js
64493 bytes
0644
9538.996ade7a03ccdb01942d.js.map
49212 bytes
0644
9569.a8d60b39654a160cb917.js
27965 bytes
0644
9569.a8d60b39654a160cb917.js.map
99160 bytes
0644
9643.b408884004ca73c102bc.js
627 bytes
0644
9643.b408884004ca73c102bc.js.map
2195 bytes
0644
968.22e079d28acb4131d34c.js
4001 bytes
0644
968.22e079d28acb4131d34c.js.map
9740 bytes
0644
970.a61e37b9b897c8098261.js
5239 bytes
0644
970.a61e37b9b897c8098261.js.map
13858 bytes
0644
9711.d6e977bd60f0e5ba673d.js
13555 bytes
0644
9711.d6e977bd60f0e5ba673d.js.map
43973 bytes
0644
9737.3340c89ea96d33307cc7.js
1001 bytes
0644
9737.3340c89ea96d33307cc7.js.map
3504 bytes
0644
9739.5a801055fcf72bf4d06f.js
1147 bytes
0644
9739.5a801055fcf72bf4d06f.js.map
4390 bytes
0644
9772.49e918c9331237552c0b.js
141 bytes
0644
9772.49e918c9331237552c0b.js.map
416 bytes
0644
9838.b8f01dc360f0c2151291.js
4003 bytes
0644
9838.b8f01dc360f0c2151291.js.map
8118 bytes
0644
AdminAuthentication.b7044adf53b669e61a87.js
22504 bytes
0644
AdminAuthentication.b7044adf53b669e61a87.js.map
67352 bytes
0644
AdminEditOrgPage.96fb6c37346641f44246.js
6369 bytes
0644
AdminEditOrgPage.96fb6c37346641f44246.js.map
20602 bytes
0644
AdminFeatureTogglesPage.22157fe31f358f1c4f09.js
4939 bytes
0644
AdminFeatureTogglesPage.22157fe31f358f1c4f09.js.map
16531 bytes
0644
AdminListOrgsPage.f01c8496fd635e20124b.js
2702 bytes
0644
AdminListOrgsPage.f01c8496fd635e20124b.js.map
7735 bytes
0644
AdminSettings.845c6def917892a0c1f9.js
1903 bytes
0644
AdminSettings.845c6def917892a0c1f9.js.map
5580 bytes
0644
AlertAmRoutes.10a0d9a23a082caf12c8.js
54554 bytes
0644
AlertAmRoutes.10a0d9a23a082caf12c8.js.map
208792 bytes
0644
AlertGroups.efd523dc41621f9f7935.js
10088 bytes
0644
AlertGroups.efd523dc41621f9f7935.js.map
39108 bytes
0644
AlertRuleListIndex.f0b17a6119cc5ea575ed.js
44623 bytes
0644
AlertRuleListIndex.f0b17a6119cc5ea575ed.js.map
156842 bytes
0644
AlertRuleListLegacy.8e675db4469232c87308.js
6270 bytes
0644
AlertRuleListLegacy.8e675db4469232c87308.js.map
18086 bytes
0644
AlertSilences.4ff252ad4c0057124d5d.js
24687 bytes
0644
AlertSilences.4ff252ad4c0057124d5d.js.map
83377 bytes
0644
AlertTabCtrl.d3377d127a336a69beb5.js
9844 bytes
0644
AlertTabCtrl.d3377d127a336a69beb5.js.map
27934 bytes
0644
AlertingAdmin.e62f9c73a69abe6a1ac0.js
10523 bytes
0644
AlertingAdmin.e62f9c73a69abe6a1ac0.js.map
37393 bytes
0644
AlertingFeatureTogglePage.f971bb7b2ad4ceb0acbd.js
672 bytes
0644
AlertingFeatureTogglePage.f971bb7b2ad4ceb0acbd.js.map
1220 bytes
0644
AlertingHome.0d6be993ef4a3df37345.js
33492 bytes
0644
AlertingHome.0d6be993ef4a3df37345.js.map
106868 bytes
0644
AlertingRedirectToRule.37a0040f89e20b99b751.js
3648 bytes
0644
AlertingRedirectToRule.37a0040f89e20b99b751.js.map
10875 bytes
0644
AlertingRuleForm.66bb5b2724b31ae6a5a4.js
79931 bytes
0644
AlertingRuleForm.66bb5b2724b31ae6a5a4.js.map
292923 bytes
0644
AlertingUpgrade.c757b99e306db50cdb16.js
31333 bytes
0644
AlertingUpgrade.c757b99e306db50cdb16.js.map
98330 bytes
0644
AngularApp.7e72879caebef22a5217.js
72809 bytes
0644
AngularApp.7e72879caebef22a5217.js.map
102853 bytes
0644
ApiKeysPage.12b0cd511f7b1e9c50dc.js
8422 bytes
0644
ApiKeysPage.12b0cd511f7b1e9c50dc.js.map
23375 bytes
0644
BenchmarksPage.3a183df3d44714f9a96a.js
2941 bytes
0644
BenchmarksPage.3a183df3d44714f9a96a.js.map
9749 bytes
0644
ChangePasswordPage.5e0562f6a9674bd95cfe.js
470 bytes
0644
ChangePasswordPage.5e0562f6a9674bd95cfe.js.map
1195 bytes
0644
Connections.b53c715b9b9a782d8647.js
32448 bytes
0644
Connections.b53c715b9b9a782d8647.js.map
112998 bytes
0644
CorrelationsFeatureToggle.71addced22f59948b708.js
674 bytes
0644
CorrelationsFeatureToggle.71addced22f59948b708.js.map
1149 bytes
0644
CorrelationsPage.4e02feddf752bdf7cfe6.js
22725 bytes
0644
CorrelationsPage.4e02feddf752bdf7cfe6.js.map
69262 bytes
0644
CreateTeam.dbde5b87278cf087cc5e.js
3046 bytes
0644
CreateTeam.dbde5b87278cf087cc5e.js.map
9594 bytes
0644
DashboardImport.06e6c4c03113061aae6c.js
18153 bytes
0644
DashboardImport.06e6c4c03113061aae6c.js.map
58242 bytes
0644
DashboardListPage.dac1fe75fbaa4f9b1c23.js
30967 bytes
0644
DashboardListPage.dac1fe75fbaa4f9b1c23.js.map
108517 bytes
0644
DashboardPage.5e50193556ad6b828f5d.js
2786 bytes
0644
DashboardPage.5e50193556ad6b828f5d.js.map
8754 bytes
0644
DashboardPageProxy.9a6d60e5cac89c11c71c.js
65136 bytes
0644
DashboardPageProxy.9a6d60e5cac89c11c71c.js.map
226791 bytes
0644
DataTrailsPage.aa19ca6750eb3f91ac5d.js
331 bytes
0644
DataTrailsPage.aa19ca6750eb3f91ac5d.js.map
582 bytes
0644
EditNotificationChannelLegacy.75122e6dbfb215d89d81.js
10507 bytes
0644
EditNotificationChannelLegacy.75122e6dbfb215d89d81.js.map
37444 bytes
0644
EmbeddedDashboard.3856404d3d608c739864.js
1768 bytes
0644
EmbeddedDashboard.3856404d3d608c739864.js.map
5917 bytes
0644
FolderAlerting.a0fe69e3574320c8a74a.js
9633 bytes
0644
FolderAlerting.a0fe69e3574320c8a74a.js.map
29985 bytes
0644
FolderLibraryPanelsPage.95dd7bf6735e202a79d2.js
8599 bytes
0644
FolderLibraryPanelsPage.95dd7bf6735e202a79d2.js.map
25919 bytes
0644
LibraryPanelsPage.4a952d4aa9c21984995a.js
2704 bytes
0644
LibraryPanelsPage.4a952d4aa9c21984995a.js.map
7623 bytes
0644
ListPublicDashboardPage.469a693c4011a5193fcd.js
4713 bytes
0644
ListPublicDashboardPage.469a693c4011a5193fcd.js.map
14309 bytes
0644
MuteTimings.cb66b37f52c9ee3ce1da.js
20855 bytes
0644
MuteTimings.cb66b37f52c9ee3ce1da.js.map
58932 bytes
0644
NewNotificationChannelLegacy.1d57814bc534bb1a3681.js
9785 bytes
0644
NewNotificationChannelLegacy.1d57814bc534bb1a3681.js.map
32951 bytes
0644
NewOrgPage.2bb0e1cab09f0cbd0310.js
1325 bytes
0644
NewOrgPage.2bb0e1cab09f0cbd0310.js.map
3158 bytes
0644
NotificationsListLegacyPage.33212668898a6db361a8.js
2547 bytes
0644
NotificationsListLegacyPage.33212668898a6db361a8.js.map
6671 bytes
0644
NotificationsListPage.1eb9cb05bf88eee08291.js
1620 bytes
0644
NotificationsListPage.1eb9cb05bf88eee08291.js.map
3378 bytes
0644
NotificationsPage.d26b90d7348139106351.js
4646 bytes
0644
NotificationsPage.d26b90d7348139106351.js.map
25381 bytes
0644
OrgDetailsPage.2d5c98f188683c2e1d3b.js
6742 bytes
0644
OrgDetailsPage.2d5c98f188683c2e1d3b.js.map
17850 bytes
0644
PlaylistEditPage.d14b3673a1bb03ca0dbb.js
6892 bytes
0644
PlaylistEditPage.d14b3673a1bb03ca0dbb.js.map
19989 bytes
0644
PlaylistNewPage.13696f39b95b8416ede2.js
6583 bytes
0644
PlaylistNewPage.13696f39b95b8416ede2.js.map
19084 bytes
0644
PlaylistPage.8f45dcc09add615f90e8.js
7895 bytes
0644
PlaylistPage.8f45dcc09add615f90e8.js.map
25502 bytes
0644
PlaylistStartPage.8be462b13a24cddee188.js
275 bytes
0644
PlaylistStartPage.8be462b13a24cddee188.js.map
698 bytes
0644
PluginListPage.815b65d32380d0a800f7.js
12167 bytes
0644
PluginListPage.815b65d32380d0a800f7.js.map
43537 bytes
0644
PluginPage.c790de5e17a0b728dd3a.js
314 bytes
0644
PluginPage.c790de5e17a0b728dd3a.js.map
668 bytes
0644
ProfileFeatureTogglePage.a14257ebc5da1e8c85e0.js
552 bytes
0644
ProfileFeatureTogglePage.a14257ebc5da1e8c85e0.js.map
1012 bytes
0644
PublicDashboardPage.51c7c24941781e091898.js
4295 bytes
0644
PublicDashboardPage.51c7c24941781e091898.js.map
14393 bytes
0644
SelectOrgPage.695c19a5101a3a03ee28.js
1124 bytes
0644
SelectOrgPage.695c19a5101a3a03ee28.js.map
2993 bytes
0644
SendResetMailPage.f16b7172a87070f57227.js
1736 bytes
0644
SendResetMailPage.f16b7172a87070f57227.js.map
4350 bytes
0644
ServerStats.3fbd2493deb8f4598755.js
3863 bytes
0644
ServerStats.3fbd2493deb8f4598755.js.map
11534 bytes
0644
ServiceAccountCreatePage.4f989fb6cd2a41193ff0.js
2440 bytes
0644
ServiceAccountCreatePage.4f989fb6cd2a41193ff0.js.map
7939 bytes
0644
ServiceAccountPage.bc7c35b63b03ccc89628.js
14806 bytes
0644
ServiceAccountPage.bc7c35b63b03ccc89628.js.map
51593 bytes
0644
ServiceAccountsPage.baaa08c045390c05e276.js
14565 bytes
0644
ServiceAccountsPage.baaa08c045390c05e276.js.map
46399 bytes
0644
SignupInvited.81ad56aceb8dd1839e15.js
2360 bytes
0644
SignupInvited.81ad56aceb8dd1839e15.js.map
6096 bytes
0644
SnapshotListPage.519c760ed66124a771ff.js
3061 bytes
0644
SnapshotListPage.519c760ed66124a771ff.js.map
9043 bytes
0644
SoloPanelPage.c729750a88c3fa90d1cc.js
3229 bytes
0644
SoloPanelPage.c729750a88c3fa90d1cc.js.map
12316 bytes
0644
SoloPanelPageOld.6518c21ccaf29701fa97.js
1727 bytes
0644
SoloPanelPageOld.6518c21ccaf29701fa97.js.map
5509 bytes
0644
StoragePage.9b93a99e75f7f2842c11.js
14081 bytes
0644
StoragePage.9b93a99e75f7f2842c11.js.map
48740 bytes
0644
SupportBundles.567d512b3f919b8112e4.js
3058 bytes
0644
SupportBundles.567d512b3f919b8112e4.js.map
8751 bytes
0644
SupportBundlesCreate.fc6b6e4cf6366f751081.js
2779 bytes
0644
SupportBundlesCreate.fc6b6e4cf6366f751081.js.map
8882 bytes
0644
TeamList.2e23d37c91734f608f09.js
9019 bytes
0644
TeamList.2e23d37c91734f608f09.js.map
30348 bytes
0644
TeamPages.4f6177b4c6ec769c72d8.js
22839 bytes
0644
TeamPages.4f6177b4c6ec769c72d8.js.map
66001 bytes
0644
TestStuffPage.8ddabdd17d265b771b17.js
2654 bytes
0644
TestStuffPage.8ddabdd17d265b771b17.js.map
8058 bytes
0644
UserCreatePage.72e86cf2c9a3ce50cff3.js
1470 bytes
0644
UserCreatePage.72e86cf2c9a3ce50cff3.js.map
3788 bytes
0644
UserInvitePage.c8243c9cee4b06e10222.js
2576 bytes
0644
UserInvitePage.c8243c9cee4b06e10222.js.map
6594 bytes
0644
UserListPage.acbb5778a782ca90c7ba.js
25463 bytes
0644
UserListPage.acbb5778a782ca90c7ba.js.map
79671 bytes
0644
UserProfileEditPage.7cc4c218d9e4664250e3.js
14593 bytes
0644
UserProfileEditPage.7cc4c218d9e4664250e3.js.map
42901 bytes
0644
UsersListPage.1b61c82d62ca416b6f2f.js
8800 bytes
0644
UsersListPage.1b61c82d62ca416b6f2f.js.map
30059 bytes
0644
alert-rules-drawer-content.1fd9de3b496d077a5f3a.js
957 bytes
0644
alert-rules-drawer-content.1fd9de3b496d077a5f3a.js.map
3199 bytes
0644
alert-rules-toolbar-button.6f275f0d03748b6c297d.js
1429 bytes
0644
alert-rules-toolbar-button.6f275f0d03748b6c297d.js.map
4041 bytes
0644
alertmanagerPlugin.d13ca72afb3f996bb284.js
3810 bytes
0644
alertmanagerPlugin.d13ca72afb3f996bb284.js.map
10753 bytes
0644
app.b11fde05d43f9632a473.js
920821 bytes
0644
app.b11fde05d43f9632a473.js.map
69088 bytes
0644
assets-manifest.json
280835 bytes
0644
azureMonitorPlugin.0bc37a9d4e3bd8421cc0.js
232 bytes
0644
azureMonitorPlugin.0bc37a9d4e3bd8421cc0.js.map
600 bytes
0644
brace.fcd4b1c7e8b9264ab02c.js
371235 bytes
0644
brace.fcd4b1c7e8b9264ab02c.js.map
1132097 bytes
0644
canvasPanel.a46aa5e57d26b1fcc380.js
485254 bytes
0644
canvasPanel.a46aa5e57d26b1fcc380.js.map
2136916 bytes
0644
cloudMonitoringPlugin.c6ea431eae8e9ad2c7b1.js
198 bytes
0644
cloudMonitoringPlugin.c6ea431eae8e9ad2c7b1.js.map
555 bytes
0644
cloudwatchPlugin.06ef34f60000c4f7ea37.js
192 bytes
0644
cloudwatchPlugin.06ef34f60000c4f7ea37.js.map
544 bytes
0644
dark.7fa24d1908c1c96e6fcc.js
134 bytes
0644
elasticsearchPlugin.3f2edb012f5162b48903.js
214 bytes
0644
elasticsearchPlugin.3f2edb012f5162b48903.js.map
583 bytes
0644
explore-feature-toggle-page.897d9f08c342ad4c0702.js
612 bytes
0644
explore-feature-toggle-page.897d9f08c342ad4c0702.js.map
1280 bytes
0644
explore.476912733278e2a99729.js
165810 bytes
0644
explore.476912733278e2a99729.js.map
579148 bytes
0644
geomapPanel.14b9605971a38c51d262.js
417078 bytes
0644
geomapPanel.14b9605971a38c51d262.js.map
540371 bytes
0644
grafana.dark.8c716fbcf630eae84ced.css
209089 bytes
0644
grafana.light.b8b3904788f25480f4a1.css
209047 bytes
0644
grafanaPlugin.1cb208185a89de28dc3a.js
8654 bytes
0644
grafanaPlugin.1cb208185a89de28dc3a.js.map
28174 bytes
0644
graphPlugin.f47f722cdfc0ceb85136.js
70277 bytes
0644
graphPlugin.f47f722cdfc0ceb85136.js.map
243430 bytes
0644
graphitePlugin.d59175976346917781fe.js
75305 bytes
0644
graphitePlugin.d59175976346917781fe.js.map
272016 bytes
0644
heatmapPanel.f6f29a53ed0f682b4404.js
37545 bytes
0644
heatmapPanel.f6f29a53ed0f682b4404.js.map
158066 bytes
0644
influxdbPlugin.140a7777089f9559c11c.js
68843 bytes
0644
influxdbPlugin.140a7777089f9559c11c.js.map
265085 bytes
0644
jaegerPlugin.d254fd4a19ef0cb5b4f5.js
19727 bytes
0644
jaegerPlugin.d254fd4a19ef0cb5b4f5.js.map
65603 bytes
0644
light.af65e5ce03b9ed0aa2b1.js
134 bytes
0644
loki-query-field.a588d587d9d762b18f22.js
191 bytes
0644
loki-query-field.a588d587d9d762b18f22.js.map
548 bytes
0644
lokiPlugin.77364509de280321b6f8.js
185 bytes
0644
lokiPlugin.77364509de280321b6f8.js.map
536 bytes
0644
mixedPlugin.f36bd557a883d9a67538.js
180 bytes
0644
mssqlPlugin.88775f59ced74c2283c5.js
20457 bytes
0644
mssqlPlugin.88775f59ced74c2283c5.js.map
61420 bytes
0644
mysqlPlugin.72fb44411afd8165d201.js
17323 bytes
0644
mysqlPlugin.72fb44411afd8165d201.js.map
45415 bytes
0644
nodeGraphPanel.9a7cdd8efdae281cbe28.js
2107 bytes
0644
nodeGraphPanel.9a7cdd8efdae281cbe28.js.map
7132 bytes
0644
opentsdbPlugin.418b8c8ea0d97ed99edb.js
22866 bytes
0644
opentsdbPlugin.418b8c8ea0d97ed99edb.js.map
82180 bytes
0644
parcaPlugin.7f2e6dde7161b08ceed2.js
11184 bytes
0644
parcaPlugin.7f2e6dde7161b08ceed2.js.map
42340 bytes
0644
postgresPlugin.f88c598bae2653ae177b.js
18902 bytes
0644
postgresPlugin.f88c598bae2653ae177b.js.map
54304 bytes
0644
prom-query-field.ff217c474ea457bdd65e.js
14104 bytes
0644
prom-query-field.ff217c474ea457bdd65e.js.map
76811 bytes
0644
prometheusPlugin.2ba02c28d3f7293e903e.js
224 bytes
0644
prometheusPlugin.2ba02c28d3f7293e903e.js.map
699 bytes
0644
pyroscopePlugin.eb14b78419d619d90dca.js
22269 bytes
0644
pyroscopePlugin.eb14b78419d619d90dca.js.map
86896 bytes
0644
react-monaco-editor.988b1aa5e90b11f9941a.js
15759 bytes
0644
react-monaco-editor.988b1aa5e90b11f9941a.js.map
51544 bytes
0644
runtime.4b7e1b5735d2ed64b824.js
13640 bytes
0644
runtime.4b7e1b5735d2ed64b824.js.map
35122 bytes
0644
tableOldPlugin.8c72b8399d197aeebe16.js
25242 bytes
0644
tableOldPlugin.8c72b8399d197aeebe16.js.map
80497 bytes
0644
tempoPlugin.efa8c2a55984263b4b61.js
182 bytes
0644
tempoPlugin.efa8c2a55984263b4b61.js.map
529 bytes
0644
testDataDSPlugin.9717509b124d754e4f35.js
120550 bytes
0644
testDataDSPlugin.9717509b124d754e4f35.js.map
303302 bytes
0644
visjs-network.d93b3aa71ac24c8cde84.js
459653 bytes
0644
visjs-network.d93b3aa71ac24c8cde84.js.map
1951742 bytes
0644
zipkinPlugin.70f0f24b6d0b6e673ccb.js
13172 bytes
0644
zipkinPlugin.70f0f24b6d0b6e673ccb.js.map
46861 bytes
0644
N4ST4R_ID | Naxtarrr