Skip to content

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.

feat: update zoom pixels based on screen width

Nidhi Tandon8d6fb7f8976f
diff --git a/frontend/src/modules/Servicemap/utils.ts b/frontend/src/modules/Servicemap/utils.ts
index fb7abfb57a..347b07851b 100644
--- a/frontend/src/modules/Servicemap/utils.ts
+++ b/frontend/src/modules/Servicemap/utils.ts
@@ -79,10 +79,11 @@ export const getZoomPx = (): number => {
if (width < 1400) {
return 190;
} else if (width > 1400 && width < 1700) {
- return 380;
+ return 400;
} else if (width > 1700) {
- return 470;
+ return 485;
}
+ return 190;
};
export const getTooltip = (node: {