Skip to content

Commit

Permalink
Revert "Update the examples for node and golang"
Browse files Browse the repository at this point in the history
This reverts commit 5747d80.
  • Loading branch information
basepi committed May 11, 2022
1 parent 5747d80 commit b726821
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('getCommands', () => {
// Override the service name from package.json
// Allowed characters: a-z, A-Z, 0-9, -, _, and space
serviceName: 'my_node_service',
serviceName: '',
// Use if APM Server requires a secret token
secretToken: '',
Expand Down Expand Up @@ -150,7 +150,7 @@ describe('getCommands', () => {
// Override the service name from package.json
// Allowed characters: a-z, A-Z, 0-9, -, _, and space
serviceName: 'my_node_service',
serviceName: '',
// Use if APM Server requires a secret token
secretToken: 'foobar',
Expand Down Expand Up @@ -422,7 +422,7 @@ describe('getCommands', () => {
# Set the service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space.
# If ELASTIC_APM_SERVICE_NAME is not specified, the executable name will be used.
export ELASTIC_APM_SERVICE_NAME=my_go_service
export ELASTIC_APM_SERVICE_NAME=
# Set custom APM Server URL (default: http://localhost:8200)
export ELASTIC_APM_SERVER_URL=
Expand All @@ -449,7 +449,7 @@ describe('getCommands', () => {
# Set the service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space.
# If ELASTIC_APM_SERVICE_NAME is not specified, the executable name will be used.
export ELASTIC_APM_SERVICE_NAME=my_go_service
export ELASTIC_APM_SERVICE_NAME=
# Set custom APM Server URL (default: http://localhost:8200)
export ELASTIC_APM_SERVER_URL=localhost:8220
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const go = `# ${i18n.translate(
'If ELASTIC_APM_SERVICE_NAME is not specified, the executable name will be used.',
}
)}
export ELASTIC_APM_SERVICE_NAME=my_go_service
export ELASTIC_APM_SERVICE_NAME=
# ${i18n.translate(
'xpack.apm.tutorial.goClient.configure.commands.setCustomApmServerUrlComment',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var apm = require('elastic-apm-node').start({
defaultMessage: 'Allowed characters: a-z, A-Z, 0-9, -, _, and space',
}
)}
serviceName: 'my_node_service',
serviceName: '',
// ${i18n.translate(
'xpack.apm.tutorial.nodeClient.configure.commands.useIfApmRequiresTokenComment',
Expand Down

0 comments on commit b726821

Please sign in to comment.