diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/django.ts b/x-pack/plugins/apm/public/tutorial/config_agent/commands/django.ts index 18fed9d329cd0..ac1b96e753535 100644 --- a/x-pack/plugins/apm/public/tutorial/config_agent/commands/django.ts +++ b/x-pack/plugins/apm/public/tutorial/config_agent/commands/django.ts @@ -31,7 +31,7 @@ ELASTIC_APM = { defaultMessage: 'a-z, A-Z, 0-9, -, _, and space', } )} -'SERVICE_NAME': '', +'SERVICE_NAME': 'my_python_service', # ${i18n.translate( 'xpack.apm.tutorial.djangoClient.configure.commands.useIfApmServerRequiresTokenComment', diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/flask.ts b/x-pack/plugins/apm/public/tutorial/config_agent/commands/flask.ts index dbcd6f29225c1..305e9390356a3 100644 --- a/x-pack/plugins/apm/public/tutorial/config_agent/commands/flask.ts +++ b/x-pack/plugins/apm/public/tutorial/config_agent/commands/flask.ts @@ -38,7 +38,7 @@ app.config['ELASTIC_APM'] = { defaultMessage: 'a-z, A-Z, 0-9, -, _, and space', } )} -'SERVICE_NAME': '', +'SERVICE_NAME': 'my_python_service', # ${i18n.translate( 'xpack.apm.tutorial.flaskClient.configure.commands.useIfApmServerRequiresTokenComment', diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/get_commands.test.ts b/x-pack/plugins/apm/public/tutorial/config_agent/commands/get_commands.test.ts index bb6593ae7acb8..9e2367238da10 100644 --- a/x-pack/plugins/apm/public/tutorial/config_agent/commands/get_commands.test.ts +++ b/x-pack/plugins/apm/public/tutorial/config_agent/commands/get_commands.test.ts @@ -181,7 +181,7 @@ describe('getCommands', () => { ELASTIC_APM = { # Set the required service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space - 'SERVICE_NAME': '', + 'SERVICE_NAME': 'my_python_service', # Use if APM Server requires a secret token 'SECRET_TOKEN': '', @@ -219,7 +219,7 @@ describe('getCommands', () => { ELASTIC_APM = { # Set the required service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space - 'SERVICE_NAME': '', + 'SERVICE_NAME': 'my_python_service', # Use if APM Server requires a secret token 'SECRET_TOKEN': 'foobar', @@ -257,7 +257,7 @@ describe('getCommands', () => { app.config['ELASTIC_APM'] = { # Set the required service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space - 'SERVICE_NAME': '', + 'SERVICE_NAME': 'my_python_service', # Use if APM Server requires a secret token 'SECRET_TOKEN': '', @@ -292,7 +292,7 @@ describe('getCommands', () => { app.config['ELASTIC_APM'] = { # Set the required service name. Allowed characters: # a-z, A-Z, 0-9, -, _, and space - 'SERVICE_NAME': '', + 'SERVICE_NAME': 'my_python_service', # Use if APM Server requires a secret token 'SECRET_TOKEN': 'foobar',