Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving pre-aggregated Standard Metrics in SDK – Part II #1738

Closed
rajkumar-rangaraj opened this issue Mar 18, 2020 · 1 comment
Closed

Comments

@rajkumar-rangaraj
Copy link
Member

Background

Part I - Improving pre-aggregated Standard Metrics in SDK

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.

image

image

Traces - Duration of trace calls.

image

image

@rajkumar-rangaraj
Copy link
Member Author

@cijothomas

@cijothomas cijothomas added this to the 2.14 milestone Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants