Skip to content

Commit

Permalink
fix :: rootTraceName undefined!!
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Aug 26, 2024
1 parent 4d7aca1 commit 2830b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Team/deploy/Container/Traces.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export const TeamDeployContainerTraces = () => {
<DateItem>{currentTime}</DateItem>
<ResourceItem>{trace.rootTraceName ?? ''}</ResourceItem>
<DurationItem>{trace.durationMs ?? ''}ms</DurationItem>
<MethodItem>{trace.rootTraceName.split(' ')[0] ?? ''}</MethodItem>
<MethodItem>{trace.rootTraceName?.split(' ')[0] ?? ''}</MethodItem>
<StatusCodeItem>
{
trace.spanSet.spans[0].attributes.filter((attr) => attr.key === 'http.status_code')[0].value
Expand Down

0 comments on commit 2830b09

Please sign in to comment.