Transaction Name and Type

Hi all,

I'm implementing custom module instrumentation for grpc-node (specifically the grpc npm package) and I'm seeking advice on what the first two arguments to the startTransaction method of Agent are supposed to be.

The documentation I've read so far doesn't seem to mention this.

Thanks!

Hi @dvisz-inf, thanks for taking this on! For grpc requests, the arguments to startTransaction should be:

name: the name of the rpc, eg /helloworld.Greeter/SayHello
type: request

You might also set the framework name to grpc and version to the grpc version (eg 1.19.1)

Thanks again!

1 Like

Thanks :slight_smile: This is what I'll use!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.