I assume the microservices will use gRPC to send their log entries to the 
centralized logging server. In that case I don't understand what you mean 
by "how these logs would be returned by the server?". The centralized 
logging server would log to a logging backend.

Few questions:
- you will need to modify your microservices to insert the logging 
statements. I suppose that's ok?
- what do you want to log from your microservices? The inter-service calls 
or application state or something else?
- How are the microservices communicating - gRPC, REST or something else? 
Are you already using gRPC for something else?
- which language are the microservices written in?

On Wednesday, November 10, 2021 at 2:16:48 PM UTC-8 [email protected] 
wrote:

>
> Guys, I need to implement an application that generates logs for several 
> microservices. I was suggested to use protobuf to generate these logs. I've 
> never dealt with protobuf, gRPC, etc. I was able to verify the advantages 
> of using gRPC in this case (data serialization speed, contracts that would 
> facilitate the standardization of logs, etc). But I can't see safely and 
> practically how this system would be structured. Until then I thought of a 
> server using gRPC that would serve to collect the microservices logs, but 
> how these logs would be returned by the server?
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/5208444a-472d-461d-8bfc-33cb66d2b6afn%40googlegroups.com.

Reply via email to