Closed cliedeman closed 5 months ago
I figured out the issue. My metrics are being sampled along with my traces and the metrics are being drowned out.
I have sampling set to 12.5%.
For now I have disable tracing and will switch to sdk sampling as a workaround or possibly split the appinsights resource for tracing and metrics.
https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api#brief-summary
Some telemetry types, including performance metrics and custom metrics, are always kept regardless of whether sampling is enabled or not.
Please use AzureMonitor exporter repo for issues specific to AzureMonitor exporter.
Also - there is nothing called "sampling" for Metrics.
Please open your issue here for Azure Monitor Exporter - https://github.com/Azure/azure-sdk-for-net/issues
Bug Report
List of all OpenTelemetry NuGet packages and version that you are using (e.g.
OpenTelemetry 1.0.2
):Package versions
I have tried various combinations of the telemetry libraries but no combination works. My best guess is that it is related to the dotnet 8 upgrade but thats just a guess
net8.0
Appinsights telemetry not being sent
Log Output