Skip to content

Commit

Permalink
Comment out SERVICE_NAME for django/flask onboarding (#132364)
Browse files Browse the repository at this point in the history
  • Loading branch information
basepi authored May 17, 2022
1 parent 9cf8037 commit f9548d7
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 @@ -31,7 +31,7 @@ ELASTIC_APM = {
defaultMessage: 'a-z, A-Z, 0-9, -, _, and space',
}
)}
'SERVICE_NAME': 'my_python_service',
#'SERVICE_NAME': 'unknown-python-service',
# ${i18n.translate(
'xpack.apm.tutorial.djangoClient.configure.commands.useIfApmServerRequiresTokenComment',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ app.config['ELASTIC_APM'] = {
defaultMessage: 'a-z, A-Z, 0-9, -, _, and space',
}
)}
'SERVICE_NAME': 'my_python_service',
#'SERVICE_NAME': 'unknown-python-service',
# ${i18n.translate(
'xpack.apm.tutorial.flaskClient.configure.commands.useIfApmServerRequiresTokenComment',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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': 'my_python_service',
#'SERVICE_NAME': 'unknown-python-service',
# Use if APM Server requires a secret token
'SECRET_TOKEN': '',
Expand Down Expand Up @@ -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': 'my_python_service',
#'SERVICE_NAME': 'unknown-python-service',
# Use if APM Server requires a secret token
'SECRET_TOKEN': 'foobar',
Expand Down Expand Up @@ -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': 'my_python_service',
#'SERVICE_NAME': 'unknown-python-service',
# Use if APM Server requires a secret token
'SECRET_TOKEN': '',
Expand Down Expand Up @@ -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': 'my_python_service',
#'SERVICE_NAME': 'unknown-python-service',
# Use if APM Server requires a secret token
'SECRET_TOKEN': 'foobar',
Expand Down

0 comments on commit f9548d7

Please sign in to comment.