Sitelet https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/1222
Skip to content
This repository was archived by the owner on Jul 5, 2020. It is now read-only.
This repository was archived by the owner on Jul 5, 2020. It is now read-only.

Support EventCounter Collection #1222

Description

Starting with .NET Core 3.0 there will a bunch of system-wide counters published using EventCounters. ApplicationInsights SDK need to support collecting of event counters as its replacing PerformanceCounters.

We will support EvenCounter collection NETSTANDARD20 onwards, but nobody is publishing any counters by default, until .net core 3.0. So this will only help collect which user is publishing. Starting with .NET Core 3.0, AspNetCore SDK enables a set of built-in counters.

This module should allow collecting EventCounter from any source/counternames. A pre-defined set of counters will be auto-collected if using Asp.Net Core SDK.

Read more:
Initial List of available counters:
https://github.com/dotnet/diagnostics/blob/master/src/Tools/dotnet-counters/KnownData.cs

EventCounter Tutorial:
https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.Tracing/documentation/EventCounterTutorial.md

Part of this: #1188

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions