# Python FLASK Elastic APM Agent issues - Culprit threading.\_bootstrap

**URL:** <https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946>\
**Category:** APM\
**Tags:** python\
**Created:** [November 15, 2022, 10:09am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946 "2022-11-15T10:09:24Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 15, 2022, 10:09am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/1 "2022-11-15T10:09:24Z")

</div>

Hi @basepi@lwintergerst ,

We are using ELASTIC APM to instrument FLASK APP with Wsgi, Gunicorn.

The events are generated and submitted to APM Server with status code as "202". The APM - Kibana UI is unable to display the requests.

Error Message :-  
Log message

Sent request, url=[http://X.X.X.7.149:8200/intake/v2/events](http://X.X.X.7.149:8200/intake/v2/events) size=5.11kb status=202  
Exception message : N/A  
**Culprit - threading.\_bootstrap**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5ac4a1f547c805400a68eda790d11cff6f691885.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39cf5894c7fb55d5a464bc2f5e469dac8904fcbb.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da818a0e4a5be9f820bdbbe148459152d773f0d7.png)

@basepi can you please help me to resolve this issue ?

Thanks

---

<div class="post-metadata">

**Author:** ![beniwohli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beniwohli/32/21256_2.png) [@beniwohli](https://discuss.elastic.co/u/beniwohli)\
**Post date:** [November 15, 2022, 10:37am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/2 "2022-11-15T10:37:25Z")

</div>

Hey @Dixit

I don't think these are actual errors, but log messages that are picked up by our log shipper. Do you per chance initialize the `ElasticAPM` app with `logging=True`? We recommend to not use `True`, but specify a log level, e.g. `logging.ERROR`.

> **[Flask support | APM Python Agent Reference \[6.x\] | Elastic](https://www.elastic.co/guide/en/apm/agent/python/current/flask-support.html#flask-logging)**

For shipping general logs to Elastic, we recommend to use e.g. filebeat.

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 15, 2022, 10:49am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/3 "2022-11-15T10:49:19Z")

</div>

hi @beniwohli ,

Thanks for your reply .

Yes, I did enabled "logging=True" and initialized agent. Will try with "logging.ERROR".

**My question is :** The APM UI shows empty with no transactions being recorded, that's the issue am facing even though APM logs show - {"log.level":"info","@timestamp":"2022-11-15T04:47:07.194-0600","log.logger":"request","log.origin":{"file.name":"middleware/log\_middleware.go","file.line":63},"message":"request accepted","url.original":"/intake/v2/events","http.request.method":"POST","user\_agent.original":"apm-agent-python/6.11.0 (RHEL\_53\_WorklistServices)","source.address":"172.27.7.53","http.request.body.bytes":526,"http.request.id":"10f63edd-8dbe-400b-af74-b46c86f62c5a","event.duration":10410600,"http.response.status\_code":202,"ecs.version":"1.6.0"}

**APM UI shows nothing -**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/e/def8409cf72f11649ac45627fb98db0cfd9c2897.png)

can you please help me why this happens ? @beniwohli@basepi

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 15, 2022, 11:45am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/4 "2022-11-15T11:45:23Z")

</div>

hi @beniwohli@basepi

Falsk app with Gunicorn + wsgi uses gevent - **gunicorn --worker-class=gevent --timeout=0 --worker-connections=100 --workers=9 wsgi:app**

---

<div class="post-metadata">

