Skip to content

feat(opentelemetry_grpc): add initial setup for opentelemetry_grpc#554

Merged
tsloughter merged 1 commit into
open-telemetry:mainfrom
yordis:yordis/add-grpc
Oct 28, 2025
Merged

feat(opentelemetry_grpc): add initial setup for opentelemetry_grpc#554
tsloughter merged 1 commit into
open-telemetry:mainfrom
yordis:yordis/add-grpc

Conversation

@yordis
Copy link
Copy Markdown
Member

@yordis yordis commented Oct 1, 2025

Signed-off-by: Yordis Prieto yordis.prieto@gmail.com

@yordis yordis marked this pull request as ready for review October 1, 2025 18:51
Comment thread instrumentation/opentelemetry_grpc/README.md Outdated
Comment thread instrumentation/opentelemetry_grpc/README.md Outdated
Comment thread instrumentation/opentelemetry_grpc/README.md Outdated
Comment thread instrumentation/opentelemetry_grpc/README.md
Comment thread instrumentation/opentelemetry_grpc/README.md Outdated
Comment thread instrumentation/opentelemetry_grpc/README.md Outdated
Comment thread instrumentation/opentelemetry_grpc/lib/opentelemetry_grpc/client.ex Outdated
Comment thread instrumentation/opentelemetry_grpc/lib/opentelemetry_grpc/client.ex Outdated
Comment thread instrumentation/opentelemetry_grpc/lib/opentelemetry_grpc/client.ex Outdated
Comment thread instrumentation/opentelemetry_grpc/lib/opentelemetry_grpc/client.ex Outdated
@yordis yordis force-pushed the yordis/add-grpc branch 10 times, most recently from 2f685df to 396975f Compare October 3, 2025 18:12
@yordis yordis requested a review from sleipnir October 3, 2025 19:08
@yordis yordis force-pushed the yordis/add-grpc branch 8 times, most recently from 1cb549c to 14faa20 Compare October 3, 2025 19:43
Copy link
Copy Markdown

@sleipnir sleipnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sleipnir
Copy link
Copy Markdown

sleipnir commented Oct 3, 2025

@yordis I'm not a maintainer of this project, but PR looks good to me

@yordis yordis force-pushed the yordis/add-grpc branch 4 times, most recently from d553114 to 173ba90 Compare October 3, 2025 23:13
@yordis yordis force-pushed the yordis/add-grpc branch 8 times, most recently from a5e534a to df85958 Compare October 9, 2025 02:53
@yordis yordis requested a review from tsloughter October 9, 2025 02:53
@yordis yordis force-pushed the yordis/add-grpc branch 3 times, most recently from 478b5db to e2ee9e2 Compare October 11, 2025 06:38
@sleipnir
Copy link
Copy Markdown

Hi @tsloughter let me ask you. Can we move forward with this PR here in opentelemetry-erlang-contrib?

@sleipnir
Copy link
Copy Markdown

Hi @tsloughter let me ask you. Can we move forward with this PR here in opentelemetry-erlang-contrib?

@tsloughter can we make progress here?

@yordis
Copy link
Copy Markdown
Member Author

yordis commented Oct 27, 2025

@tsloughter @sleipnir should we move this package under the elixir-grpc org?

@sleipnir
Copy link
Copy Markdown

I first wanted to understand if there is any impediment here, let's wait a little longer for the @tsloughter to respond

Comment thread instrumentation/opentelemetry_grpc/lib/opentelemetry_grpc/client.ex Outdated
Comment thread instrumentation/opentelemetry_grpc/mix.exs Outdated
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@tsloughter tsloughter added this pull request to the merge queue Oct 28, 2025
Merged via the queue into open-telemetry:main with commit 5f0b11e Oct 28, 2025
26 checks passed
@sleipnir
Copy link
Copy Markdown

Thank you guys @tsloughter @yordis

@yordis yordis deleted the yordis/add-grpc branch December 10, 2025 22:57
) do
span_ctx = OpentelemetryTelemetry.set_current_telemetry_span(@grpc_client_tracer_id, metadata)

OpenTelemetry.Span.record_exception(span_ctx, kind, reason, stacktrace)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@yordis
Copy link
Copy Markdown
Member Author

yordis commented Mar 12, 2026

@grzuy please create a PR ... I am losing track of notifications. You could replicate the issue in the unit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants