@@ -122,7 +122,7 @@ describe('getCommands', () => {
122122
123123 // Override the service name from package.json
124124 // Allowed characters: a-z, A-Z, 0-9, -, _, and space
125- serviceName: '',
125+ serviceName: 'my_node_service ',
126126
127127 // Use if APM Server requires a secret token
128128 secretToken: '',
@@ -150,7 +150,7 @@ describe('getCommands', () => {
150150
151151 // Override the service name from package.json
152152 // Allowed characters: a-z, A-Z, 0-9, -, _, and space
153- serviceName: '',
153+ serviceName: 'my_node_service ',
154154
155155 // Use if APM Server requires a secret token
156156 secretToken: 'foobar',
@@ -422,7 +422,7 @@ describe('getCommands', () => {
422422
423423 # Set the service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space.
424424 # If ELASTIC_APM_SERVICE_NAME is not specified, the executable name will be used.
425- export ELASTIC_APM_SERVICE_NAME=
425+ export ELASTIC_APM_SERVICE_NAME=my_go_service
426426
427427 # Set custom APM Server URL (default: http://localhost:8200)
428428 export ELASTIC_APM_SERVER_URL=
@@ -449,7 +449,7 @@ describe('getCommands', () => {
449449
450450 # Set the service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space.
451451 # If ELASTIC_APM_SERVICE_NAME is not specified, the executable name will be used.
452- export ELASTIC_APM_SERVICE_NAME=
452+ export ELASTIC_APM_SERVICE_NAME=my_go_service
453453
454454 # Set custom APM Server URL (default: http://localhost:8200)
455455 export ELASTIC_APM_SERVER_URL=localhost:8220
0 commit comments