census-instrumentation / opencensus-csharp

Distributed tracing and stats collecting framework
https://opencensus.io
Apache License 2.0
139 stars 32 forks source link

Allow to implement specific component listeners leveraging ListenerHandler #129

Closed lmolkova closed 5 years ago

lmolkova commented 5 years ago

When someone wants to implement a new listener for the component we don't support out of the box, they should be able to leverage DiagnosticListener subscription, and perhaps property fetching.

The first step could be making OpenCensus.Collector.Dependencies.Common.ListenerHandler public.

One scenario for this feature: I'm implementing DiagnosticSource instrumentation for my component and want to test out how it will work with OpenCensus.

jacostro commented 5 years ago

Our scenario:

Providing a base for external collectors was something I was going to raise. The way OpenCensus.Collector.Dependencies and OpenCensus.Collector.AspNetCore collectors shared the same source files looked like temporary solution.

SergeyKanzhelev commented 5 years ago

Moved to OpenTelemetry