mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[APM] Set a valid service_name for python APM onboarding (#131959)
* Set a valid SERVICE_NAME for python APM onboarding
* Fix unit tests
* Update the examples for node and golang
* Revert "Update the examples for node and golang"
This reverts commit 5747d80f04
.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
327df57c8b
commit
aa07c76d68
3 changed files with 6 additions and 6 deletions
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue