-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to integrate into Frappeframework #1834
Comments
To integrate Elastic APM (Application Performance Monitoring) agent into your Python project running Frappe, you can follow these general steps: Install the Elastic APM agent: You can install the Elastic APM agent using pip: -----pip install elastic-apm----- -----------------from elasticapm.contrib.flask import ElasticAPM app = Frappe() Initialize the Elastic APM agentapm = ElasticAPM(app) Configure the Elastic APM agent by adding the necessary configuration parameters. You can specify these configurations either through environment variables or by passing them directly to the ElasticAPM constructor. Here's an example configuration using environment variables: bash export ELASTIC_APM_SERVICE_NAME="your_service_name" python Instrument your code: Start your Frappe application: Remember to consult the official Elastic APM documentation for more detailed information and instructions specific to your web framework and use case. |
The above doesn't work. It seems to be the auto-generated response. Is it? |
No, it was not an auto-generated response, at least not by our team. I assumed it was a developer or user of Frappe who had it working themselves. I don't have any experience with Frappe and was hoping our Flask instrumentation would work as @Raaja0007 suggested. We'll add this to our backlog, thanks for the request! |
We are running Frappe in our Python Project
https://frappeframework.com/
https://github.com/frappe/frappe
Any tips on how to integrate elastic python apm agent into this?
The text was updated successfully, but these errors were encountered: