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

Page feedback, .NET Framework #5151

Closed
cssatkmd opened this issue Sep 4, 2024 · 5 comments
Closed

Page feedback, .NET Framework #5151

cssatkmd opened this issue Sep 4, 2024 · 5 comments

Comments

@cssatkmd
Copy link

cssatkmd commented Sep 4, 2024

Suggested improvements for page: https://opentelemetry.io/docs/languages/net/netframework/

I would like documentation for setting up metrics collection for the full .NET Framework, 4.x.x.
How to enable?
How to configure?
What if one is not running ASP.NET?
Do we always need the TelemetryHttpModule?
Etc..

Thanks!

@cartermp
Copy link
Contributor

cartermp commented Sep 4, 2024

Note that metrics are not currently documented for .NET right now, regardless of if it's on .NET Framework or .NET: https://opentelemetry.io/docs/languages/net/instrumentation/#metrics

What if one is not running ASP.NET?

Are you using something else? In general we document ASP.NET Core, ASP.NET, and Console but that's it.

@cssatkmd
Copy link
Author

cssatkmd commented Sep 4, 2024

I am using ASP.NET, but I was looking for a console example. I wanted to make sure I was doing it right.

We are however using Nancy for our ASP.NET solution, but I currently don't have the need for telemetry on requests, as we have older logging in place for that. I was looking to support memory usage tracking via OpenTelemetry, but so far I'm not getting there.

Thanks for your feedback/comment!

@cijothomas
Copy link
Member

If looking for ConsoleApp, this doc can help. There is no difference between .NET FW vs .NET Core vs .NET for console app: https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/docs/metrics/getting-started-console

@svrnm
Copy link
Member

svrnm commented Nov 6, 2024

@cssatkmd did @cijothomas' answer help you?

@cssatkmd
Copy link
Author

cssatkmd commented Nov 8, 2024

Yes, thanks. The documentation led me to endpoint manipulation, by assigning metrics information to our telemetry provider. This was different from core, as full Framework apparently needed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

4 participants