If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text
Kibana version: 7.6
Elasticsearch version: 7.6
APM Server version: 7.6
APM Agent language and version: python, elastic-apm==5.5.2
Browser version: Google Chrome , Version 81.0.4044.138
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
- elastic by docker, https://www.elastic.co/guide/en/apm/get-started/current/quick-start-overview.html
- agent by pip
Fresh install or upgraded from other version?
Django project that run in different environments (prod, staging, test, local). I want to disable APM agent in some envs.
ELASTIC_APM['DISABLE_SEND'] = True- doesn't help. Still receive
"response_code": 401, "error": "unauthorized"errors in APM server.
ELASTIC_APM['ENABLED'] = False- (found this somewhere) - doesn't help too
ELASTIC_APM['SERVER_URL'] = ''- not sure that its good idea, as agent still operate (probably).
What is the proper way to disable APM python agent?