Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should I being using this project or opentelemetry-dotnet packages? #88

Open
jchannon opened this issue Jan 28, 2021 · 9 comments
Open

Comments

@jchannon
Copy link

As the title suggests. I may have this wrong but there seems to be a dual effort in providing libraries to expose tracing data. I'm currently using this package and Jaeger and all works nicely but I also see there are efforts from Microsoft as part of the https://github.com/open-telemetry/opentelemetry-dotnet repo so just wondering which path should I be on?

Thanks

@cwe1ss
Copy link
Collaborator

cwe1ss commented Jan 28, 2021

OpenTelemetry is a successor of OpenTracing. It is a merger of OpenTracing and OpenCensus.

Use OpenTelemetry if it already fits your requirements.

https://cloudblogs.microsoft.com/opensource/2019/05/23/announcing-opentelemetry-cncf-merged-opencensus-opentracing/

@jchannon
Copy link
Author

@cwe1ss
Copy link
Collaborator

cwe1ss commented Jan 28, 2021

OK - I just wouldn't invest too much time in this library. If you run into issues/things you don't like with this, I'd try to switch to OpenTelemetry. There's not much going on here anymore.

fyi: @jbogard wrote a great blog series about OpenTelemetry integration with .NET as well: https://jimmybogard.com/building-end-to-end-diagnostics-and-tracing-a-primer/ - it also has great information about .NET's built-in "Activity*"-types which you should use if you want to instrument your own .NET library.

@jchannon
Copy link
Author

jchannon commented Jan 28, 2021 via email

@js8080
Copy link

js8080 commented Jan 28, 2021

OK - I just wouldn't invest too much time in this library. If you run into issues/things you don't like with this, I'd try to switch to OpenTelemetry. There's not much going on here anymore.

What does this actually mean for the Jaeger C Sharp client? The only reason I'm using OpenTracing is because that's what the Jaeger C Sharp client uses. I assume at some point that Jaeger and that library will be updated to also use OpenTelemetry. Do you have any insight into that happening?

@cwe1ss
Copy link
Collaborator

cwe1ss commented Jan 28, 2021

What does this actually mean for the Jaeger C Sharp client? The only reason I'm using OpenTracing is because that's what the Jaeger C Sharp client uses. I assume at some point that Jaeger and that library will be updated to also use OpenTelemetry. Do you have any insight into that happening?

The OpenTelemetry-dotnet repository has a built-in "exporter" for Jaeger, so you won't need the existing "Jaeger" NuGet-package anymore:

@js8080
Copy link

js8080 commented Jan 28, 2021

Ah, thank you for that info! Does the OpenTelemetry-dotnet library have the ability to bypass the Jaeger Agent and push directly to the Collector (via gRPC for example)?

@cwe1ss
Copy link
Collaborator

cwe1ss commented Jan 28, 2021

I don't know that, sorry.

@rwkarg
Copy link
Contributor

rwkarg commented Feb 11, 2022

@js8080 No, it does not:
open-telemetry/opentelemetry-dotnet#2054

If you're currently using OpenTracing/Jaeger -> Jaeger Collector then you have three options to migrate to OpenTelemetry (all involving standing up new infrastructure):

  1. Install Jaeger Agent in all of your infrastructure and have that forward to the Jaeger Collector
  2. Install OpenTelemetry Collector infrastructure and then have that forward to the Jaeger Collector
  3. Install a backend other than Jaeger that is supported by OpenTelemetry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants