SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
feat: enable offline functionality for frontend (#6152)
Sai Chander347868c18b29
diff --git a/frontend/public/Images/signoz-hero-image.webp b/frontend/public/Images/signoz-hero-image.webpnew file mode 100644index 0000000000..b659b5b2e4Binary files /dev/null and b/frontend/public/Images/signoz-hero-image.webp differdiff --git a/frontend/public/css/uPlot.min.css b/frontend/public/css/uPlot.min.cssnew file mode 100644index 0000000000..f978c7ac02--- /dev/null+++ b/frontend/public/css/uPlot.min.css@@ -0,0 +1 @@+.uplot, .uplot *, .uplot *::before, .uplot *::after {box-sizing: border-box;}.uplot {font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";line-height: 1.5;width: min-content;}.u-title {text-align: center;font-size: 18px;font-weight: bold;}.u-wrap {position: relative;user-select: none;}.u-over, .u-under {position: absolute;}.u-under {overflow: hidden;}.uplot canvas {display: block;position: relative;width: 100%;height: 100%;}.u-axis {position: absolute;}.u-legend {font-size: 14px;margin: auto;text-align: center;}.u-inline {display: block;}.u-inline * {display: inline-block;}.u-inline tr {margin-right: 16px;}.u-legend th {font-weight: 600;}.u-legend th > * {vertical-align: middle;display: inline-block;}.u-legend .u-marker {width: 1em;height: 1em;margin-right: 4px;background-clip: padding-box !important;}.u-inline.u-live th::after {content: ":";vertical-align: middle;}.u-inline:not(.u-live) .u-value {display: none;}.u-series > * {padding: 4px;}.u-series th {cursor: pointer;}.u-legend .u-off > * {opacity: 0.3;}.u-select {background: rgba(0,0,0,0.07);position: absolute;pointer-events: none;}.u-cursor-x, .u-cursor-y {position: absolute;left: 0;top: 0;pointer-events: none;will-change: transform;}.u-hz .u-cursor-x, .u-vt .u-cursor-y {height: 100%;border-right: 1px dashed #607D8B;}.u-hz .u-cursor-y, .u-vt .u-cursor-x {width: 100%;border-bottom: 1px dashed #607D8B;}.u-cursor-pt {position: absolute;top: 0;left: 0;border-radius: 50%;border: 0 solid;pointer-events: none;will-change: transform;/*this has to be !important since we set inline "background" shorthand */background-clip: padding-box !important;}.u-axis.u-off, .u-select.u-off, .u-cursor-x.u-off, .u-cursor-y.u-off, .u-cursor-pt.u-off {display: none;}diff --git a/frontend/public/fonts/FiraCode-VariableFont_wght.ttf b/frontend/public/fonts/FiraCode-VariableFont_wght.ttfnew file mode 100644index 0000000000..5655ed5145Binary files /dev/null and b/frontend/public/fonts/FiraCode-VariableFont_wght.ttf differdiff --git a/frontend/public/fonts/Inter-VariableFont_opsz,wght.ttf b/frontend/public/fonts/Inter-VariableFont_opsz,wght.ttfnew file mode 100644index 0000000000..e31b51e3e9Binary files /dev/null and b/frontend/public/fonts/Inter-VariableFont_opsz,wght.ttf differdiff --git a/frontend/public/fonts/SpaceMono-Regular.ttf b/frontend/public/fonts/SpaceMono-Regular.ttfnew file mode 100644index 0000000000..04e56b923fBinary files /dev/null and b/frontend/public/fonts/SpaceMono-Regular.ttf differdiff --git a/frontend/public/fonts/WorkSans-VariableFont_wght.ttf b/frontend/public/fonts/WorkSans-VariableFont_wght.ttfnew file mode 100644index 0000000000..9a827989bdBinary files /dev/null and b/frontend/public/fonts/WorkSans-VariableFont_wght.ttf differdiff --git a/frontend/src/index.html.ejs b/frontend/src/index.html.ejsindex d08079587b..e393c430b0 100644--- a/frontend/src/index.html.ejs+++ b/frontend/src/index.html.ejs@@ -30,12 +30,12 @@<metadata-react-helmet="true"property="og:image"- content="https://signoz.io/img/signoz-hero-image.webp"+ content="/images/signoz-hero-image.webp"/><metadata-react-helmet="true"name="twitter:image"- content="https://signoz.io/img/signoz-hero-image.webp"+ content="/images/signoz-hero-image.webp"/><metadata-react-helmet="true"@@ -51,26 +51,10 @@<meta data-react-helmet="true" name="docusaurus_tag" content="default" /><meta name="robots" content="noindex"><link data-react-helmet="true" rel="shortcut icon" href="/favicon.ico" />- <link rel="preconnect" href="https://fonts.googleapis.com" />- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />- <link- href="https://fonts.googleapis.com/css?family=Fira+Code"- rel="stylesheet"- />- <link- rel="stylesheet"- href="https://unpkg.com/[email protected]/dist/uPlot.min.css"- />+ <link rel="stylesheet" href="/css/uPlot.min.css" />+- <link rel="preconnect" href="https://fonts.googleapis.com" />- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />- <link rel="preconnect" href="https://fonts.googleapis.com" />- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />- <link- href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Work+Sans:wght@500&family=Space+Mono&display=swap"- rel="stylesheet"- /></head><body><noscript>You need to enable JavaScript to run this app.</noscript>diff --git a/frontend/src/styles.scss b/frontend/src/styles.scssindex 7e50e4e38c..130464a980 100644--- a/frontend/src/styles.scss+++ b/frontend/src/styles.scss@@ -274,3 +274,28 @@ notifications - 2050url('../public/fonts/GeistMonoVF.woff2') format('woff');/* Add other formats if needed (e.g., woff2, truetype, opentype, svg) */}++@font-face {+ font-family: 'Inter';+ src: url('../public/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');+ font-weight: 300 700;+ font-style: normal;+}+@font-face {+ font-family: 'Work Sans';+ src: url('../public/fonts/WorkSans-VariableFont_wght.ttf') format('truetype');+ font-weight: 500;+ font-style: normal;+}+@font-face {+ font-family: 'Space Mono';+ src: url('../public/fonts/SpaceMono-Regular.ttf') format('truetype');+ font-weight: normal;+ font-style: normal;+}+@font-face {+ font-family: 'Fira Code';+ src: url('../public/fonts/FiraCode-VariableFont_wght.ttf') format('truetype');+ font-weight: 300 700;+ font-style: normal;+}