-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gRPC plugin issue | TypeError: Cannot read property 'replace' of undefined #1260
Comments
I will look into this today |
@markwolff it looks like whatever original method which was wrapped with massWrap doesn't have a |
@giri-jeedigunta Can you include your package.json version of
|
gRPC version:
I will take a look at the test. Thank you ! |
@markwolff I've spent some time today to analyse this further. This issue is happening when I'm directly using the .proto file to define the service definition not a js file as showcased in the grpc the example. I have forked the repo and modified the existing gRPC example to reproduce the issue I'm facing. Also, I do not see this error occurring on gRPC server ( |
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
What version of Node are you using?
What did you do?
I have a gRPC Client and Server applications. I'm trying to get the telemetry on the client application for both gRPC and http requests.
If possible, provide a recipe for reproducing the error.
A simple alive service in my proto file: I also have other unary and BiDi stream calls but I have commented out to test the simple alive call.
in my nodejs I have called this:
What did you expect to see?
I was not expecting to see any errors and track the metrics on prometheus for both gRPC and http
What did you see instead?
I see this error and the app crashes:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: