Closed rohanshah18 closed 2 months ago
The user agent string was defaulting to netty-java-grpc/1.60.2 even though the user agent + source tag was passed in.
Instead of passing user agent as extra headers to the stubs, set the user agent string using .userAgent() on NettyChannelBuilder object.
Added a screenshot of the user agent being correctly populated in datadog on the internal ticket.
Problem
The user agent string was defaulting to netty-java-grpc/1.60.2 even though the user agent + source tag was passed in.
Solution
Instead of passing user agent as extra headers to the stubs, set the user agent string using .userAgent() on NettyChannelBuilder object.
Type of Change
Test Plan
Added a screenshot of the user agent being correctly populated in datadog on the internal ticket.