Kibana version :
- 7.3.2
Elasticsearch version :
- 7.3.2
APM Server version :
- APM 7.3.2
APM Agent language and version :
- Python Flask 4.2.2
Original install method (e.g. download page, yum, deb, from source, etc.) and version :
- Provided by Elastic Cloud subscription
Fresh install or upgraded from another version?
- Upgraded from 7.1.1
Additional information:
- We are using the Elastic Cloud services, so we are not running our stack locally.
Problem:
- There is no documentation on how to configure APM RUM for Python Flask agent, the only documentation is for node.js.
Objective:
- I'm trying to set up APM RUM to monitor the duration time for my web app requests.
Current Configuration:
from elasticapm.contrib.flask import ElasticAPM
app = Flask(__name__)
app.config['ELASTIC_APM'] = {
'SERVICE_NAME': 'FLASK-APP-PROJECT',
'SECRET_TOKEN': '<token>',
'SERVER_URL': '<url>',
'METRICS_SETS': "elasticapm.metrics.sets.transactions.TransactionsMetricSet"
}
I appreciate any feedback or resources that you might have, feel free to ask for more information if you think there is missing detail in this post.