feat(opentelemetry_grpc): add initial setup for opentelemetry_grpc#554
Conversation
7a1f888 to
e82f17e
Compare
2f685df to
396975f
Compare
1cb549c to
14faa20
Compare
|
@yordis I'm not a maintainer of this project, but PR looks good to me |
d553114 to
173ba90
Compare
a5e534a to
df85958
Compare
478b5db to
e2ee9e2
Compare
|
Hi @tsloughter let me ask you. Can we move forward with this PR here in opentelemetry-erlang-contrib? |
@tsloughter can we make progress here? |
|
@tsloughter @sleipnir should we move this package under the elixir-grpc org? |
|
I first wanted to understand if there is any impediment here, let's wait a little longer for the @tsloughter to respond |
e2ee9e2 to
0eb2cde
Compare
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
0eb2cde to
3aafb3d
Compare
|
Thank you guys @tsloughter @yordis |
| ) do | ||
| span_ctx = OpentelemetryTelemetry.set_current_telemetry_span(@grpc_client_tracer_id, metadata) | ||
|
|
||
| OpenTelemetry.Span.record_exception(span_ctx, kind, reason, stacktrace) |
There was a problem hiding this comment.
I don't think this function call would work?
We will need something like this in opentelemetry_api for it to work I think open-telemetry/opentelemetry-erlang#965.
| def handle_event([:grpc, :server, :rpc, :exception], _measurements, metadata, _config) do | ||
| ctx = OpentelemetryTelemetry.set_current_telemetry_span(@grpc_server_tracer_id, metadata) | ||
|
|
||
| OpenTelemetry.Span.record_exception(ctx, metadata.kind, metadata.reason, metadata.stacktrace) |
|
@grzuy please create a PR ... I am losing track of notifications. You could replicate the issue in the unit test |
Signed-off-by: Yordis Prieto yordis.prieto@gmail.com