Make samplers thread sleep call avoid drift
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- observability-sre
Hướng nghiên cứu
Start by locating the SamplersThread implementation and reading how it gathers data, posts the event, and sleeps. Adjust the timing so collection and posting remain aligned to roughly 60-second intervals, then verify that repeated events do not drift by the data-collection duration.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Currently SamplersThread always sleeps 60 seconds between gathering data and posting the event.
This means it doesn't send events every 60 seconds but instead every (60 + data collection time) seconds, so it will end up drifting from the exact minute. This could be frustrating for graphing things accurately.
It should adjust how long it sleeps to try keep running once per 60 seconds.
- Ngôn ngữ chính
- Python
- Star
- 77
- Fork
- 19
- Merge trung bình
- 4 giờ 6 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scoutapp/scout_apm_python
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 39/100
scoutapp/scout_apm_python#867 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 1/100
scoutapp/scout_apm_python#854 ·
-
redis-py 7.4.0 fixes password leak in ConnectionPool repr and exposes OTel classesCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbotwork
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
scoutapp/scout_apm_python#841 ·
-
Celery 5.6.3 removes deprecated redis get_connection args — verify Scout instrumentationCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbotwork
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
scoutapp/scout_apm_python#837 ·
-
Ensure Elasticsearch 9 compatĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
scoutapp/scout_apm_python#815 ·
Tất cả issue của scoutapp/scout_apm_python
Issue tương tự
-
Context/namespace resources fail in-cluster: "Invalid kube-config file. No configuration found."Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
awslabs/visual-asset-management-system#880 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
netbox status: needs owner type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
netbox-community/netbox#23533 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts status: backlog type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
netbox-community/netbox-scripts#68 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
marin-community/marin#10765 ·
Maintainer thường phản hồi trong vòng 1 ngày