Skip to content

Commit

Permalink
Fixes trace analytics invalid service map and increase span limit (#629)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 533eda1)
  • Loading branch information
joshuali925 authored and github-actions[bot] committed Apr 8, 2022
1 parent c6b93e0 commit 31ab2d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 31ab2d1

Please sign in to comment.