question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with grpc 1.4.x agent not properly generating and propagating trace information

See original GitHub issue

When upgrading gRPC from 1.3.x to 1.4.x the handling of trace identifiers no longer works. Meaning the trace information is always empty for gRPC 1.4.x but works fine for 1.3.x

Regardless of the version of grpc the tracing should work

Steps to Reproduce

Attached is a spring-boot application that has a grpc server and client. You can run the server setting the appropriate new relic agent settings and then run com.priceline.grpc.demo.demo.ClientGrpcRunner and you will see output similar to:

Hello Mike Bazos your trace id is[]

Your Environment

Azul Java 17 (Please see the attached logs which include the same program running with grpc 1.3.x and 1.4.x) grpc_1_4_logs.txt grpc_1_3_logs.txt grpc_new_relic_issue.zip

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mbazoscommented, Oct 10, 2022

Yeah @kford-newrelic I am not aware of any workarounds, I didn’t have time to dig deeper into the new relic agent code to see exactly what the problem is.

1reaction
atyulmankovcommented, Oct 10, 2022

@mbazos Thank you for the detailed info (and repro) on this issue. Do you currently have a workaround to this issue that you’re using?

@kford-newrelic I am not aware of any workarounds, and I am waiting for resolution on this as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

skywalking agent NOT support java-grpc high versions
hi, I think it should be the latest agent gRPC deps. Agent codebase is extract from skywalking website tar file. I'm use latest...
Read more >
Tracer Startup Logs - Datadog Docs
Tracer startup logs capture all obtainable information at startup and log it as DATADOG TRACER CONFIGURATION , DATADOG TRACER DIAGNOSTICS , or DATADOG ......
Read more >
Upgrading Specific Versions | Consul - HashiCorp Developer
Specific versions of Consul may have additional information about the upgrade process beyond the standard flow.
Read more >
Chapter 1. Distributed tracing release notes
This issue was resolved by exposing only the HTTP(S) port of the query service, and not the gRPC port. TRACING-2009 The Jaeger Operator...
Read more >
App Server Agents Supported Environments
Object instance tracking, automatic leak detection, and custom memory structure monitoring are not supported with the AppDynamics IBM Java Agent.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found