first version of the profiler working with the NATS RPC library example