File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
pythonkr_backend/pythonkr_backend Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ def init_worker(*args, **kwargs):
26
26
environment = "prod" ,
27
27
service_name = "celery-worker" ,
28
28
send_to_logfire = "if-token-present" ,
29
+ code_source = logfire .CodeSource (
30
+ repository = 'https://github.com/pythonkr/python.or.kr-wip' ,
31
+ revision = sha_service_version ,
32
+ root_path = '/'
33
+ )
29
34
)
30
35
logfire .instrument_celery ()
31
36
logfire .instrument_pydantic_ai ()
@@ -37,6 +42,11 @@ def init_beat(*args, **kwargs):
37
42
environment = "prod" ,
38
43
service_name = "celery-beat" ,
39
44
send_to_logfire = "if-token-present" ,
45
+ code_source = logfire .CodeSource (
46
+ repository = 'https://github.com/pythonkr/python.or.kr-wip' ,
47
+ revision = sha_service_version ,
48
+ root_path = '/'
49
+ )
40
50
)
41
51
logfire .instrument_celery ()
42
52
logfire .instrument_pydantic_ai ()
You can’t perform that action at this time.
0 commit comments