configure to use ELASTIC_APM in your application's settings from elasticapm.contrib.flask import ElasticAPM
app.config['ELASTIC_APM'] = {
# allowed app_name chars: a-z, A-Z, 0-9, -, _, and space from elasticapm.contrib.flask
'APP_NAME': 'yourApplicationName',
#'SECRET_TOKEN': 'yourToken', #if you set on the APM server configuration
'SERVER_URL': 'http://X.X.X.X:8200' # your APM server url
}
the status in the apm server of firewalld is stopped
so how can i debug this event to see the real cause that the apm server is not receiving the message from the agent?
please can you help me with this?
judging from the schema validation error, you need to set a service_name for your Flask app, either by setting an ELASTIC_APM_SERVICE_NAME environment variable, or by configuring the ElasticAPM object directly as shown in our Flask docs.
Awesome! I will look into how we can make the experience a bit better when the service name isn't set (we should print a proper warning instead of the somewhat cryptic schema validation).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.