-
Notifications
You must be signed in to change notification settings - Fork 1.8k
add logfire dep group for performance exploration #17860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CodSpeed Performance ReportMerging #17860 will not alter performanceComparing Summary
|
class _LogfireSettings(PrefectBaseSettings): | ||
""" | ||
Settings for Logfire tracing | ||
""" | ||
|
||
model_config: ClassVar[SettingsConfigDict] = build_settings_config( | ||
("experiments", "logfire") | ||
) | ||
|
||
enabled: bool = Field( | ||
default=False, | ||
description="If `True`, enables Logfire tracing. Set to `False` to disable Logfire tracing.", | ||
) | ||
|
||
write_token: Optional[str] = Field( | ||
default=None, | ||
description="The Logfire write token to use for tracing.", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If logfire
isn't going to be installed via normal operation, I don't think we should include these settings as part of our schema. If we want to keep these settings then I think we should add a logfire
extra. Otherwise, I think we can use plain environment variables to control logfire
.
try to fix type error
adds
logfire
andpyinstrument
behind aperf
dependency group (not published in project metadata)to use this with
prefect server start
, just setthis should have no effect by default