You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default SDK configuration inspects every Request, Dependency telemetry items and aggregates metric dimension through AutocollectedMetricsExtractor telemetry processor before sampling processors. These pre-aggregated metrics are sent to Application Insights once every minute and are available to query under Application Insights standard metrics -> Server in metric explorer. As this metric is calculated before sampling, these metrics are superior in terms of accuracy.
Aggregates for Exceptions/Traces
Now, Exceptions and Traces standard metric dimension are calculated from ingested application insights data. If sampling is enabled metric dimension is calculated on sampled data, which is not accurate.
Plan is to provide accurate metric dimension CloudRoleName, CloudRoleInstance for Exceptions/Traces and real/synthetic, SeverityLevel for Traces. Users will be allowed to pick a max limit to the number of values. (similar to MaxDependencyTypesToDiscover)
AutocollectedMetricsExtractor telemetry processor to inspect Exception and Trace telemetry items and aggregate metric with key dimension before sampling processors. These pre-aggregated metrics are available to query under Application Insights standard metrics -> Server exceptions and Application Insights standard metrics ->Traces in metric explorer.
Server exceptions - Count of uncaught exceptions thrown in the server application.
Traces - Duration of trace calls.
The text was updated successfully, but these errors were encountered:
Background
Part I - Improving pre-aggregated Standard Metrics in SDK
Default SDK configuration inspects every
Request
,Dependency
telemetry items and aggregates metric dimension throughAutocollectedMetricsExtractor
telemetry processor before sampling processors. These pre-aggregated metrics are sent to Application Insights once every minute and are available to query under Application Insights standard metrics -> Server in metric explorer. As this metric is calculated before sampling, these metrics are superior in terms of accuracy.Aggregates for Exceptions/Traces
Now,
Exceptions
andTraces
standard metric dimension are calculated from ingested application insights data. If sampling is enabled metric dimension is calculated on sampled data, which is not accurate.Plan is to provide accurate metric dimension CloudRoleName, CloudRoleInstance for
Exceptions
/Traces
and real/synthetic, SeverityLevel forTraces
. Users will be allowed to pick a max limit to the number of values. (similar toMaxDependencyTypesToDiscover
)AutocollectedMetricsExtractor
telemetry processor to inspectException
andTrace
telemetry items and aggregate metric with key dimension before sampling processors. These pre-aggregated metrics are available to query under Application Insights standard metrics -> Server exceptions and Application Insights standard metrics ->Traces in metric explorer.Server exceptions - Count of uncaught exceptions thrown in the server application.
Traces - Duration of trace calls.
The text was updated successfully, but these errors were encountered: