mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Synthetics] Fix complete tests sparkline (#155838)
This commit is contained in:
parent
e5f6f96e9c
commit
fffe57dc1d
8 changed files with 25 additions and 27 deletions
|
@ -5,6 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { ColumnFilter, ConfigProps, SeriesConfig } from '../../types';
|
||||
import {
|
||||
FieldLabels,
|
||||
|
@ -99,7 +100,7 @@ export function getSyntheticsKPIConfig({ dataView }: ConfigProps): SeriesConfig
|
|||
label: 'Monitor Errors',
|
||||
id: 'monitor_errors',
|
||||
columnType: OPERATION_COLUMN,
|
||||
field: 'state.id',
|
||||
field: 'monitor.check_group',
|
||||
columnFilters: [
|
||||
{
|
||||
language: 'kuery',
|
||||
|
@ -108,9 +109,11 @@ export function getSyntheticsKPIConfig({ dataView }: ConfigProps): SeriesConfig
|
|||
],
|
||||
},
|
||||
{
|
||||
label: 'Monitor Complete',
|
||||
id: 'state.up',
|
||||
field: 'state.up',
|
||||
label: i18n.translate('xpack.exploratoryView.expView.successful', {
|
||||
defaultMessage: 'Successful count',
|
||||
}),
|
||||
id: 'monitor_successful',
|
||||
field: 'monitor.check_group',
|
||||
columnType: OPERATION_COLUMN,
|
||||
columnFilters: [
|
||||
{
|
||||
|
|
|
@ -107,9 +107,9 @@ export function getSyntheticsSingleMetricConfig({ dataView }: ConfigProps): Seri
|
|||
format: 'number',
|
||||
},
|
||||
{
|
||||
id: 'monitor_complete',
|
||||
label: i18n.translate('xpack.exploratoryView.expView.complete', {
|
||||
defaultMessage: 'Complete',
|
||||
id: 'monitor_successful',
|
||||
label: i18n.translate('xpack.exploratoryView.expView.successful', {
|
||||
defaultMessage: 'Successful count',
|
||||
}),
|
||||
metricStateOptions: {
|
||||
titlePosition: 'bottom',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue