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

Master to develop #44

Merged
merged 9 commits into from
Nov 13, 2017
Merged

Master to develop #44

merged 9 commits into from
Nov 13, 2017

Conversation

Scooletz
Copy link
Contributor

@Scooletz Scooletz commented Nov 8, 2017

This PR merges back master to develop bringing back resetting counters and all the fixes we did on 1.*. It needs to be carefully reviewed as it required a lot of work related to merging these two diverged streams of work.

Details

The merge was quite demanding. The main aspect that took a lot of time was the updater component that is now being cleaned by a separate task. It required to start a cleaning task as there's no longer .Update that is periodically called by the Metrics package.

kbaley and others added 5 commits June 15, 2017 16:08
…ary (#37)

* exptected script content

* cs script generator

* ps1 script writer
Timers are reset after not receiving pipeline completion for 2 seconds
# Conflicts:
#	src/NServiceBus.Metrics.PerformanceCounters.Tests/PerformanceCounterUpdaterTests.cs
#	src/NServiceBus.Metrics.PerformanceCounters/PerformanceCounterUpdater.cs
#	src/NServiceBus.Metrics.PerformanceCounters/PerformanceCountersFeature.cs
#	src/ScriptBuilder/CSharpCounterWriter.cs
#	src/ScriptBuilder/PowerShellCounterWriter.cs
#	src/ScriptBuilderTask.Tests/CSharpCodeGenerationTests.Generates.approved.cs
#	src/ScriptBuilderTask.Tests/PowershellCodeGenerationTests.Generates.approved.ps1
@Scooletz Scooletz self-assigned this Nov 8, 2017
@Scooletz Scooletz requested a review from a team November 8, 2017 16:55
tmasternak
tmasternak previously approved these changes Nov 13, 2017
Copy link
Member

@tmasternak tmasternak left a comment

Choose a reason for hiding this comment

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

Minor comment. Otherwise LGTM

@@ -46,5 +66,34 @@ public void Observe(ProbeContext context)

readonly PerformanceCountersCache cache;
readonly Dictionary<string, CounterInstanceName?> legacyInstanceNameMap;
readonly ConcurrentDictionary<CounterInstanceName, IPerformanceCounterInstance> expirable = new ConcurrentDictionary<CounterInstanceName, IPerformanceCounterInstance>();
Copy link
Member

Choose a reason for hiding this comment

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

How about we change the name to resettable? This would align with resetEvery vairable name

@tmasternak
Copy link
Member

Aside from this PR I think that we should obsolete the script generators before we release 2.0.

@Scooletz Scooletz merged commit 6a019bf into develop Nov 13, 2017
@Scooletz Scooletz deleted the master-to-develop branch November 13, 2017 08:37
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