From e1b5793bfb6904d9b457b7cdd192678317881b33 Mon Sep 17 00:00:00 2001 From: Justin Kambic Date: Tue, 21 Jan 2020 13:18:38 -0500 Subject: [PATCH] Reintroduce a column for url. --- .../components/functional/monitor_list/monitor_list.tsx | 5 +++++ .../components/functional/monitor_list/translations.ts | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/monitor_list.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/monitor_list.tsx index b1b25baf7d873..6add4ec15d36b 100644 --- a/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/monitor_list.tsx +++ b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/monitor_list.tsx @@ -99,6 +99,11 @@ export const MonitorListComponent = (props: Props) => { ), sortable: true, }, + { + aligh: 'left' as const, + field: 'state.url.full', + name: labels.URL, + }, { align: 'center' as const, field: 'histogram.points', diff --git a/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/translations.ts b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/translations.ts index 9f17f6d7f27b0..beacdec1ae265 100644 --- a/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/translations.ts +++ b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/translations.ts @@ -52,3 +52,7 @@ export const NO_DATA_MESSAGE = i18n.translate('xpack.uptime.monitorList.noItemMe defaultMessage: 'No uptime monitors found', description: 'This message is shown if the monitors table is rendered but has no items.', }); + +export const URL = i18n.translate('xpack.uptime.monitorList.table.url.name', { + defaultMessage: 'Url', +});