Plugin uses wrong field when writing metrics to InfluxDB
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- observability-sre
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- JavaScript
- Stelle
- 31
- Fork
- 21
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sitespeedio/plugin-lighthouse
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
sitespeedio/plugin-lighthouse#136 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sitespeedio/plugin-lighthouse#134 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
sitespeedio/plugin-lighthouse#133 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sitespeedio/plugin-lighthouse#126 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
sitespeedio/plugin-lighthouse#120 · 7 commenti ·
Tutte le issue di sitespeedio/plugin-lighthouse
Issue simili
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Automattic/safe-publish#594 ·
-
内部文件键(绝对路径的 base64)泄漏到界面标签 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
dream-num/dsh-univer-office#104 ·
-
comp/dashboard invalid P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
NousResearch/hermes-agent#121143 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
avniproject/avni-webapp#1811 ·
-
area/auroraboot area/webui bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100