**Author:** ![basepi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/basepi/32/53056_2.png) [@basepi](https://discuss.elastic.co/u/basepi)\
**Post date:** [November 15, 2022, 5:23pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/5 "2022-11-15T17:23:22Z")

</div>

Can you show us your initialization of your flask app? I assume you followed the docs [here](https://www.elastic.co/guide/en/apm/agent/python/current/flask-support.html)?

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 16, 2022, 12:25am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/6 "2022-11-16T00:25:26Z")

</div>

hi @basepi

We are initializing the app like here -

```auto
*[abd@KAhhhhhFKA01 worklist]$ cat wsgi.py*
*from worklist.app import create_app*

*from flask import Flask*
*from elasticapm.contrib.flask import ElasticAPM*
*import elasticapm*
*from elasticapm.handlers.logging import LoggingHandler*
*from elasticapm.contrib.flask import ElasticAPM*
*from elasticapm.handlers.logging import LoggingHandler*
*"""*
*# WSGI - stands for web server gateway interface.*
*# used to forword requests from web server to a backend python web*
* application or framework.*
*# WSGI server simply invokes a callable object on the WSGI application*
*"""*
*server_url = 'http://x.x.x.x:8200'*
*service_name = 'RHEL_WorklistSVC'*
*environment = 'RHEL_DEV'*
*app = create_app()*
*apm = ElasticAPM(app, server_url=server_url, service_name=service_name, environment=environment, logging=True)*
*elasticapm.instrument()*

```

Not sure what changes to be done.

Please help @basepi@beniwohli@lwintergerst

---

<div class="post-metadata">

**Author:** ![basepi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/basepi/32/53056_2.png) [@basepi](https://discuss.elastic.co/u/basepi)\
**Post date:** [November 16, 2022, 6:30pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/7 "2022-11-16T18:30:34Z")

</div>

Can you share the `create_app()` code? I don't see any red flags here. Very surprised you're getting log messages but not traces.

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 17, 2022, 12:30am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/8 "2022-11-17T00:30:58Z")

</div>

hi @basepi ,

Here is the code for "CREATE\_APP" , please help me why we are not getting transactions in the UI.

```auto
[jaaaa@PXXXXXXXKA01 worklist]$ cat app.py
import os
from datetime import timedelta
from flask import request
from werkzeug.exceptions import HTTPException
from flask_jwt_extended import JWTManager
from flask_openapi3 import Info, HTTPBearer, OpenAPI
from jivacore.logger.log import Logger
from worklist.resources.worklist import worklist_routes
from worklist.resources.other_routes import health_routes
from worklist.common import constants
from worklist.security import permissions
from jivacore.db.db import get_scoped_session
from worklist import config, error_handlers

def create_app(flask_config=None, **kwargs):
    """
    Instantiation and configure of flask application
    Args:
        flask_config (str): Flask configuration value
    Returns:
        OpenAPI: Flask OpenAPI instance
    """
    info = Info(title=os.getenv("PROJECT_NAME"), version="1.0.0", description=constants.WORKLIST_DESCRIPTION)
    app = OpenAPI( __name__ , info=info, security_schemes={"jwt": HTTPBearer()})

    # Configuring logger for Worklist Service
    logger = Logger(request)
    logger.info(' *******************Starting worklist Service********************')

    # Load application configuration from the object
    config.LoadApplicationConfig(app, flask_config)

    # Adding permissions to the application
    app.permissions = permissions

    # Adding scoped_session to the application
    app.scoped_session = get_scoped_session()

    # JSON Web Token configuration
    jwt = JWTManager(app)
    app.config["JWT_IDENTITY_CLAIM"] = "jti"
    app.config["JWT_TOKEN_LOCATION"] = ["headers", "cookies"]
    app.config["JWT_ACCESS_COOKIE_NAME"] = "aptn"
    app.config["JWT_ACCESS_CSRF_HEADER_NAME"] = "X-CSRFT"
    app.config["JWT_ACCESS_TOKEN_EXPIRES"] = timedelta(minutes=30)

    # Register Error Handlers
    jwt.unauthorized_loader(error_handlers.missing_token_callback)
    app.register_error_handler(HTTPException, error_handlers.http_errors)
    app.register_error_handler(Exception, error_handlers.global_errors)

    # Register blueprints
    app.register_api(worklist_routes)
    app.register_api(health_routes)

    # Before and after request handlers
    app.before_request(config.before_request_func)
    app.after_request(config.after_request_func)
    app.teardown_request(config.teardown_request_func)

    return app

```

Have used all agents version starting from 6.9 to latest, no luck.

@basepi @beniwohli @lwintergerst

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 17, 2022, 12:40am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/9 "2022-11-17T00:40:42Z")

</div>

hi Colton @basepi,

Please find the create app. Please let us know what is causing the UI to show blank.

Appreciate your help here.

[jaaaa@PXXXXXXXKA01 worklist]$ cat app.py  
import os  
from datetime import timedelta  
from flask import request  
from werkzeug.exceptions import HTTPException  
from flask\_jwt\_extended import JWTManager  
from flask\_openapi3 import Info, HTTPBearer, OpenAPI  
from jivacore.logger.log import Logger  
from worklist.resources.worklist import worklist\_routes  
from worklist.resources.other\_routes import health\_routes  
from worklist.common import constants  
from worklist.security import permissions  
from jivacore.db.db import get\_scoped\_session  
from worklist import config, error\_handlers

def create\_app(flask\_config=None, \*\*kwargs):  
"""  
Instantiation and configure of flask application  
Args:  
flask\_config (str): Flask configuration value  
Returns:  
OpenAPI: Flask OpenAPI instance  
"""  
info = Info(title=os.getenv("PROJECT\_NAME"), version="1.0.0", description=constants.WORKLIST\_DESCRIPTION)  
app = OpenAPI( **name** , info=info, security\_schemes={"jwt": HTTPBearer()})

# Configuring logger for Worklist Service

logger = Logger(request)  
[logger.info](http://logger.info)('_ **Starting worklist Service** _\*')

# Load application configuration from the object

config.LoadApplicationConfig(app, flask\_config)

# Adding permissions to the application

app.permissions = permissions

# Adding scoped\_session to the application

app.scoped\_session = get\_scoped\_session()

# JSON Web Token configuration

jwt = JWTManager(app)  
app.config["JWT\_IDENTITY\_CLAIM"] = "jti"  
app.config["JWT\_TOKEN\_LOCATION"] = ["headers", "cookies"]  
app.config["JWT\_ACCESS\_COOKIE\_NAME"] = "aptn"  
app.config["JWT\_ACCESS\_CSRF\_HEADER\_NAME"] = "X-CSRFT"  
app.config["JWT\_ACCESS\_TOKEN\_EXPIRES"] = timedelta(minutes=30)

# Register Error Handlers

jwt.unauthorized\_loader(error\_handlers.missing\_token\_callback)  
app.register\_error\_handler(HTTPException, error\_handlers.http\_errors)  
app.register\_error\_handler(Exception, error\_handlers.global\_errors)

# Register blueprints

app.register\_api(worklist\_routes)  
app.register\_api(health\_routes)

# Before and after request handlers

app.before\_request(config.before\_request\_func)  
app.after\_request(config.after\_request\_func)  
app.teardown\_request(config.teardown\_request\_func)

return app

Thank you

---

<div class="post-metadata">

**Author:** ![basepi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/basepi/32/53056_2.png) [@basepi](https://discuss.elastic.co/u/basepi)\
**Post date:** [November 17, 2022, 7:18pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/10 "2022-11-17T19:18:23Z")

</div>

My bet is that it's because you're using `flask_openapi3` rather than `flask`. In our code, [we use signals to create transactions.](https://github.com/elastic/apm-agent-python/blob/734be1dd073aedab76a6a854a322d1f196a9e3a4/elasticapm/contrib/flask/ __init__.py#L146)

However, from your code it may be that those handlers need to be registered in a different way for `flask_openapi3`.

Can you please [open an issue](https://github.com/elastic/apm-agent-python/issues/new?assignees=&labels=&template=Feature_request.md) for `flask_openapi3` support?

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 18, 2022, 1:12am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/11 "2022-11-18T01:12:14Z")

</div>

hi @basepi@beniwohli@lwintergerst ,

Please help me with this issue at least a workaround for FLASKAPI3 support in Elastic APM.

**ISSUE RAISED for Elastic APM - FLASK - Handlers need to be registered in a different way for flask\_openapi3. #1697**

**GITHUB ISSUE LINK - apm-agent-python/issues/1697**

**[https://github.com/elastic/apm-agent-python/issues/1697](https://github.com/elastic/apm-agent-python/issues/1697)**

> <https://github.com/elastic/apm-agent-python/issues/1697>
>
> Hi Team,
> 
> \*\*Need help/fix for flask\_openapi3 support?\*\* in Elastic APM.
> 
> We …are using FLASK\_OPENAPI3 version of Flask implementation in which APM UI(Kibana) is unable to display the TRANSACTIONS.
> We are using ELASTIC APM to instrument FLASK APP with Wsgi, Gunicorn.
> 
> The events are generated and submitted to APM Server with status code as "202". The APM - Kibana UI is unable to display the requests.
> \*\*\_Sent request, url=http://x.x.x.7.149:8200/intake/v2/events size=5.11kb status=202
> Exception message : N/A
> Culprit - threading.\_bootstrap\_\*\*
> Flask app with Gunicorn + wsgi uses gevent - \*\*gunicorn --worker-class=gevent --timeout=0 --worker-connections=100 --workers=9 wsgi:app\*\*
> !\[image\](https://user-images.githubusercontent.com/2103133/202592462-22759983-55ca-4f08-ae28-2be63a0bc2ee.png)
> !\[image\](https://user-images.githubusercontent.com/2103133/202592501-e65a4f1b-701e-4fb3-9dc3-8641762f490e.png)
> 
> \*\*My question is :\*\* \*\*The APM UI shows empty with no transactions being recorded, that's the issue am facing even though APM logs\*\* show - {"log.level":"info","@timestamp":"2022-11-15T04:47:07.194-0600","log.logger":"request","log.origin":{"file.name":"middleware/log\_middleware.go","file.line":63},"message":"request accepted","url.original":"/intake/v2/events","http.request.method":"POST","user\_agent.original":"apm-agent-python/6.11.0 (RHEL\_53\_WorklistServices)","source.address":"172.27.7.53","http.request.body.bytes":526,"http.request.id":"10f63edd-8dbe-400b-af74-b46c86f62c5a","event.duration":10410600,"http.response.status\_code":202,"ecs.version":"1.6.0"}
> !\[image\](https://user-images.githubusercontent.com/2103133/202592650-5b45e088-1f0b-497b-b2fd-67b7593ef00a.png)
> 
> \*\*We are initializing the app like here -\*\*
> 
> \*from flask import Flask\*
> \*from elasticapm.contrib.flask import ElasticAPM\*
> \*import elasticapm\*
> \*from elasticapm.handlers.logging import LoggingHandler\*
> \*from elasticapm.contrib.flask import ElasticAPM\*
> \*from elasticapm.handlers.logging import LoggingHandler\*
> \*"""\*
> \*# WSGI - stands for web server gateway interface.\*
> \*# used to forword requests from web server to a backend python web\*
> \* application or framework.\*
> \*# WSGI server simply invokes a callable object on the WSGI application\*
> \*"""\*
> \*server\_url = 'http://x.x.x.x:8200'\*
> \*service\_name = 'RHEL\_WorklistSVC'\*
> \*environment = 'RHEL\_DEV'\*
> \*app = create\_app()\*
> \*apm = ElasticAPM(app, server\_url=server\_url, service\_name=service\_name, environment=environment, logging=True)\*
> \*elasticapm.instrument()\*
> 
> Here is the code for "CREATE\_APP" , please help me why we are not getting transactions in the UI.
> import os
> from datetime import timedelta
> from flask import request
> from werkzeug.exceptions import HTTPException
> from flask\_jwt\_extended import JWTManager
> from flask\_openapi3 import Info, HTTPBearer, OpenAPI
> from jivacore.logger.log import Logger
> from worklist.resources.worklist import worklist\_routes
> from worklist.resources.other\_routes import health\_routes
> from worklist.common import constants
> from worklist.security import permissions
> from jivacore.db.db import get\_scoped\_session
> from worklist import config, error\_handlers
> 
> 
> def create\_app(flask\_config=None, \*\*kwargs):
> """
> Instantiation and configure of flask application
> Args:
> flask\_config (str): Flask configuration value
> Returns:
> OpenAPI: Flask OpenAPI instance
> """
> info = Info(title=os.getenv("PROJECT\_NAME"), version="1.0.0", description=constants.WORKLIST\_DESCRIPTION)
> app = OpenAPI(\_\_name\_\_, info=info, security\_schemes={"jwt": HTTPBearer()})
> 
> # Configuring logger for Worklist Service
> logger = Logger(request)
> logger.info('\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*Starting worklist Service\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*')
> 
> # Load application configuration from the object
> config.LoadApplicationConfig(app, flask\_config)
> 
> # Adding permissions to the application
> app.permissions = permissions
> 
> # Adding scoped\_session to the application
> app.scoped\_session = get\_scoped\_session()
> 
> # JSON Web Token configuration
> jwt = JWTManager(app)
> app.config\["JWT\_IDENTITY\_CLAIM"\] = "jti"
> app.config\["JWT\_TOKEN\_LOCATION"\] = \["headers", "cookies"\]
> app.config\["JWT\_ACCESS\_COOKIE\_NAME"\] = "aptn"
> app.config\["JWT\_ACCESS\_CSRF\_HEADER\_NAME"\] = "X-CSRFT"
> app.config\["JWT\_ACCESS\_TOKEN\_EXPIRES"\] = timedelta(minutes=30)
> 
> # Register Error Handlers
> jwt.unauthorized\_loader(error\_handlers.missing\_token\_callback)
> app.register\_error\_handler(HTTPException, error\_handlers.http\_errors)
> app.register\_error\_handler(Exception, error\_handlers.global\_errors)
> 
> # Register blueprints
> app.register\_api(worklist\_routes)
> app.register\_api(health\_routes)
> 
> # Before and after request handlers
> app.before\_request(config.before\_request\_func)
> app.after\_request(config.after\_request\_func)
> app.teardown\_request(config.teardown\_request\_func)
> 
> return app

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 18, 2022, 1:18am UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/12 "2022-11-18T01:18:00Z")

</div>

hi @basepi , @beniwohli ,

is there any temporary workaround for above issue , so that I can move forward till I get a fix for flask\_openapi3 ?

Appreciate your help here please @beniwohli @basepi@lwintergerst

Thank you

---

<div class="post-metadata">

**Author:** ![basepi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/basepi/32/53056_2.png) [@basepi](https://discuss.elastic.co/u/basepi)\
**Post date:** [November 18, 2022, 6:28pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/13 "2022-11-18T18:28:06Z")

</div>

I'm not sure, I'll need to dive into the `flask_openapi3` code and we probably won't have time to do that until our next release cycle.

In the meantime you could use our [existing flask support](https://github.com/elastic/apm-agent-python/blob/main/elasticapm/contrib/flask/ __init__.py) as a reference and see if you can get it working using openapi3 signals.

Apologies for the inconvenience!

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 18, 2022, 6:38pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/14 "2022-11-18T18:38:04Z")

</div>

Hi @basepi

Is there anything else you suggest to make it work.

When tentatively the release would happen for python flask agent.

@basepi, request to help me with some pointers to proceed further.

Thanks

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 18, 2022, 6:39pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/15 "2022-11-18T18:39:38Z")

</div>

Hi @basepi,

Is there any timelines where “my issue” GitHub would be considered and fixed?

What would’ve the typical timelines

---

<div class="post-metadata">

**Author:** ![Dixit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dixit/32/111369_2.png) [@Dixit](https://discuss.elastic.co/u/Dixit)\
**Post date:** [November 18, 2022, 6:40pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/16 "2022-11-18T18:40:47Z")

</div>

Somehow @basepi if you make it work or some tweaks/workaround would appreciate.

Pretty much stuck here though!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 9, 2022, 2:41pm UTC](https://discuss.elastic.co/t/python-flask-elastic-apm-agent-issues-culprit-threading-bootstrap/318946/17 "2022-12-09T14:41:35Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
