mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `8.11`: - [[Synthetics] Fix monitor availability sparkline (#170161)](https://github.com/elastic/kibana/pull/170161) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Abdul Wahab Zahid","email":"awahab07@yahoo.com"},"sourceCommit":{"committedDate":"2023-10-30T21:56:24Z","message":"[Synthetics] Fix monitor availability sparkline (#170161)\n\nRelated to https://github.com/elastic/kibana/pull/169790\r\n\r\n## Summary\r\n\r\nThe PR fixes the query for Monitor Availability sparkline chart to\r\naccount for retests.","sha":"f5f5338daa391cd7f5773efc83f5ad4aa79acc99","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:uptime","release_note:skip","v8.11.0","v8.12.0"],"number":170161,"url":"https://github.com/elastic/kibana/pull/170161","mergeCommit":{"message":"[Synthetics] Fix monitor availability sparkline (#170161)\n\nRelated to https://github.com/elastic/kibana/pull/169790\r\n\r\n## Summary\r\n\r\nThe PR fixes the query for Monitor Availability sparkline chart to\r\naccount for retests.","sha":"f5f5338daa391cd7f5773efc83f5ad4aa79acc99"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170161","number":170161,"mergeCommit":{"message":"[Synthetics] Fix monitor availability sparkline (#170161)\n\nRelated to https://github.com/elastic/kibana/pull/169790\r\n\r\n## Summary\r\n\r\nThe PR fixes the query for Monitor Availability sparkline chart to\r\naccount for retests.","sha":"f5f5338daa391cd7f5773efc83f5ad4aa79acc99"}}]}] BACKPORT--> Co-authored-by: Abdul Wahab Zahid <awahab07@yahoo.com>
This commit is contained in:
parent
c0bd22725d
commit
2e0caad089
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