Elasticsearch version support
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- 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ệ
- elasticsearch, python
- Lĩnh vực
- observability
Hướng nghiên cứu
Start with scout_apm/instruments/elasticsearch.py, especially ensure_client_instrumented and the method lookup shown in the traceback. Check the agent against Elasticsearch 6.4.0 and other relevant versions, then define the supported versions and verify that instrumentation only targets methods present in each supported client.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Currently when scout instruments older versions of elasticsearch, such as 6.4.0, there are some warnings for missing methods that were only added in later versions:
WARNING:scout_apm.instruments.elasticsearch:Failed to instrument elasticsearch.Elasticsearch.get_script_context: AttributeError("type object 'Elasticsearch' has no attribute 'get_script_context'",)
Traceback (most recent call last):
File "venv/lib/python3.6/site-packages/scout_apm/instruments/elasticsearch.py", line 86, in ensure_client_instrumented
method = getattr(Elasticsearch, name)
AttributeError: type object 'Elasticsearch' has no attribute 'get_script_context'
WARNING:scout_apm.instruments.elasticsearch:Failed to instrument elasticsearch.Elasticsearch.get_script_languages: AttributeError("type object 'Elasticsearch' has no attribute 'get_script_languages'",)
Traceback (most recent call last):
File "venv/lib/python3.6/site-packages/scout_apm/instruments/elasticsearch.py", line 86, in ensure_client_instrumented
method = getattr(Elasticsearch, name)
AttributeError: type object 'Elasticsearch' has no attribute 'get_script_languages'
Define which versions are supported, and only instrument methods that should exist in the current version.
- Ngôn ngữ chính
- Python
- Star
- 77
- Fork
- 19
- Merge trung bình
- 21 giờ 22 phút
- Pull request đã merge (30 ngày)
- 1
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ó 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 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
scoutapp/scout_apm_python#791 ·
Tất cả issue của scoutapp/scout_apm_python
Issue tương tự
-
Project submission:Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slavakurilyak/awesome-ai-agents#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directoryCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdifficulty:2 enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
MakazhanAlpamys/Soup#2178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-valuesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
scverse/rapids-singlecell#854 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGLCó thể đã có người làm @ninglinLiu đã nhận hôm nay. Đang mởarea:frontend backend:slang bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 13 ngày