Thanks to visit codestin.com
Credit goes to github.com

Skip to content

StandardMetric Pre-Aggregation with all expected dimensions#1278

Merged
cijothomas merged 34 commits into
developfrom
cijothomas/standardmetricaggwithdimensions
Nov 15, 2019
Merged

StandardMetric Pre-Aggregation with all expected dimensions#1278
cijothomas merged 34 commits into
developfrom
cijothomas/standardmetricaggwithdimensions

Conversation

@cijothomas

@cijothomas cijothomas commented Oct 31, 2019

Copy link
Copy Markdown
Contributor

Addressing #1233

TODO:
Tests
PerformanceBucket dimension
Perf Tests

Will finalize the default dimension limits after more perf/cost research.


public string ExtractDimension(ITelemetry item)
{
return MetricTerms.Autocollection.Metric.DependencyCallDuration.Id;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: return DefaultValue looks to be the same here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup. Default is never going to be used as the ExtractDimension always return a constant.

@cijothomas cijothomas closed this Nov 13, 2019
@cijothomas cijothomas reopened this Nov 13, 2019
@cijothomas cijothomas marked this pull request as ready for review November 13, 2019 06:53
@TimothyMothra

TimothyMothra commented Nov 14, 2019

Copy link
Copy Markdown

Functional Tests are catching this:

Metrics\Implementation\AutocollectedMetricsExtraction\DependencyMetricsExtractor.cs(37,43): error SA1306: Field 'DimensionExtractors' should begin with lower-case letter [E:\A_work\31\s\BASE\src\Microsoft.ApplicationInsights\Microsoft.ApplicationInsights.csproj]

I don't know why the Gated build is not.

public class DependencyTypeDimesnionExtractorTest
{
[TestMethod]
public void NullTarget()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type

@cijothomas cijothomas merged commit 7aeb3ec into develop Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants