Observabilty overview APM section doesn't fully collapse (#74224)
This commit is contained in:
parent
e57f4d2b25
commit
fc04ef9152
|
@ -113,44 +113,46 @@ export function OverviewPage({ routeParams }: Props) {
|
|||
<EuiFlexItem grow={6}>
|
||||
{/* Data sections */}
|
||||
{showDataSections && (
|
||||
<EuiFlexGroup direction="column">
|
||||
{hasData.infra_logs && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<LogsSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
{hasData.infra_metrics && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<MetricsSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
{hasData.apm && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<APMSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
{hasData.uptime && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<UptimeSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
</EuiFlexGroup>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiFlexGroup direction="column">
|
||||
{hasData.infra_logs && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<LogsSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
{hasData.infra_metrics && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<MetricsSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
{hasData.apm && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<APMSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
{hasData.uptime && (
|
||||
<EuiFlexItem grow={false}>
|
||||
<UptimeSection
|
||||
absoluteTime={absoluteTime}
|
||||
relativeTime={relativeTime}
|
||||
bucketSize={bucketSize?.intervalString}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexItem>
|
||||
)}
|
||||
|
||||
{/* Empty sections */}
|
||||
|
|
Loading…
Reference in a new issue