mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
cd9e77717c
commit
728e5172d6
1 changed files with 2 additions and 2 deletions
|
@ -318,7 +318,7 @@ export const createJsAgentInstructions = (apmServerUrl = '') => [
|
|||
textPre: i18n.translate('kbn.server.tutorials.apm.jsClient.install.textPre', {
|
||||
defaultMessage: 'Install the APM agent for JavaScript as a dependency to your application:',
|
||||
}),
|
||||
commands: [`npm install elastic-apm-js-base --save`],
|
||||
commands: [`npm install @elastic/apm-rum --save`],
|
||||
},
|
||||
{
|
||||
title: i18n.translate('kbn.server.tutorials.apm.jsClient.configure.title', {
|
||||
|
@ -327,7 +327,7 @@ export const createJsAgentInstructions = (apmServerUrl = '') => [
|
|||
textPre: i18n.translate('kbn.server.tutorials.apm.jsClient.configure.textPre', {
|
||||
defaultMessage: 'Agents are libraries that run inside of your application.',
|
||||
}),
|
||||
commands: `import {curlyOpen} init as initApm {curlyClose} from 'elastic-apm-js-base'
|
||||
commands: `import {curlyOpen} init as initApm {curlyClose} from '@elastic/apm-rum'
|
||||
var apm = initApm({curlyOpen}
|
||||
|
||||
// ${i18n.translate('kbn.server.tutorials.apm.jsClient.configure.commands.setRequiredServiceNameComment', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue