[Home] Update Node instructions (#17521) (#17531)

* [Home] Update Node instructions

* Fixed link
This commit is contained in:
Søren Louv-Jansen 2018-04-04 09:48:15 +02:00 committed by GitHub
parent ca2aef936e
commit 1950b62ff8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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).`,
},
];