The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
import{$ as p}from"./DJyUKrCa.js";import{D as m}from"./qSFdVk7G.js";import{p as i,g as d}from"./DbaB4N6s.js";import{g as f}from"./BHvJp7nu.js";const u={"5m":5,"30m":30,"60m":60,"3h":180,"6h":360,"12h":720,"24h":1440,"3d":4320,"7d":10080,"1M":43200,"3M":129600};function h(t,r){const e=u[t]||360,o=d(r);return{from:o.minus({minutes:e}).toJSDate(),to:o.toJSDate()}}function P(t,r){const e=m.fromJSDate(t).setZone(r);return new p(e.year,e.month,e.day)}function T(t,r){const e=m.fromJSDate(t).setZone(r);return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}`}function R(t,r="24h"){const e=new URLSearchParams(window.location.search),o=e.get("preset"),a=e.get("from"),c=e.get("to");if(o&&u[o])return{preset:o,from:null,to:null};if(a&&c){const s=i(a,t),n=i(c,t);if(s.isValid&&n.isValid)return{preset:null,from:s.toJSDate(),to:n.toJSDate()}}return{preset:r,from:null,to:null}}function $(t,r){return t.preset?h(t.preset,r):{from:t.from,to:t.to}}function b(t,r={}){const{pushToHistory:e=!1}=r,o=new URLSearchParams,a=new URLSearchParams(window.location.search);for(const s of["projectId","organizationId"]){const n=a.get(s);n&&o.set(s,n)}for(const[s,n]of Object.entries(t))if(Array.isArray(n))for(const l of n)o.append(s,l);else n!=null&&n!==""?o.set(s,n):o.delete(s);const c=`${window.location.pathname}?${o.toString()}`;f(c,{replaceState:!e,noScroll:!0,keepFocus:!0})}function y(t,r={}){const{param:e="tab",clear:o=[]}=r,a=new URL(window.location.href);a.searchParams.set(e,t);for(const c of o)a.searchParams.delete(c);f(a.pathname+a.search+a.hash,{replaceState:!0,noScroll:!0,keepFocus:!0})}export{T as a,h as b,u as c,P as d,$ as g,R as p,y as s,b as u};