Skip to content

Commit

Permalink
fix :: latency trace
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Aug 12, 2024
1 parent 9f6447b commit 6e85877
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Team/deploy/Container/Traces.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ContainerDetailType } from '@/utils/types/containerType';
import { TraceRequestGraph } from '@/components/graph/TraceRequestGraph';
import { TraceErrorGraph } from '@/components/graph/TraceErrorGraph';
import { TraceLatencyGraph } from '@/components/graph/TraceLatencyGraph';
// import { TraceInformation } from '@/components/Trace/TraceInformation';
import { TraceInformation } from '@/components/Trace/TraceInformation';

interface DataPoint {
[timestamp: string]: string;
Expand Down Expand Up @@ -129,7 +129,7 @@ export const TeamDeployContainerTraces = () => {

return (
<>
{/* <TraceInformation selectedTrace={selectedTrace} setSelectedTrace={setSelectedTrace} /> */}
<TraceInformation selectedTrace={selectedTrace} setSelectedTrace={setSelectedTrace} />
<Wrapper>
<GraphContainer>
<GraphBox>
Expand All @@ -142,7 +142,7 @@ export const TeamDeployContainerTraces = () => {
</GraphBox>
<GraphBox>
<span>Latency</span>
{latency && Object.keys(latency).length !== 0 && <TraceLatencyGraph jsonData={latency} />}
{latency && Object.keys(latency).length === 5 && <TraceLatencyGraph jsonData={latency} />}
</GraphBox>
</GraphContainer>
<TracesContainer>
Expand Down

0 comments on commit 6e85877

Please sign in to comment.