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(sidebar): added fix routes not highlighting, minor gitter fix (#8297)
Abhi kumar8f8dedb8b36e
diff --git a/frontend/src/constants/routes.ts b/frontend/src/constants/routes.tsindex 68cb02f31a..fbb53d93ea 100644--- a/frontend/src/constants/routes.ts+++ b/frontend/src/constants/routes.ts@@ -62,8 +62,10 @@ const ROUTES = {WORKSPACE_SUSPENDED: '/workspace-suspended',SHORTCUTS: '/settings/shortcuts',INTEGRATIONS: '/integrations',+ MESSAGING_QUEUES_BASE: '/messaging-queues',MESSAGING_QUEUES_KAFKA: '/messaging-queues/kafka',MESSAGING_QUEUES_KAFKA_DETAIL: '/messaging-queues/kafka/detail',+ INFRASTRUCTURE_MONITORING_BASE: '/infrastructure-monitoring',INFRASTRUCTURE_MONITORING_HOSTS: '/infrastructure-monitoring/hosts',INFRASTRUCTURE_MONITORING_KUBERNETES: '/infrastructure-monitoring/kubernetes',MESSAGING_QUEUES_CELERY_TASK: '/messaging-queues/celery-task',@@ -71,6 +73,7 @@ const ROUTES = {METRICS_EXPLORER: '/metrics-explorer/summary',METRICS_EXPLORER_EXPLORER: '/metrics-explorer/explorer',METRICS_EXPLORER_VIEWS: '/metrics-explorer/views',+ API_MONITORING_BASE: '/api-monitoring',API_MONITORING: '/api-monitoring/explorer',METRICS_EXPLORER_BASE: '/metrics-explorer',WORKSPACE_ACCESS_RESTRICTED: '/workspace-access-restricted',diff --git a/frontend/src/container/SideNav/SideNav.styles.scss b/frontend/src/container/SideNav/SideNav.styles.scssindex 361f832418..339c300770 100644--- a/frontend/src/container/SideNav/SideNav.styles.scss+++ b/frontend/src/container/SideNav/SideNav.styles.scss@@ -240,6 +240,7 @@line-height: 18px; /* 163.636% */letter-spacing: 0.88px;text-transform: uppercase;+ min-height: 18px;display: flex;align-items: center;diff --git a/frontend/src/container/SideNav/menuItems.tsx b/frontend/src/container/SideNav/menuItems.tsxindex 633493bb7e..7c20e98a45 100644--- a/frontend/src/container/SideNav/menuItems.tsx+++ b/frontend/src/container/SideNav/menuItems.tsx@@ -403,6 +403,10 @@ export const NEW_ROUTES_MENU_ITEM_KEY_MAP: Record<string, string> = {[ROUTES.TRACE_EXPLORER]: ROUTES.TRACES_EXPLORER,[ROUTES.LOGS_BASE]: ROUTES.LOGS_EXPLORER,[ROUTES.METRICS_EXPLORER_BASE]: ROUTES.METRICS_EXPLORER,+ [ROUTES.INFRASTRUCTURE_MONITORING_BASE]:+ ROUTES.INFRASTRUCTURE_MONITORING_HOSTS,+ [ROUTES.API_MONITORING_BASE]: ROUTES.API_MONITORING,+ [ROUTES.MESSAGING_QUEUES_BASE]: ROUTES.MESSAGING_QUEUES_OVERVIEW,};export default menuItems;diff --git a/frontend/src/utils/permission/index.ts b/frontend/src/utils/permission/index.tsindex 46d6df9eba..725c370ebf 100644--- a/frontend/src/utils/permission/index.ts+++ b/frontend/src/utils/permission/index.ts@@ -105,7 +105,7 @@ export const routePermission: Record<keyof typeof ROUTES, ROLES[]> = {TRACES_FUNNELS_DETAIL: ['ADMIN', 'EDITOR', 'VIEWER'],API_KEYS: ['ADMIN'],CUSTOM_DOMAIN_SETTINGS: ['ADMIN'],- LOGS_BASE: [],+ LOGS_BASE: ['ADMIN', 'EDITOR', 'VIEWER'],OLD_LOGS_EXPLORER: ['ADMIN', 'EDITOR', 'VIEWER'],SHORTCUTS: ['ADMIN', 'EDITOR', 'VIEWER'],INTEGRATIONS: ['ADMIN', 'EDITOR', 'VIEWER'],@@ -120,4 +120,7 @@ export const routePermission: Record<keyof typeof ROUTES, ROLES[]> = {API_MONITORING: ['ADMIN', 'EDITOR', 'VIEWER'],WORKSPACE_ACCESS_RESTRICTED: ['ADMIN', 'EDITOR', 'VIEWER'],METRICS_EXPLORER_BASE: ['ADMIN', 'EDITOR', 'VIEWER'],+ INFRASTRUCTURE_MONITORING_BASE: ['ADMIN', 'EDITOR', 'VIEWER'],+ API_MONITORING_BASE: ['ADMIN', 'EDITOR', 'VIEWER'],+ MESSAGING_QUEUES_BASE: ['ADMIN', 'EDITOR', 'VIEWER'],};