From 6ceecef2e510a2b88b66122723c1911068572d90 Mon Sep 17 00:00:00 2001 From: Shenoy Pratik Date: Tue, 22 Oct 2024 12:11:12 -0700 Subject: [PATCH] fix endTime in service redirection Signed-off-by: Shenoy Pratik --- .../trace_analytics/components/services/service_view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/components/trace_analytics/components/services/service_view.tsx b/public/components/trace_analytics/components/services/service_view.tsx index b7804f532..3846468d4 100644 --- a/public/components/trace_analytics/components/services/service_view.tsx +++ b/public/components/trace_analytics/components/services/service_view.tsx @@ -187,7 +187,7 @@ export function ServiceView(props: ServiceViewProps) { .format(TRACE_ANALYTICS_DATE_FORMAT) ?? 'now-1y'; const endTime = dateMath - .parse(props.startTime, { roundUp: true })! + .parse(props.endTime, { roundUp: true })! .add(3, 'days') .format(TRACE_ANALYTICS_DATE_FORMAT) ?? 'now'; if (coreRefs?.dataSource?.dataSourceEnabled) {