This commit is contained in:
PhanThanhTrung 2024-10-29 15:04:08 +07:00
parent 5bcbc257de
commit 2e183360b0
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ from ..utils import s3 as S3Util
from ..utils.accuracy import validate_feedback_file from ..utils.accuracy import validate_feedback_file
logger = get_task_logger(__name__) logger = get_task_logger(__name__)
tracer = trace.get_tracer() tracer = trace.get_tracer("sbt_celery_backend")
s3_client = S3Util.MinioS3Client( s3_client = S3Util.MinioS3Client(
endpoint=settings.S3_ENDPOINT, endpoint=settings.S3_ENDPOINT,

View File

@ -25,7 +25,7 @@ from fwd import settings
redis_client = RedisUtils() redis_client = RedisUtils()
logger = get_task_logger(__name__) logger = get_task_logger(__name__)
tracer = trace.get_tracer() tracer = trace.get_tracer("sbt_celery_backend")
s3_client = S3Util.MinioS3Client( s3_client = S3Util.MinioS3Client(

View File

@ -16,7 +16,7 @@ from fwd_api.utils import process as ProcessUtil
from fwd_api.utils.redis import RedisUtils from fwd_api.utils.redis import RedisUtils
logger = get_task_logger(__name__) logger = get_task_logger(__name__)
tracer = trace.get_tracer() tracer = trace.get_tracer("sbt_celery_backend")
redis_client = RedisUtils() redis_client = RedisUtils()