getLatency() is very helpful for query operations. However, to measure performance, and separate network latency from database latency, we need to have the getLatency() function on mutation responses as well as query responses.
Can getLatency() be made available on the Assigned class as well?
This client library uses grpc to communicate with the Dgraph server. But the Dgraph server doesn’t expose latency metrics for a mutation. So this is not possible until Dgraph server supports this.