-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Couch Stats Resource Tracker (CSRT) #5491
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
175a76d
Add Couch Stats Resource Tracker (CSRT)
chewbranca d99c812
Remove no longer used conf_get fun
chewbranca 922b3f8
Cleanup Dialyzer specs
chewbranca 375ec28
Fix type in metric name
chewbranca ada453e
Update CSRT tests for ioq parallel read changes
chewbranca 9aadac4
Add csrt_logger:register_matcher
chewbranca 1421a50
Rework changes_processed vs rows
chewbranca cba2e9c
Format code
chewbranca 020743f
CI Bump..
chewbranca 975818e
Create delta prior to deleting the context
chewbranca a8dd0d6
Updates based on PR feedback
chewbranca f280d1b
Address more PR feedback
chewbranca ae419d6
Fix erlfmt-check
chewbranca 57c19cd
Rework and fix csrt_util init_p ini lookup tests
chewbranca 2bfefd4
Rework delta handling back to normal process_message semantics
chewbranca 089f02d
More cleanup
chewbranca a999033
Erlfmt rexi_tests.erl
chewbranca e070513
Revert "CI Bump.."
chewbranca befdfcb
More PR cleanup
chewbranca 11f9755
More cleanup
chewbranca 6fd6a29
Cleanup #rctx{} and other reworkings
chewbranca fbd7455
make erlfmt-format
chewbranca 04c588d
Cleanup csrt_query:field/2
chewbranca 1063b8a
Clarify is_rctx_stat_field
chewbranca f6a7bf6
Fix csrt:inc/N typespec
chewbranca d973007
Batch accumulate_delta updates in single ets:update_counter call
chewbranca 7211093
Fixup csrt_logger report tests
chewbranca a7f3342
Update deregister logic and testing
chewbranca b58e04a
make erlfmt-format
chewbranca c9371ee
Assert registered matchers persist a after global reload
chewbranca 06da5f2
Cleanup is_enabled settings
chewbranca c41ac4f
Rework updated_at logic
chewbranca e4198ed
Add csrt_logger:matcher_on_long_reqs
chewbranca 720649d
Cleanup Dialyzer findings
chewbranca 0a6c556
make erlfmt-format
chewbranca 7b96f89
Test csrt_util:field for all #rctx{} fields
chewbranca 3e4736a
Use dedicated transient CSRT supervisor
chewbranca 7de1d96
Cleanup delta handling and type specs
chewbranca e41e441
Fixup maybe_add_delta type restrucuring
chewbranca 3074f77
make erlfmt-format
chewbranca 5919cc2
Add csrt:proc_window based on recon:proc_window
chewbranca 39c4675
Add dedicated toggle to disable #rpc_worker{} reporting
chewbranca c489a61
make erlfmt-format
chewbranca 9735ca7
Remove extraneous function head
chewbranca 6224242
Cleanup instantiation of base #rctx{} match spec
chewbranca 97329a7
Fix csrt_logger dbname io tests
chewbranca 5166762
make erlfmt-format
chewbranca 45a94e5
Cleanup matchers
chewbranca 24d5626
Rework csrt_logger:add_matcher error type
chewbranca 6533bc7
Cleanup Dialyzer and a few other things
chewbranca 7497f09
Simple make_dt time conversions
chewbranca 9016bd1
Cleanup MatcherGen error handling
chewbranca 1db2e8d
make erlfmt-format
chewbranca 73a5893
Remove debug TODO
chewbranca 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
Cleanup is_enabled settings
- Loading branch information
commit 06da5f2ecfe852a3dcc3d7103d842c9f29c43a8e
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1122,16 +1122,23 @@ url = {{nouveau_url}} | |
|
|
||
| ; Couch Stats Resource Tracker (CSRT) | ||
| [csrt] | ||
| enabled = true | ||
| ;enabled = false | ||
| ;should_truncate_reports = false | ||
| enable = true | ||
| enable_init_p = true | ||
| enable_reporting = true | ||
| ;enable = false | ||
| ;enable_init_p = false | ||
| ;enable_reporting = false | ||
| ; | ||
|
|
||
| ; Truncate reports to not include zero values for counter fields | ||
| ;should_truncate_reports = true | ||
|
|
||
| ; CSRT Rexi Server RPC Worker Spawn Tracking | ||
| ; Enable these to enable additional metrics for RPC worker spawn rates | ||
| ; measuring how often RPC workers are spawned by way of rexi_server:init_p. | ||
| ; Mod and Function are separated by double underscores. | ||
| [csrt.init_p] | ||
| enabled = false | ||
| ;enable = true | ||
| fabric_rpc__all_docs = true | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of a double underscore, would a more traditional erlang colon work: |
||
| fabric_rpc__changes = true | ||
| fabric_rpc__map_view = true | ||
|
|
||
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
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
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
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
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.
Maybe add a quick comment what it is, what it does, and why a user might want to enable it and if there are any downsides or trade-offs from it.