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.

updates max length

dhrubesh057fba112b41
diff --git a/frontend/src/modules/Servicemap/utils.ts b/frontend/src/modules/Servicemap/utils.ts
index 80c5bfe8f5..8aaa5047ad 100644
--- a/frontend/src/modules/Servicemap/utils.ts
+++ b/frontend/src/modules/Servicemap/utils.ts
@@ -98,9 +98,10 @@ export const getTooltip = (node: {
};
export const transformLabel = (label: string) => {
- const MAX_LENGTH = 18;
+ const MAX_LENGTH = 13;
+ const MAX_SHOW = 10;
if (label.length > MAX_LENGTH) {
- return `${label.slice(0, MAX_LENGTH)}..`;
+ return `${label.slice(0, MAX_SHOW)}...`;
}
return label;
};