Update base.py

This commit is contained in:
Ildar Iskhakov 2023-01-20 20:20:51 +08:00 committed by GitHub
parent 693b5a41c4
commit 0a00d3e2c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -658,6 +658,7 @@ if PYROSCOPE_PROFILER_ENABLED:
application_name=os.getenv("PYROSCOPE_APPLICATION_NAME", "oncall"),
server_address=os.getenv("PYROSCOPE_SERVER_ADDRESS", "http://pyroscope:4040"),
auth_token=os.getenv("PYROSCOPE_AUTH_TOKEN", ""),
detect_subprocesses=True,
tags={
"celery_worker": os.getenv("CELERY_WORKER_QUEUE", None),
},