Add unique ID without impacting wildcard functionality
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- observability
Direzione di ricerca
Start by reviewing the library's extend behavior and wildcard matching, then trace how names are formatted and filtered. Define how a unique transaction ID should appear in log output while preserving patterns such as DEBUG=debug:app*:other_extend_call; done means both identification and wildcard filtering work together.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
If a lot of different users interact with your application at the same time and calling async calls, you get log output that is a combination of all these actions and it's not easy to determine which log line is for which user/action/transaction/call_it_however_you_like.
I thought about using the extend function and add something like ":trans(transaction_id)" so the output would be:
debug:app(transaction_id) Some log output
But the problem here is that wildcards for enabling other extend calls would be an issue. For example DEBUG=debug:app*:other_extend_call which will not work.
Is there a way to add a transactionid to this without breaking the wildcard functionality? For example by just removing (transaction_id) using a replace somewhere in the library?
- Lingua principale
- JavaScript
- Stelle
- 11.5k
- Fork
- 992
- 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 debug-js/debug
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Debug as JSON Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 28/100
Tutte le issue di debug-js/debug
Issue simili
-
bot:ai-assisted component:compact-js status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100