# Migrating java-grpc timing interceptors to akka-grpc

**URL:** https://discuss.akka.io/t/migrating-java-grpc-timing-interceptors-to-akka-grpc/4180
**Category:** Akka gRPC
**Tags:** scala, streams
**Created:** [May 12, 2019, 6:41pm UTC](https://discuss.akka.io/t/migrating-java-grpc-timing-interceptors-to-akka-grpc/4180 "2019-05-12T18:41:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Marcus-Rosti](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/marcus-rosti/32/1490_2.png) [@Marcus-Rosti](https://discuss.akka.io/u/Marcus-Rosti)
#### Post date: [May 12, 2019, 6:41pm UTC](https://discuss.akka.io/t/migrating-java-grpc-timing-interceptors-to-akka-grpc/4180/1 "2019-05-12T18:41:54Z")

</div>

I’m investigating switching from java-grpc + scalapb to akka-grpc.

My question:  
How will I migrate my RPC timing code to an akka oriented one. We have an rpc interceptor a la java-grpc that’ll log the rpc time and throughput and what not. How should I transfer this code to this new interface?
