-
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
Changes from 1 commit
175a76d
d99c812
922b3f8
375ec28
ada453e
9aadac4
1421a50
cba2e9c
020743f
975818e
a8dd0d6
f280d1b
ae419d6
57c19cd
2bfefd4
089f02d
a999033
e070513
befdfcb
11f9755
6fd6a29
fbd7455
04c588d
1063b8a
f6a7bf6
d973007
7211093
a7f3342
b58e04a
c9371ee
06da5f2
c41ac4f
e4198ed
720649d
0a6c556
7b96f89
3e4736a
7de1d96
e41e441
3074f77
5919cc2
39c4675
c489a61
9735ca7
6224242
97329a7
5166762
45a94e5
24d5626
6533bc7
7497f09
9016bd1
1db2e8d
73a5893
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1119,3 +1119,33 @@ url = {{nouveau_url}} | |
| ;mem3_shards = true | ||
| ;nouveau_index_manager = true | ||
| ;dreyfus_index_manager = true | ||
|
|
||
| ; Couch Stats Resource Tracker (CSRT) | ||
| [csrt] | ||
| enabled = true | ||
chewbranca marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ; CSRT Rexi Server Init P tracking | ||
|
||
| ; Enable these to enable additional metrics for RPC worker spawn rates | ||
| ; Mod and Function are separated by double underscores | ||
| [csrt.init_p] | ||
| enabled = false | ||
| 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 | ||
| fabric_rpc__reduce_view = true | ||
| fabric_rpc__get_all_security = true | ||
| fabric_rpc__open_doc = true | ||
| fabric_rpc__update_docs = true | ||
| fabric_rpc__open_shard = true | ||
|
Comment on lines
+1142
to
+1148
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. Very nice, it would be great to see detailed reports on what these workers are doing! |
||
|
|
||
| ;; CSRT dbname matchers | ||
chewbranca marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ;; Given a dbname and a positive integer, this will enable an IO matcher | ||
| ;; against the provided db for any requests that induce IO in quantities | ||
| ;; greater than the provided threshold on any one of: ioq_calls, rows_read | ||
| ;; docs_read, get_kp_node, get_kv_node, or changes_processed. | ||
| ;; | ||
| [csrt_logger.dbnames_io] | ||
| ;; foo = 100 | ||
| ;; _dbs = 123 | ||
| ;; _users = 234 | ||
| ;; foo/bar = 200 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,8 @@ | |
| -module(config_listener_mon). | ||
| -behaviour(gen_server). | ||
|
|
||
| -dialyzer({nowarn_function, init/1}). | ||
|
||
|
|
||
| -export([ | ||
| subscribe/2, | ||
| start_link/2 | ||
|
|
||
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.