fix: Resolve issue with UUID in telemetry (#524)
<!-- .github/pull_request_template.md --> ## Description Fixes sending of UUID through telemetry ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Enhanced telemetry logging by ensuring identifiers are consistently formatted. This improvement helps prevent type-related issues during logging and boosts overall reliability without affecting task execution or user-facing functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
2a04fa3738
commit
ebd1d2adbf
1 changed files with 3 additions and 3 deletions
|
|
@ -234,7 +234,7 @@ async def run_tasks_with_telemetry(tasks: list[Task], data, pipeline_name: str):
|
||||||
"Pipeline Run Started",
|
"Pipeline Run Started",
|
||||||
user.id,
|
user.id,
|
||||||
additional_properties={
|
additional_properties={
|
||||||
"pipeline_name": pipeline_name,
|
"pipeline_name": str(pipeline_name),
|
||||||
}
|
}
|
||||||
| config,
|
| config,
|
||||||
)
|
)
|
||||||
|
|
@ -247,7 +247,7 @@ async def run_tasks_with_telemetry(tasks: list[Task], data, pipeline_name: str):
|
||||||
"Pipeline Run Completed",
|
"Pipeline Run Completed",
|
||||||
user.id,
|
user.id,
|
||||||
additional_properties={
|
additional_properties={
|
||||||
"pipeline_name": pipeline_name,
|
"pipeline_name": str(pipeline_name),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
|
|
@ -261,7 +261,7 @@ async def run_tasks_with_telemetry(tasks: list[Task], data, pipeline_name: str):
|
||||||
"Pipeline Run Errored",
|
"Pipeline Run Errored",
|
||||||
user.id,
|
user.id,
|
||||||
additional_properties={
|
additional_properties={
|
||||||
"pipeline_name": pipeline_name,
|
"pipeline_name": str(pipeline_name),
|
||||||
}
|
}
|
||||||
| config,
|
| config,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue