Control Document Quotas for QuickPulse#2425
Merged
TimothyMothra merged 37 commits intodevelopfrom Oct 27, 2021
Merged
Conversation
tokaplan
requested changes
Sep 28, 2021
Member
tokaplan
left a comment
There was a problem hiding this comment.
Let's talk through this and do another round of changes.
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Outdated
Show resolved
Hide resolved
...ceCollector/PerformanceCollector/Implementation/QuickPulse/Helpers/QuickPulseQuotaTracker.cs
Outdated
Show resolved
Hide resolved
...Collector/PerformanceCollector/Implementation/QuickPulse/QuickPulseCollectionStateManager.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/QuickPulseTelemetryProcessor.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/QuickPulseTelemetryProcessor.cs
Show resolved
Hide resolved
tokaplan
reviewed
Sep 28, 2021
...ollector/PerformanceCollector/Implementation/Service contract/CollectionConfigurationInfo.cs
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/QuickPulseTelemetryModule.cs
Outdated
Show resolved
Hide resolved
…com/microsoft/ApplicationInsights-dotnet into rambhatt/adjustable-document-quotas
…com/microsoft/ApplicationInsights-dotnet into rambhatt/adjustable-document-quotas
f6dfc7c to
11fe028
Compare
tokaplan
requested changes
Oct 26, 2021
WEB/Src/PerformanceCollector/Perf.Tests/QuickPulse/QuickPulseTelemetryModuleTests.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/Perf.Tests/QuickPulse/QuickPulseTelemetryModuleTests.cs
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Outdated
Show resolved
Hide resolved
WEB/Src/PerformanceCollector/PerformanceCollector/CollectionConfiguration.cs
Outdated
Show resolved
Hide resolved
...anceCollector/PerformanceCollector/Implementation/Service contract/QuotaConfigurationInfo.cs
Outdated
Show resolved
Hide resolved
...anceCollector/PerformanceCollector/Implementation/Service contract/QuotaConfigurationInfo.cs
Outdated
Show resolved
Hide resolved
| { | ||
| Tuple<float, float, float, float, float> initialQuotas; | ||
| previousQuotasByStreamId.TryGetValue(documentStreamInfo.Id, out initialQuotas); | ||
| previousQuotasByStreamId.TryGetValue(documentStreamInfo.Id, out Tuple<float, float, float, float, float> initialQuotas); |
Member
There was a problem hiding this comment.
Let's rename initialQuotas in order to make it clear that it comes from the previous quota. Maybe previousQuotas or something like that.
...ceCollector/PerformanceCollector/Implementation/QuickPulse/Helpers/QuickPulseQuotaTracker.cs
Outdated
Show resolved
Hide resolved
| @@ -0,0 +1,22 @@ | |||
| namespace Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.Service_contract | |||
Member
There was a problem hiding this comment.
In C#, namespace segments are PascalCase with no underscores or other special symbols. This should be ServiceContract
Member
There was a problem hiding this comment.
Nope, it's not old. The namespace is still called Service_contract.
WEB/Src/PerformanceCollector/PerformanceCollector/QuickPulseTelemetryProcessor.cs
Show resolved
Hide resolved
tokaplan
requested changes
Oct 26, 2021
| @@ -0,0 +1,22 @@ | |||
| namespace Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.Service_contract | |||
Member
There was a problem hiding this comment.
Nope, it's not old. The namespace is still called Service_contract.
tokaplan
requested changes
Oct 26, 2021
| { | ||
| Tuple<float, float, float, float, float> initialQuotas; | ||
| previousQuotasByStreamId.TryGetValue(documentStreamInfo.Id, out initialQuotas); | ||
| previousQuotasByStreamId.TryGetValue(documentStreamInfo.Id, out Tuple<float, float, float, float, float> initialQuotas); |
tokaplan
approved these changes
Oct 26, 2021
WEB/Src/PerformanceCollector/PerformanceCollector/QuickPulseTelemetryModule.cs
Show resolved
Hide resolved
…com/microsoft/ApplicationInsights-dotnet into rambhatt/adjustable-document-quotas
|
Please also update the Changelog under the VNext section. :) |
This was referenced Dec 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix Issue # .
Changes
(Please provide a brief description of the changes here.)
Checklist
For significant contributions please make sure you have completed the following items:
The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:
Notes for reviewers:
/AzurePipelines runwill queue all builds/AzurePipelines run <pipeline-name>will queue a specific build