Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Interpreting webhookLatencies field in Bigquery Dialogflow Logs

I am exporting Dialogflow CX logs into a BQ table. There is a response field(JSON) that contains a field called webhookLatencies. webhookLatencies contains two fields: nanos, and seconds. e.g.:

 
"webhookLatencies":[{"nanos":896000000,"seconds":19}]

What is meant by the two values? Why converting nanos to seconds doesn't give me the same value?

Solved Solved
0 1 77
1 ACCEPTED SOLUTION

The type of that field is Duration: https://protobuf.dev/reference/protobuf/google.protobuf/#duration

So basically if you want to read it, you should read it in this way: the latency is 19 seconds and 896000000 nanos

View solution in original post

1 REPLY 1

The type of that field is Duration: https://protobuf.dev/reference/protobuf/google.protobuf/#duration

So basically if you want to read it, you should read it in this way: the latency is 19 seconds and 896000000 nanos