-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Akka.Cluster.Metrics extension implementation #4126
Merged
Merged
Changes from 1 commit
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
2b7f153
Created project
IgorFedchenko d323eff
Updated proto to syntax3
IgorFedchenko 29a3264
Generated messages file
IgorFedchenko f6a2ae6
Implemented collector builder
IgorFedchenko 48682e1
Implemented new classes and interfaces
IgorFedchenko 4ce8099
Minor fixes
IgorFedchenko 71f6381
Implemented routing, metric selectors, fixed metric values storage
IgorFedchenko 19ff99a
Fixed routing, added messages serialization (not complete)
IgorFedchenko 9a52276
Merge branch 'dev' into cluster-metrics
IgorFedchenko afa8365
Kick off .net452 target
IgorFedchenko 33624fc
Implemented messages serialization and other fixes and refactorings
IgorFedchenko 0f806c6
Added dummy implementation for compression with TODO label
IgorFedchenko fe324fb
Added and fixed configuration spec
IgorFedchenko 7f4e983
Added and fixed messages serialization
IgorFedchenko b42644a
Refactoring and fixes
IgorFedchenko 0ef34ed
DynamicAccess fix
IgorFedchenko d6ac8dd
Added generation script for proto message types
IgorFedchenko 5f078e5
Reusing AddressData protobuf message
IgorFedchenko 39e5171
Fixed serializer configuration
IgorFedchenko a43e76b
Renamed Option.ForEach to Option.OnSuccess
IgorFedchenko a9ec08e
Merge branch 'dev' into cluster-metrics
IgorFedchenko e45c73c
Added collection spec + fixed implementation
IgorFedchenko dd84077
Added specs and applied fixes for MetricsSelectors
IgorFedchenko e5dcf83
Merge branch 'dev' into cluster-metrics
IgorFedchenko 5476934
Added new specs and fixes
IgorFedchenko 3ca5bf6
More fixes
IgorFedchenko 5e24ecf
Added spec and fixed weighted routees
IgorFedchenko af5cb25
Merge branch 'dev' into cluster-metrics
IgorFedchenko 93b88b1
Implemented DefaultCollector and updated metric names closer to .NET
IgorFedchenko 6606492
Added specs and minor fixes for metrics collector
IgorFedchenko cab575e
Added MNTR tests (not all passing)
IgorFedchenko 3087efb
MNTR tests configuration fix
IgorFedchenko 52f04d4
Made DynamicAccess marked as InternalApi
IgorFedchenko 295d699
Marked DynamicAccess methods with InternalApi
IgorFedchenko 6825b2d
Merge branch 'dev' into cluster-metrics
IgorFedchenko 6da830a
Reflection and configuration fixes
IgorFedchenko da13922
MNTR specs fix
IgorFedchenko 727220b
Merge remote-tracking branch 'origin/cluster-metrics' into cluster-me…
IgorFedchenko b84f86a
MNTR StatsSampleSpec fix (now passing)
IgorFedchenko f1a044d
MNTR ClusterMetricsEnabledSpec fix
IgorFedchenko f1c5386
MNTR fix from #4139
IgorFedchenko a390887
Fixed memory use metric
IgorFedchenko ac4d12e
AwaitAssertAsync fix for async assertion
IgorFedchenko 0fe2955
MNTR option to clear output folder
IgorFedchenko df32600
Some fixes
IgorFedchenko 079bcac
Fix props creation in routing
IgorFedchenko eb05abc
Failed specs fixes
IgorFedchenko 0572cf4
Added API approval
IgorFedchenko 29950c0
Dispose process objects after loading metrics
IgorFedchenko 4f7a51e
Merge branch 'dev' into cluster-metrics
Aaronontheweb 8ddb1a5
Minor fixes and refactoring
IgorFedchenko 4ef2e8c
Merge branch 'dev' into cluster-metrics
IgorFedchenko 27b68e4
Updated API approval
IgorFedchenko 454ca47
Fixed typo in reference.conf
IgorFedchenko e6bee49
Merge branch 'dev' into cluster-metrics
IgorFedchenko 8fa0fd5
Akka.Remove protobuf AddressData payload reuse
IgorFedchenko b4f6996
Merge branch 'cluster-metrics-address-reuse' into cluster-metrics
IgorFedchenko 878fe84
API approvement
IgorFedchenko 18be9ee
Refactored test
IgorFedchenko 57f371e
Using GC.GetTotalMemory instead of Process.PrivateMemorySize64
IgorFedchenko 0223f66
Merge branch 'dev' into cluster-metrics
IgorFedchenko ff70a40
Fix CPU collection timings tracking
IgorFedchenko dfea281
DefaultCollector sample time tracking start/stop fix
IgorFedchenko 22018bb
Merge branch 'dev' into cluster-metrics
IgorFedchenko 188e025
Increased metric sampling timeouts
IgorFedchenko ecda6ea
Merge branch 'dev' into cluster-metrics
IgorFedchenko 78b0109
Refactored test to be less racy
IgorFedchenko 98b86da
Merge remote-tracking branch 'origin/cluster-metrics' into cluster-me…
IgorFedchenko 9a9e1d2
Added CPU load value limitation
IgorFedchenko 0e1495a
Merge branch 'dev' into cluster-metrics
IgorFedchenko c45c7ec
Disabled flaky performance test
IgorFedchenko 8318488
CPU truncate fix
IgorFedchenko 55f2ed7
Merge branch 'dev' into cluster-metrics
Aaronontheweb d7f4ae3
Merge branch 'dev' into cluster-metrics
Aaronontheweb 7ec40f3
Merge branch 'dev' into cluster-metrics
Aaronontheweb 6bfb91d
Merge branch 'dev' into cluster-metrics
Aaronontheweb 85c0d28
Fixed Protobuf payload class visability
IgorFedchenko 2c4006c
Disabled invalid racy MNTR test
IgorFedchenko b78dc52
Increased timeout for cluster to be up
IgorFedchenko 9e50bef
Merge branch 'dev' into cluster-metrics
IgorFedchenko 990d19e
One more Protobuf payload visability fix
IgorFedchenko fdd27e1
Increased timeout even more
IgorFedchenko 6afac7e
Refactored test to be more rebust to timings
IgorFedchenko f7e4432
Using local public AddressData structure
IgorFedchenko 62f7684
MNTR clear-output option fix
IgorFedchenko 61ef434
Fixed issue with MNTR spec
Aaronontheweb 36ac347
Updated API approvement
IgorFedchenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aaronontheweb Could you give me a hint for the future: what is the difference here? Isn't
Roles
just same list of roles stored internally?I see that I am using this
Roles
in another spec that passes without issues, and maybe this will work here too - but why?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Roles is something that gets populated automatically by the
MultiNodeSpec
base class - the content of the list is ordered and populated by the base classes themselves. The issue was that theHashSet<T>
you were using could change the roles slightly since I think theHashCode
s were different on a process by process basis.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, or course, set does not guarantee same ordering... Great catch, @Aaronontheweb , thanks a lot!