open-telemetry / sig-developer-experience

Apache License 2.0
2 stars 1 forks source link

.NET developer experience survey #13

Open samsp-msft opened 2 months ago

samsp-msft commented 2 months ago
  • differences from upstream spec:
    • discrepancies - why?
  • extra convenience
    • Typically try to keep to the spec, and not have extra [convenience] functionality specific to .NET, if it's not in the spec it goes in the contrib repo.
    • Integration with Hosting APIs in .NET which are convenience mechanisms for configuring .NET
    • UseOtlpExporter - simple way to add OTLP for logs/traces/metrics in one API call
    • MetricsBuilder (.NET runtime) enables specifying metrics to listen to based on .NET config files
    • Have to explicitly configure which spans to listen to telemetry for (eg. microsoft.aspnet.*)
  • Most requested features
    • API
    • SDK
  • Instrumentations/semantic conventions
  • things to consider from other telemetry projects
stevejgordon commented 2 months ago

One possible but non-obvious thing I experienced personally is stopping a span from being recorded after the sampling decision. The context for this scenario (and example code to solve it) is in this comment. Potentially, this would be useful as an extension method for Activity.

matt-hensley commented 2 months ago

As a follow-up on my Java extension comments from the .NET SIG, the "zero code" instrumentation does have a plugin interface. It's not as complete as what's available in Java but useful to mention.