diff --git a/dashboards-observability/public/components/trace_analytics/components/traces/trace_view.tsx b/dashboards-observability/public/components/trace_analytics/components/traces/trace_view.tsx index 68b0ef8ef..6835af614 100644 --- a/dashboards-observability/public/components/trace_analytics/components/traces/trace_view.tsx +++ b/dashboards-observability/public/components/trace_analytics/components/traces/trace_view.tsx @@ -170,6 +170,7 @@ export function TraceView(props: TraceViewProps) { }); const filteredServiceMap: ServiceObject = {}; Object.entries(services).forEach(([serviceName, service]: [string, any]) => { + if (!serviceMap[serviceName]) return; filteredServiceMap[serviceName] = serviceMap[serviceName]; filteredServiceMap[serviceName].latency = _.round(service.latency / service.throughput, 2); filteredServiceMap[serviceName].error_rate = _.round( diff --git a/dashboards-observability/public/components/trace_analytics/requests/queries/traces_queries.ts b/dashboards-observability/public/components/trace_analytics/requests/queries/traces_queries.ts index 4aeb7b00b..89d63a42e 100644 --- a/dashboards-observability/public/components/trace_analytics/requests/queries/traces_queries.ts +++ b/dashboards-observability/public/components/trace_analytics/requests/queries/traces_queries.ts @@ -164,7 +164,7 @@ export const getServiceBreakdownQuery = (traceId: string) => { return query; }; -export const getSpanDetailQuery = (traceId: string, size = 200) => { +export const getSpanDetailQuery = (traceId: string, size = 3000) => { const query = { size, query: {