Hello there,
I set up python APM integration with a Flask application, the purpose of which is to illustrate APM to some customers. The problem is the following:
The "Errors" and "Metric" pages are working fine, the problem is that "Transactions" page is empty, like if it had no data available.
Information:
- Operative System : CentOS 7.9.2009
- Python version: 2.7.5 (supported)
- Flask version: 1.1.2 (supported)
- pypi elastic-apm: 5.10.0
- Apm server: 7.10.0
- ES: 7.10.0
- Kibana: 7.10.0
The initialitation of the apm agent is the following:
from elasticapm.contrib.flask import ElasticAPM
app = Flask(__name__, template_folder='templates')
apm = ElasticAPM(app,service_name='flappy',framework_name='flask',server_url='http://10.10.10.30:8200',logging=True,enabled=True)
The apm-server.yml
is the following:
apm-server:
host: "0.0.0.0:8200"
kibana:
enabled: true
host: "10.10.10.30:5601"
output.elasticsearch:
hosts: ["localhost:9200"]
I test the integration by contacting the Flask server endpoints, but still, as you can see, there is not "Transaction" page:
Any help is welcome!
Thanks in advance!