From ace7f3499f5276a940e7e34059baa7e8047184d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Wed, 4 Apr 2018 06:02:42 +0800 Subject: [PATCH] [Home] Update Node instructions (#17521) * [Home] Update Node instructions * Fixed link --- .../kibana/server/tutorials/apm/apm_client_instructions.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core_plugins/kibana/server/tutorials/apm/apm_client_instructions.js b/src/core_plugins/kibana/server/tutorials/apm/apm_client_instructions.js index e850e667f8d5..c52c2306bc1c 100644 --- a/src/core_plugins/kibana/server/tutorials/apm/apm_client_instructions.js +++ b/src/core_plugins/kibana/server/tutorials/apm/apm_client_instructions.js @@ -1,3 +1,5 @@ +/* eslint-disable max-len */ + export const NODE_CLIENT_INSTRUCTIONS = [ { title: 'Install the APM agent', @@ -22,10 +24,7 @@ var apm = require('elastic-apm-node').start({curlyOpen} // Set custom APM Server URL (default: http://localhost:8200) serverUrl: '' {curlyClose})`.split('\n'), - textPost: - 'See [the documentation]({config.docs.base_url}guide/en/apm/agent/nodejs/1.x/index.html)' + - ' for advanced usage. Babel users, refer to [the documentation]' + - '({config.docs.base_url}guide/en/apm/agent/nodejs/1.x/advanced-setup.html#es-modules).', + textPost: `See [the documentation]({config.docs.base_url}guide/en/apm/agent/nodejs/1.x/index.html) for advanced usage, including how to use with [Babel/ES Modules]({config.docs.base_url}guide/en/apm/agent/nodejs/1.x/advanced-setup.html#es-modules).`, }, ];