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
chore: uplot file renames and reference updates (#4004)
Yunus Me58ecff19bae
diff --git a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx b/frontend/src/container/FormAlertRules/ChartPreview/index.tsxindex fb0001c23a..9c3effe973 100644--- a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx+++ b/frontend/src/container/FormAlertRules/ChartPreview/index.tsx@@ -7,8 +7,8 @@ import { Time } from 'container/TopNav/DateTimeSelection/config';import { useGetQueryRange } from 'hooks/queryBuilder/useGetQueryRange';import { useIsDarkMode } from 'hooks/useDarkMode';import { useResizeObserver } from 'hooks/useDimensions';-import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartData';-import { getUPlotChartData } from 'lib/uPlotLib/utils/getChartData';+import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartOptions';+import { getUPlotChartData } from 'lib/uPlotLib/utils/getUplotChartData';import { useMemo, useRef } from 'react';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';diff --git a/frontend/src/container/GridCardLayout/GridCard/FullView/index.tsx b/frontend/src/container/GridCardLayout/GridCard/FullView/index.tsxindex 258c73eaab..c395c39bd1 100644--- a/frontend/src/container/GridCardLayout/GridCard/FullView/index.tsx+++ b/frontend/src/container/GridCardLayout/GridCard/FullView/index.tsx@@ -15,8 +15,8 @@ import { useStepInterval } from 'hooks/queryBuilder/useStepInterval';import { useChartMutable } from 'hooks/useChartMutable';import { useIsDarkMode } from 'hooks/useDarkMode';import { getDashboardVariables } from 'lib/dashbaordVariables/getDashboardVariables';-import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartData';-import { getUPlotChartData } from 'lib/uPlotLib/utils/getChartData';+import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartOptions';+import { getUPlotChartData } from 'lib/uPlotLib/utils/getUplotChartData';import { useDashboard } from 'providers/Dashboard/Dashboard';import { useCallback, useEffect, useRef, useState } from 'react';import { useSelector } from 'react-redux';diff --git a/frontend/src/container/GridCardLayout/GridCard/index.tsx b/frontend/src/container/GridCardLayout/GridCard/index.tsxindex ec72477ad2..7975f4279e 100644--- a/frontend/src/container/GridCardLayout/GridCard/index.tsx+++ b/frontend/src/container/GridCardLayout/GridCard/index.tsx@@ -5,8 +5,8 @@ import { useIsDarkMode } from 'hooks/useDarkMode';import { useResizeObserver } from 'hooks/useDimensions';import { useIntersectionObserver } from 'hooks/useIntersectionObserver';import { getDashboardVariables } from 'lib/dashbaordVariables/getDashboardVariables';-import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartData';-import { getUPlotChartData } from 'lib/uPlotLib/utils/getChartData';+import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartOptions';+import { getUPlotChartData } from 'lib/uPlotLib/utils/getUplotChartData';import isEmpty from 'lodash-es/isEmpty';import _noop from 'lodash-es/noop';import { memo, useCallback, useMemo, useRef, useState } from 'react';diff --git a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphs.tsx b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphs.tsxindex f82ae652c3..419180ed14 100644--- a/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphs.tsx+++ b/frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraphs.tsx@@ -4,8 +4,8 @@ import { useQueryBuilder } from 'hooks/queryBuilder/useQueryBuilder';import { useIsDarkMode } from 'hooks/useDarkMode';import { useResizeObserver } from 'hooks/useDimensions';import useUrlQuery from 'hooks/useUrlQuery';-import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartData';-import { getUPlotChartData } from 'lib/uPlotLib/utils/getChartData';+import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartOptions';+import { getUPlotChartData } from 'lib/uPlotLib/utils/getUplotChartData';import { useCallback, useMemo, useRef } from 'react';import { UseQueryResult } from 'react-query';import { useDispatch } from 'react-redux';diff --git a/frontend/src/container/TimeSeriesView/TimeSeriesView.tsx b/frontend/src/container/TimeSeriesView/TimeSeriesView.tsxindex 057aec82c4..1a6a49e15d 100644--- a/frontend/src/container/TimeSeriesView/TimeSeriesView.tsx+++ b/frontend/src/container/TimeSeriesView/TimeSeriesView.tsx@@ -1,8 +1,8 @@import Spinner from 'components/Spinner';import Uplot from 'components/Uplot';import { useIsDarkMode } from 'hooks/useDarkMode';-import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartData';-import { getUPlotChartData } from 'lib/uPlotLib/utils/getChartData';+import { getUPlotChartOptions } from 'lib/uPlotLib/getUplotChartOptions';+import { getUPlotChartData } from 'lib/uPlotLib/utils/getUplotChartData';import { useMemo, useRef } from 'react';import { SuccessResponse } from 'types/api';import { MetricRangePayloadProps } from 'types/api/metrics/getQueryRange';diff --git a/frontend/src/lib/uPlotLib/getUplotChartData.ts b/frontend/src/lib/uPlotLib/getUplotChartOptions.tssimilarity index 100%rename from frontend/src/lib/uPlotLib/getUplotChartData.tsrename to frontend/src/lib/uPlotLib/getUplotChartOptions.tsdiff --git a/frontend/src/lib/uPlotLib/utils/getChartData.ts b/frontend/src/lib/uPlotLib/utils/getUplotChartData.tssimilarity index 100%rename from frontend/src/lib/uPlotLib/utils/getChartData.tsrename to frontend/src/lib/uPlotLib/utils/getUplotChartData.ts