Re: [grpc-io] Re: Would like to know more details about the binary log.

2021-09-23 Thread 'yas...@google.com' via grpc.io
That is correct. Binary logging is not yet supported in Core based 
languages.

On Monday, August 2, 2021 at 11:26:54 AM UTC-7 Eric Anderson wrote:

> I'll let someone else explain more of the state for C-based languages.
>
> As I understand it, binary logging isn't supported in the C-based 
> languages which includes C#, C++, Python, and others. grpc-dotnet does 
> not support binary logging 
> .
>  
> grpc-go's implementation is in grpc/binarylog 
> . 
> grpc-java's is 
> 
>  at 
> io.grpc.protobuf.services.BinaryLogs 
> .
>  
> Should be clear in both cases how to write to a different collector. Java 
> doesn't expose the concrete protobuf type to the sink, so filtering will be 
> harder than in Go. In general, filtering based on RPC request will be hard 
> because 1) the message is untyped and serialized, so you'll need some 
> custom logic to decode it and 2) the message may be truncated which can 
> trivially fail deserialization even if the field you want wasn't truncated.
>
> On Mon, Jul 19, 2021 at 10:02 AM Xiaofeng Han  wrote:
>
>> friendly ping, thanks.
>>
>> On Thursday, July 15, 2021 at 9:08:51 PM UTC-7 Xiaofeng Han wrote:
>>
>>> Hello grpc-io group,
>>>
>>> This is Xiaofeng from Roblox, I am very interested in using the grpc 
>>> binary logging to build a debugging tool for all the micro-services at 
>>> Roblox. So far I only find this grfc 
>>> 
>>>  online. 
>>> I have the following questions and would greatly appreciate it if someone 
>>> could help. 
>>>
>>> 1. Is the binary log fully implemented for all major programming 
>>> languages, like C#, C++, go, python, etc?
>>>
>>> 2. If yes, how can we customized it to support
>>> a. conditional logging, e..g, random sampling, or when the rpc request 
>>> contains certain values.
>>> b. redirect the logging to other collectors instead of a local file.
>>>
>>> Thanks,
>>> Xiaofeng
>>>
>>> -- 
>> 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 grpc-io+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/fc398e75-5d29-4a93-808d-9c50a7c145c2n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f7b72e52-4fa6-4a91-abf4-362051e5585an%40googlegroups.com.


Re: [grpc-io] Re: Would like to know more details about the binary log.

2021-08-02 Thread 'Eric Anderson' via grpc.io
I'll let someone else explain more of the state for C-based languages.

As I understand it, binary logging isn't supported in the C-based languages
which includes C#, C++, Python, and others. grpc-dotnet does not support
binary logging
.
grpc-go's implementation is in grpc/binarylog
. grpc-java's
is

at
io.grpc.protobuf.services.BinaryLogs
.
Should be clear in both cases how to write to a different collector. Java
doesn't expose the concrete protobuf type to the sink, so filtering will be
harder than in Go. In general, filtering based on RPC request will be hard
because 1) the message is untyped and serialized, so you'll need some
custom logic to decode it and 2) the message may be truncated which can
trivially fail deserialization even if the field you want wasn't truncated.

On Mon, Jul 19, 2021 at 10:02 AM Xiaofeng Han 
wrote:

> friendly ping, thanks.
>
> On Thursday, July 15, 2021 at 9:08:51 PM UTC-7 Xiaofeng Han wrote:
>
>> Hello grpc-io group,
>>
>> This is Xiaofeng from Roblox, I am very interested in using the grpc
>> binary logging to build a debugging tool for all the micro-services at
>> Roblox. So far I only find this grfc
>> 
>>  online.
>> I have the following questions and would greatly appreciate it if someone
>> could help.
>>
>> 1. Is the binary log fully implemented for all major programming
>> languages, like C#, C++, go, python, etc?
>>
>> 2. If yes, how can we customized it to support
>> a. conditional logging, e..g, random sampling, or when the rpc request
>> contains certain values.
>> b. redirect the logging to other collectors instead of a local file.
>>
>> Thanks,
>> Xiaofeng
>>
>> --
> 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 grpc-io+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/fc398e75-5d29-4a93-808d-9c50a7c145c2n%40googlegroups.com
> 
> .
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oN40fjt_YBi8rZW0NU75nsexS67XS-x-nDR_QTWm9qD-A%40mail.gmail.com.


smime.p7s
Description: S/MIME Cryptographic Signature


[grpc-io] Re: Would like to know more details about the binary log.

2021-07-19 Thread Xiaofeng Han
friendly ping, thanks.

On Thursday, July 15, 2021 at 9:08:51 PM UTC-7 Xiaofeng Han wrote:

> Hello grpc-io group,
>
> This is Xiaofeng from Roblox, I am very interested in using the grpc 
> binary logging to build a debugging tool for all the micro-services at 
> Roblox. So far I only find this grfc 
> 
>  online. 
> I have the following questions and would greatly appreciate it if someone 
> could help. 
>
> 1. Is the binary log fully implemented for all major programming 
> languages, like C#, C++, go, python, etc?
>
> 2. If yes, how can we customized it to support
> a. conditional logging, e..g, random sampling, or when the rpc request 
> contains certain values.
> b. redirect the logging to other collectors instead of a local file.
>
> Thanks,
> Xiaofeng
>
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/fc398e75-5d29-4a93-808d-9c50a7c145c2n%40googlegroups.com.