Skip to content

Commit

Permalink
Merge pull request #2397 from newrelic/grpc-server
Browse files Browse the repository at this point in the history
Use GRPC::Server instrumentation name
  • Loading branch information
kaylareopelle authored Jan 17, 2024
2 parents fd98f88 + 4fbc9e4 commit 5cd4468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_relic/agent/instrumentation/grpc_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
end

executes do
supportability_name = NewRelic::Agent::Instrumentation::GRPC::Client::INSTRUMENTATION_NAME
supportability_name = NewRelic::Agent::Instrumentation::GRPC::Server::INSTRUMENTATION_NAME
if use_prepend?
prepend_instrument GRPC::RpcServer, NewRelic::Agent::Instrumentation::GRPC::Server::RpcServerPrepend, supportability_name
prepend_instrument GRPC::RpcDesc, NewRelic::Agent::Instrumentation::GRPC::Server::RpcDescPrepend, supportability_name
Expand Down

0 comments on commit 5cd4468

Please sign in to comment.