You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure this should be considered a bug, but as Github's discussion section is disabled I couldn't find other official places to ask this question. Please let me know if there's a better channel so I can close this one.
I'm currently trying to exclude client gRPC spans that are related to health check calls:
As you can see in the image below, the full_method is /grpc.health.v1.Health/Check.
But when adding the WithUntracedMethods option to the code nothing happens.
Hi
Because it is not set to grpc.WithUnaryInterceptor?
You can also use Health_Check_FullMethodName in package grpc_health_v1 instead of "/grpc.health.v1.Health/Check".
Version of dd-trace-go
v1.58.0-rc.1
Describe what happened:
Not sure this should be considered a bug, but as Github's discussion section is disabled I couldn't find other official places to ask this question. Please let me know if there's a better channel so I can close this one.
I'm currently trying to exclude client gRPC spans that are related to health check calls:
![image](https://private-user-images.githubusercontent.com/611469/284356352-76060080-38a9-484e-baeb-9f03d994bb49.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjgyNzIsIm5iZiI6MTczODgyNzk3MiwicGF0aCI6Ii82MTE0NjkvMjg0MzU2MzUyLTc2MDYwMDgwLTM4YTktNDg0ZS1iYWViLTlmMDNkOTk0YmI0OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQwNzQ2MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MTkyYzllNDUyNGEwYjVjNzBjMzg2NDE0ZDU2MjkwZjA2N2FmZDAzODI2YzZiYTIwMTQyNjRiNTU2NDIwZjQ2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.xgqHeSnLmirn9onWsrXxluBhctCz1nId9rhRrHaG5JU)
As you can see in the image below, the
full_method
is/grpc.health.v1.Health/Check
.But when adding the
WithUntracedMethods
option to the code nothing happens.From what I can see checking the source code, the
rpc.grpc.full_method
should match what I need to provide as an argument forWithUntracedMethods
.dd-trace-go/contrib/google.golang.org/grpc/grpc.go
Line 66 in 9cf50b3
So it's unclear why the spans are not being dropped. Big chance I'm doing something wrong. 😄 Would you have an idea what it could be?
Describe what you expected:
gRPC spans with
rpc.grpc.full_method
matching the attribute fromWithUntracedMethods
to be dropped from the trace.Steps to reproduce the issue:
Use the
WithUntracedMethods
in the gRPC client.Additional environment details (Version of Go, Operating System, etc.):
Go version: 1.21
OS: Linux
The text was updated successfully, but these errors were encountered: