Include network four-tuple for connections in io.grpc.ChannelLogger logs
@ejona86 ci sta già lavorando.
Dal 21/2/2024.
- Lingua principale
- Java
- Stelle
- 12.1k
- Fork
- 4k
- Merge medio
- 2g 17h
- PR unite (30g)
- 37
Descrizione
We can't include them in each log message, because we simply don't know the values much of the time. But specifically for the transportReady and transportShutdown notifications, it seems we can plumb it without synchronization. We can add methods to ManagedClientTransport to get the local/remote addresses, maybe just as a `getAttributes()` method.
There's probably some status messages that would also be useful to include the four-tuple, but it may be hard to track them. Maybe we could include it in the DEADLINE_EXCEEDED message we generate.
Guida per i contributori
Apri la guida per i contributori
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.
Valutazione
Questa issue non è ancora stata valutata.