grpc_statsd v0.1.0 GRPCStatsd.ServerInterceptor
Define your interceptor and use it in endpoint
defmodule YourService.ServerInterceptor do
# optional
# * time_unit: :millisecond
use GRPCStatsd.ServerInterceptor, statsd_module: Statix
end
defmodule YourService.Grpc.Endpoint do
use GRPC.Endpoint
intercept YourService.Grpc.ServerInterceptor
...
end