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
I believe that the issue is with the regexp used to extract the service name from the full gRPC method name: ^/\S*\.(\S*)/\S*$ which seems to look for a fully qualified service name.
In my case, the full method name is simply /Lightpeer/Persist, so the regexp won't find anything.
I'm not sure if this is an issue on my side or not, but a possible fix can be to replace the regexp with ^/(?:\S*\.)?(\S*)/\S*$, making it optional to have a fully qualified service name. Specifically, see this commit.
The text was updated successfully, but these errors were encountered:
I'm looking now at the specification and it says that
Span name MUST be full gRPC method name formatted as: $package.$service/$method
Is this some hard requirement? Because in this case there might be something wrong on my side (maybe when generating the grpc packages?)
It looks like the spec is incorrect in that normative assertion. The gRPC protocol does not define the service name in that fashion. It seems like an added restriction of the OpenTelemetry specification, and I don't think it is justified.
I tried out the new gRPC UnaryClientInterceptor, and got this error when making a call from the client:
I believe that the issue is with the regexp used to extract the service name from the full gRPC method name:
^/\S*\.(\S*)/\S*$
which seems to look for a fully qualified service name.In my case, the full method name is simply
/Lightpeer/Persist
, so the regexp won't find anything.I'm not sure if this is an issue on my side or not, but a possible fix can be to replace the regexp with
^/(?:\S*\.)?(\S*)/\S*$
, making it optional to have a fully qualified service name. Specifically, see this commit.The text was updated successfully, but these errors were encountered: