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

[Feature] Need a way to get Tracing either from OpenTelemetry or ActivitySources, I don't see either in the codebase. #880

Closed
DR9885 opened this issue Sep 11, 2024 · 3 comments

Comments

@DR9885
Copy link

DR9885 commented Sep 11, 2024

Need a way to get tracing either from OpenTelemetry or ActivitySources, I don't see either in the codebase.

If I did happen to miss them, just provide the way to enable them.

If there a different way I could do this with middleware, to have trigger just before message is picked up, and after message is handled. I could add my own Tracing.

@gbirchmeier
Copy link
Member

We don't have it. I'm not opposed to adding it somehow, but I also don't really know much about it.

@DR9885
Copy link
Author

DR9885 commented Sep 11, 2024

Tracing can be done by either ActivitySource or OpenTelemetry.

  • ActivitySource - Part of C# framework, and works for any shipper
  • OpenTelemetry - an open source standard, that can do BOTH tracing and shipping. (Supported by Elastic, DataDog, Sentry, and many more...)

I'd recommend using ActivitySource to Write the traces, and then just test that they work with OpenTelemetry Console Logging. Which can be helpful.

Links: (These Pages will be very helpful)
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs
https://opentelemetry.io/docs/languages/net/getting-started/

gbirchmeier added a commit to gbirchmeier/quickfixn that referenced this issue Sep 15, 2024
@gbirchmeier
Copy link
Member

If someone wants to collaborate, please reach out. But I'm not going to write this for free all on my own (unless I happen to need it myself)

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

2 participants