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: ttl api integration

Pranshu Chittora5be1eb58b229
diff --git a/frontend/src/api/settings/setRetention.ts b/frontend/src/api/settings/setRetention.ts
index da8fdf515b..6cb8c436a2 100644
--- a/frontend/src/api/settings/setRetention.ts
+++ b/frontend/src/api/settings/setRetention.ts
@@ -8,9 +8,7 @@ const setRetention = async (
props: Props,
): Promise<SuccessResponse<PayloadProps> | ErrorResponse> => {
try {
- const response = await axios.post<PayloadProps>(`/settings/ttl`, {
- props,
- });
+ const response = await axios.post<PayloadProps>(`/settings/ttl`, props);
return {
statusCode: 200,