Plugin uses wrong field when writing metrics to InfluxDB
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- observability-sre
Hướng nghiên cứu
Start by tracing the plugin's InfluxDB metric-writing path and compare its verbose-log output with the sitespeed core example. Use the Lighthouse and Grafana examples as references; done means the emitted metrics use the intended measurement or series field rather than relying on the audit tag.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi there. I noticed that the plugin writes its metrics to InfluxDB differently than the core sitespeed app. This way you have to query the data in very unorthodox ways. See difference in sitespeed verbose log:
Sitespeed core:
(correctly uses series name for the measurement)
{
"tags": {
"device": "desktop",
"stage": "produktion",
"origin": "browsertime",
"summaryType": "summary",
"connectivity": "native",
"browser": "chrome",
"group": "www_enbw_com",
"testName": "www_enbw_com"
},
"seriesName": "firstPaint",
"point": {
"time": 1630409179532,
"median": 483
}
},
Lighthouse plugin:
(uses extra "audit" tag for the actual series name...and the series name is the unit???)
{
"tags": {
"audit": "first-contentful-paint",
"device": "desktop",
"stage": "produktion",
"origin": "lighthouse",
"summaryType": "pageSummary",
"page": "_unternehmen_",
"group": "www_enbw_com",
"testName": "www_enbw_com"
},
"seriesName": "numericValue",
"point": {
"time": 1630409179532,
"value": 1454.0010000000002
}
},
Also see the difference in Grafana query:

Any chance, this will be fixed in the future?
Cheers!
- Ngôn ngữ chính
- JavaScript
- Star
- 31
- Fork
- 21
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 sitespeedio/plugin-lighthouse
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
sitespeedio/plugin-lighthouse#136 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
sitespeedio/plugin-lighthouse#134 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
sitespeedio/plugin-lighthouse#133 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
sitespeedio/plugin-lighthouse#126 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
sitespeedio/plugin-lighthouse#120 · 7 bình luận ·
Tất cả issue của sitespeedio/plugin-lighthouse
Issue tương tự
-
Code Cleanup Dev Environment
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ProjectSidewalk/SidewalkWebpage#5699 ·
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 68/100
zenstackhq/zenstack#2873 ·
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 78/100
Jason-Vaughan/TangleClaw#2195 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update: freelancermapĐang mởpermissions in review update icon/data
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
simple-icons/simple-icons#15062 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[cao] CAO validation findingsĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
githubnext/gh-aw-cao#16664 ·
Maintainer thường phản hồi trong vòng 1 ngày