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
fix: remove integrations page view and add event for the same (#4802)
Vikrant Guptac76cef47ba36
diff --git a/frontend/src/pages/Integrations/Integrations.tsx b/frontend/src/pages/Integrations/Integrations.tsxindex 1f1644fbc7..187c77f4f6 100644--- a/frontend/src/pages/Integrations/Integrations.tsx+++ b/frontend/src/pages/Integrations/Integrations.tsx@@ -15,7 +15,7 @@ function Integrations(): JSX.Element {const history = useHistory();const location = useLocation();- const { trackPageView, trackEvent } = useAnalytics();+ const { trackEvent } = useAnalytics();const selectedIntegration = useMemo(() => urlQuery.get('integration'), [urlQuery,@@ -42,7 +42,7 @@ function Integrations(): JSX.Element {);useEffect(() => {- trackPageView(location.pathname);+ trackEvent(INTEGRATION_TELEMETRY_EVENTS.INTEGRATIONS_LIST_VISITED);// eslint-disable-next-line react-hooks/exhaustive-deps}, []);diff --git a/frontend/src/pages/Integrations/utils.ts b/frontend/src/pages/Integrations/utils.tsindex a244da4c82..0785eb89c0 100644--- a/frontend/src/pages/Integrations/utils.ts+++ b/frontend/src/pages/Integrations/utils.ts@@ -9,6 +9,7 @@ export const handleContactSupport = (isCloudUser: boolean): void => {};export const INTEGRATION_TELEMETRY_EVENTS = {+ INTEGRATIONS_LIST_VISITED: 'Integrations Page: Visited the list page',INTEGRATIONS_ITEM_LIST_CLICKED: 'Integrations Page: Clicked an integration',INTEGRATIONS_DETAIL_CONNECT:'Integrations Detail Page: Clicked connect integration button',