prometheus-net
prometheus-net copied to clipboard
Prometheus.DiagnosticSourceAdapter missing in .NET Framework build
I'd like to use Prometheus.DiagnosticSourceAdapter but it's missing in the .NET Framework build
It appears to be compiled only on .NET https://github.com/prometheus-net/prometheus-net/blob/master/Prometheus/DiagnosticSourceAdapter.cs
What's the reason for this? It would be good to explain at https://github.com/prometheus-net/prometheus-net/blob/master/README.md#diagnosticsource-integration
Use case: my .NET Framework app has System.Diagnostics.Metrics . I'm using NuGet package https://www.nuget.org/packages/System.Diagnostics.DiagnosticSource/
The holds for the MeterAdapter: that would also work on .NET Framework by referencing the NuGet package Microsoft.Extensions.Diagnostics.