runtime_thread_stats: mention the new Runtime Tuning guide in help
This commit is contained in:
parent
5685e4c7c9
commit
19880aac00
|
|
@ -64,6 +64,7 @@ defmodule RabbitMQ.CLI.Core.DocGuide do
|
|||
Macros.defguide("plugins")
|
||||
Macros.defguide("queues")
|
||||
Macros.defguide("quorum_queues", domain: "next.rabbitmq.com")
|
||||
Macros.defguide("runtime_tuning", path_segment: "runtime")
|
||||
Macros.defguide("tls", path_segment: "ssl")
|
||||
Macros.defguide("troubleshooting")
|
||||
Macros.defguide("virtual_hosts", path_segments: "vhosts")
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
## Copyright (c) 2007-2019 Pivotal Software, Inc. All rights reserved.
|
||||
|
||||
defmodule RabbitMQ.CLI.Diagnostics.Commands.RuntimeThreadStatsCommand do
|
||||
alias RabbitMQ.CLI.Core.DocGuide
|
||||
|
||||
@behaviour RabbitMQ.CLI.CommandBehaviour
|
||||
|
||||
def switches(), do: [sample_interval: :integer]
|
||||
|
|
@ -63,6 +65,12 @@ defmodule RabbitMQ.CLI.Diagnostics.Commands.RuntimeThreadStatsCommand do
|
|||
]
|
||||
end
|
||||
|
||||
def usage_doc_guides() do
|
||||
[
|
||||
DocGuide.runtime_tuning()
|
||||
]
|
||||
end
|
||||
|
||||
def banner([], %{node: node_name, sample_interval: interval}) do
|
||||
"Will collect runtime thread stats on #{node_name} for #{interval} seconds..."
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue