Skip to content

Sampling affects the accuracy of performance metrics #36705

Open
@avereshchak

Description

@avereshchak

Component(s)

exporter/azuremonitor

Describe the issue you're reporting

I'd like to see correct numbers of operations/calls on Application Map and Performance/Failure blades even if most of telemetry was aggressively sampled out by collector.

E.g. an application is handing 1000 requests and makes 1000 SQL queries to accomplish that. OTEL Collector is using the following sampling configuration to retain only 1% of telemetry:

processors:
  batch:
  probabilistic_sampler:
    sampling_percentage: 1

As an outcome, the Application Map is showing only 10 operations which were sampled in even if there was much more (1000 in my example).

Both Application Insights SDK for .NET and Azure.Monitor.OpenTelemetry.Exporter are providing that capability. Could the exporter/azuremonitor benefit from #34272 to provide similar experience?

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions