-
Notifications
You must be signed in to change notification settings - Fork 133
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
Reduces max events to 100 #731
Conversation
To reduce overall number of total events we collect per python process.
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.
👍 Looks good to me!
- Reviewed the entire pull request up to a304fff
- Looked at
14
lines of code in1
files - Took 26 seconds to review
More info
- Skipped
0
files when reviewing. - Skipped posting
1
additional comments because they didn't meet confidence threshold of50%
.
1. hamilton/telemetry.py:54
:
- Assessed confidence :
50%
- Comment:
This change reduces the max number of events collected per python process from 1000 to 100. While this might help in reducing the overall number of total events, it could potentially lead to loss of important telemetry data in long-running or complex processes. Please ensure that this change has been adequately tested and that the potential loss of telemetry data is acceptable. - Reasoning:
The change in the PR is straightforward and doesn't seem to introduce any bugs. However, it's important to consider the implications of this change. Reducing the max number of events collected per python process from 1000 to 100 could potentially lead to loss of important telemetry data, especially in long-running or complex processes. This could impact the ability to monitor and debug the system effectively. It's also unclear whether this change has been tested adequately, as the PR description doesn't provide any details about testing.
Workflow ID: wflow_4fJPUtdSVXS4Krfq
Not what you expected? You can customize the content of the reviews using rules. Learn more here.
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.
LGTN
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.
👍 Looks good to me!
- Performed an incremental review on a161238
- Looked at
13
lines of code in1
files - Took 45 seconds to review
More info
- Skipped
0
files when reviewing. - Skipped posting
1
additional comments because they didn't meet confidence threshold of50%
.
1. hamilton/telemetry.py:54
:
- Assessed confidence :
33%
- Comment:
This change reduces the maximum number of events collected per Python process from 1000 to 100. While this doesn't introduce any bugs, it's important to consider the implications. This could potentially limit the amount of telemetry data collected, which could impact the ability to monitor and improve the system. It could also impact any systems or processes that rely on or expect a certain volume of telemetry data. - Reasoning:
The change in the PR is straightforward and doesn't seem to introduce any bugs. However, it's important to consider the implications of this change. Reducing the maximum number of events collected per Python process from 1000 to 100 could potentially limit the amount of telemetry data collected, which could impact the ability to monitor and improve the system. It's also worth noting that this change could potentially impact any systems or processes that rely on or expect a certain volume of telemetry data.
Workflow ID: wflow_hhIKrbaFHwn7YXLX
Not what you expected? You can customize the content of the reviews using rules. Learn more here.
To reduce overall number of total events
we collect per python process.
Changes
How I tested this
Notes
Checklist
Summary:
This PR reduces the maximum number of events collected per Python process from 1000 to 100 in
telemetry.py
.Key points:
MAX_COUNT_SESSION
from 1000 to 100 intelemetry.py
Generated with ❤️ by ellipsis.dev