Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Support EventCounter Collection #1222

Closed
cijothomas opened this issue Jun 20, 2019 · 2 comments
Closed

Support EventCounter Collection #1222

cijothomas opened this issue Jun 20, 2019 · 2 comments

Comments

@cijothomas
Copy link
Contributor

cijothomas commented Jun 20, 2019

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

@cijothomas
Copy link
Contributor Author

Originally posted: microsoft/ApplicationInsights-aspnetcore#601

@alejagapatrick
Copy link

#1222

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

No branches or pull requests

2 participants