Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] [APM] Update Node.js onboarding instructions (#22562) #22738

Merged
merged 1 commit into from
Sep 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ export const createNodeClientInstructions = () => [
textPre:
'Agents are libraries that run inside of your application process.' +
' APM services are created programmatically based on the `serviceName`.' +
' This agent supports Express, Koa, hapi, and custom Node.js.',
' This agent supports a vararity of frameworks but can also be used with your custom stack.',
commands: `// Add this to the VERY top of the first file loaded in your app
var apm = require('elastic-apm-node').start({curlyOpen}
// Set required service name (allowed characters: a-z, A-Z, 0-9, -, _, and space)
// Override service name from package.json
// Allowed characters: a-z, A-Z, 0-9, -, _, and space
serviceName: '',

// Use if APM Server requires a token
Expand Down