mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Synthetics] Fix monitor availability sparkline (#170161)
Related to https://github.com/elastic/kibana/pull/169790 ## Summary The PR fixes the query for Monitor Availability sparkline chart to account for retests.
This commit is contained in:
parent
0308b3d905
commit
f5f5338daa
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ export function getSyntheticsKPIConfig({ dataView }: ConfigProps): SeriesConfig
|
|||
label: 'Monitor availability',
|
||||
id: 'monitor_availability',
|
||||
columnType: FORMULA_COLUMN,
|
||||
formula: "1- (count(kql='summary.down > 0') / count(kql='summary: *'))",
|
||||
formula: `1- (count(kql='${FINAL_SUMMARY_KQL} and summary.down > 0') / count(kql='summary: *'))`,
|
||||
columnFilter: {
|
||||
language: 'kuery',
|
||||
query: FINAL_SUMMARY_KQL,
|
||||
|
|
|
@ -35,7 +35,7 @@ export const TestRunsTableHeader = ({
|
|||
const { monitor } = useSelectedMonitor();
|
||||
|
||||
return (
|
||||
<EuiFlexGroup alignItems="center" gutterSize="l">
|
||||
<EuiFlexGroup alignItems="center" gutterSize="l" wrap={true}>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiTitle size="xs">
|
||||
<h3>{paginable || pings?.length < 10 ? TEST_RUNS : LAST_10_TEST_RUNS}</h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue