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.

changing constants for zoom-in for different screen sizes

Ankit Anand789880fa07f6
diff --git a/frontend/src/modules/Servicemap/utils.ts b/frontend/src/modules/Servicemap/utils.ts
index bec9c16a68..8a733b824c 100644
--- a/frontend/src/modules/Servicemap/utils.ts
+++ b/frontend/src/modules/Servicemap/utils.ts
@@ -78,10 +78,10 @@ export const getZoomPx = (): number => {
const width = window.screen.width;
if (width < 1400) {
return 190;
- } else if (width > 1400 && width < 2500) {
+ } else if (width > 1400 && width < 1700) {
return 380;
- } else if (width > 2500) {
- return 360;
+ } else if (width > 1700) {
+ return 470;
}
};