elastic / elastic/ml-cpp

[ML] Info and debug level log throttling

Aperta
#1,616 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
:ml :ml/DataFrameAnalysis >enhancement
Lingua principale
C++
Stelle
157
Fork
67
Merge medio
17h 52m
PR unite (30g)
20

Descrizione

#1615 introduces per log line rate based throttling of warn and error messages. We also have some message deduplication on the Java side: repeated lines are deduplicated. It is easier to reason about logging if all throttling occurs in one place. We also currently pay the price of writing the message over the named pipe to Java before deduplicating.

We should move debug and info level log throttling to C++ and remove the Java throttling we currently have. We should also decide whether we want to retain the old mechanism of only retaining the last line, move to per log line based throttling as we have for warn and error or not throttle at all for info and debug logging.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da #1615, poi traccia la deduplicazione e il throttling attuali lato Java e il percorso della named pipe descritto in questa issue. Decidi se i log di debug e info debbano conservare l'ultima riga, usare il throttling per riga o rimanere senza throttling; il lavoro è completato quando il comportamento C++ scelto è implementato e il throttling Java è stato rimosso.

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

Valutazione

Stack tecnologico
cpp, java
Ambito
machine-learning, observability
Tipo di issue
Refactoring
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.