Kevin Gosse 6/21/2020

Monitor GC stats with a startup hook

Read Original

This technical article details a practical use case for .NET Core startup hooks: injecting code to monitor garbage collection counts. The author, working on a .NET tracer at Datadog, describes implementing a background thread that polls GC.CollectionCount and sends metrics via StatsD to the Datadog agent for performance testing.

Monitor GC stats with a startup hook

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet