Skip to content

Commit 7b19e07

Browse files
committed
Remove RpcInfo class
Signed-off-by: Jason Parraga <[email protected]>
1 parent 3f0d1a1 commit 7b19e07

File tree

1 file changed

+0
-18
lines changed
  • instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc

1 file changed

+0
-18
lines changed

instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc/_utilities.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,6 @@
1919
from opentelemetry.trace.status import Status, StatusCode
2020

2121

22-
class RpcInfo:
23-
def __init__(
24-
self,
25-
full_method=None,
26-
metadata=None,
27-
timeout=None,
28-
request=None,
29-
response=None,
30-
error=None,
31-
):
32-
self.full_method = full_method
33-
self.metadata = metadata
34-
self.timeout = timeout
35-
self.request = request
36-
self.response = response
37-
self.error = error
38-
39-
4022
def _server_status(code, details):
4123
error_status = Status(
4224
status_code=StatusCode.ERROR, description=f"{code}:{details}"

0 commit comments

Comments
 (0)