Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat: complete or remove telemetry stubs and reduce dynamic imports

Chiusa
#1,387 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript

Direzione di ricerca

Start by reading metrics.js, llmInstrumenter.js, skillInstrumenter.js, and provider.js to understand how telemetry data is currently produced and how getTracer loads the OpenTelemetry API. Decide which stubs should be completed or removed, then check the project’s existing telemetry tests and callers. Done means telemetry behavior is real or intentionally removed, with repeated dynamic imports reduced where appropriate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature

Summary

Resolve the telemetry stubs that don't actually emit spans, and reduce repeated dynamic imports.

Findings

  • metrics.js — createTokenCounter/createDurationHistogram are stubs — the record functions just return data, they don't emit to a meter. YAGNI / dead-ish.
  • llmInstrumenter.js — instrumentLlmCall returns { spans: [], attributes } — spans always empty; doesn't actually create spans. Stub.
  • skillInstrumenter.js — returns span data but doesn't create a real span. Stub.
  • provider.js — getTracer does await import("@opentelemetry/api") each call. Minor.
Lingua principale
JavaScript
Stelle
2
Fork
0
Merge medio
1h 6m
PR unite (30g)
234

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di avoidwork/madz

Tutte le issue di avoidwork/madz

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.