From 2e183360b0c7596fceab0a75967192b3e3556082 Mon Sep 17 00:00:00 2001 From: PhanThanhTrung Date: Tue, 29 Oct 2024 15:04:08 +0700 Subject: [PATCH] update --- cope2n-api/fwd_api/celery_worker/internal_task.py | 2 +- cope2n-api/fwd_api/celery_worker/process_report_tasks.py | 2 +- cope2n-api/fwd_api/celery_worker/process_result_tasks.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cope2n-api/fwd_api/celery_worker/internal_task.py b/cope2n-api/fwd_api/celery_worker/internal_task.py index b424172..7ab109f 100755 --- a/cope2n-api/fwd_api/celery_worker/internal_task.py +++ b/cope2n-api/fwd_api/celery_worker/internal_task.py @@ -28,7 +28,7 @@ from ..utils import s3 as S3Util from ..utils.accuracy import validate_feedback_file logger = get_task_logger(__name__) -tracer = trace.get_tracer() +tracer = trace.get_tracer("sbt_celery_backend") s3_client = S3Util.MinioS3Client( endpoint=settings.S3_ENDPOINT, diff --git a/cope2n-api/fwd_api/celery_worker/process_report_tasks.py b/cope2n-api/fwd_api/celery_worker/process_report_tasks.py index 07ef146..ff8a510 100755 --- a/cope2n-api/fwd_api/celery_worker/process_report_tasks.py +++ b/cope2n-api/fwd_api/celery_worker/process_report_tasks.py @@ -25,7 +25,7 @@ from fwd import settings redis_client = RedisUtils() logger = get_task_logger(__name__) -tracer = trace.get_tracer() +tracer = trace.get_tracer("sbt_celery_backend") s3_client = S3Util.MinioS3Client( diff --git a/cope2n-api/fwd_api/celery_worker/process_result_tasks.py b/cope2n-api/fwd_api/celery_worker/process_result_tasks.py index ad95116..ad8d16d 100755 --- a/cope2n-api/fwd_api/celery_worker/process_result_tasks.py +++ b/cope2n-api/fwd_api/celery_worker/process_result_tasks.py @@ -16,7 +16,7 @@ from fwd_api.utils import process as ProcessUtil from fwd_api.utils.redis import RedisUtils logger = get_task_logger(__name__) -tracer = trace.get_tracer() +tracer = trace.get_tracer("sbt_celery_backend") redis_client = RedisUtils()