Merge pull request #22214 from dluc/master
Fix metrics documentation + some typos
This commit is contained in:
commit
b876b3e757
7 changed files with 9 additions and 9 deletions
|
|
@ -59,11 +59,11 @@ Metrics Events
|
||||||
|
|
||||||
Metrics extension periodically publishes current snapshot of the cluster metrics to the node system event bus.
|
Metrics extension periodically publishes current snapshot of the cluster metrics to the node system event bus.
|
||||||
|
|
||||||
The publication period is controlled by the ``akka.cluster.metrics.collector.sample-period`` setting.
|
The publication interval is controlled by the ``akka.cluster.metrics.collector.sample-interval`` setting.
|
||||||
|
|
||||||
The payload of the ``akka.cluster.metrics.ClusterMetricsChanged`` event will contain
|
The payload of the ``akka.cluster.metrics.ClusterMetricsChanged`` event will contain
|
||||||
latest metrics of the node as well as other cluster member nodes metrics gossip
|
latest metrics of the node as well as other cluster member nodes metrics gossip
|
||||||
which was received during the collector sample period.
|
which was received during the collector sample interval.
|
||||||
|
|
||||||
You can subscribe your metrics listener actors to these events in order to implement custom node lifecycle
|
You can subscribe your metrics listener actors to these events in order to implement custom node lifecycle
|
||||||
::
|
::
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ Send
|
||||||
----
|
----
|
||||||
|
|
||||||
This is a point-to-point mode where each message is delivered to one destination,
|
This is a point-to-point mode where each message is delivered to one destination,
|
||||||
but you still does not have to know where the destination is located.
|
but you still do not have to know where the destination is located.
|
||||||
A typical usage of this mode is private chat to one other user in an instant messaging
|
A typical usage of this mode is private chat to one other user in an instant messaging
|
||||||
application. It can also be used for distributing tasks to registered workers, like a
|
application. It can also be used for distributing tasks to registered workers, like a
|
||||||
cluster aware router where the routees dynamically can register themselves.
|
cluster aware router where the routees dynamically can register themselves.
|
||||||
|
|
|
||||||
|
|
@ -55,11 +55,11 @@ Metrics Events
|
||||||
|
|
||||||
Metrics extension periodically publishes current snapshot of the cluster metrics to the node system event bus.
|
Metrics extension periodically publishes current snapshot of the cluster metrics to the node system event bus.
|
||||||
|
|
||||||
The publication period is controlled by the ``akka.cluster.metrics.collector.sample-period`` setting.
|
The publication interval is controlled by the ``akka.cluster.metrics.collector.sample-interval`` setting.
|
||||||
|
|
||||||
The payload of the ``akka.cluster.metrics.ClusterMetricsChanged`` event will contain
|
The payload of the ``akka.cluster.metrics.ClusterMetricsChanged`` event will contain
|
||||||
latest metrics of the node as well as other cluster member nodes metrics gossip
|
latest metrics of the node as well as other cluster member nodes metrics gossip
|
||||||
which was received during the collector sample period.
|
which was received during the collector sample interval.
|
||||||
|
|
||||||
You can subscribe your metrics listener actors to these events in order to implement custom node lifecycle
|
You can subscribe your metrics listener actors to these events in order to implement custom node lifecycle
|
||||||
::
|
::
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ Send
|
||||||
----
|
----
|
||||||
|
|
||||||
This is a point-to-point mode where each message is delivered to one destination,
|
This is a point-to-point mode where each message is delivered to one destination,
|
||||||
but you still does not have to know where the destination is located.
|
but you still do not have to know where the destination is located.
|
||||||
A typical usage of this mode is private chat to one other user in an instant messaging
|
A typical usage of this mode is private chat to one other user in an instant messaging
|
||||||
application. It can also be used for distributing tasks to registered workers, like a
|
application. It can also be used for distributing tasks to registered workers, like a
|
||||||
cluster aware router where the routees dynamically can register themselves.
|
cluster aware router where the routees dynamically can register themselves.
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ object StatsSampleSingleMasterSpecConfig extends MultiNodeConfig {
|
||||||
// register the named roles (nodes) of the test
|
// register the named roles (nodes) of the test
|
||||||
val first = role("first")
|
val first = role("first")
|
||||||
val second = role("second")
|
val second = role("second")
|
||||||
val third = role("thrid")
|
val third = role("third")
|
||||||
|
|
||||||
def nodeList = Seq(first, second, third)
|
def nodeList = Seq(first, second, third)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ object StatsSampleSpecConfig extends MultiNodeConfig {
|
||||||
// register the named roles (nodes) of the test
|
// register the named roles (nodes) of the test
|
||||||
val first = role("first")
|
val first = role("first")
|
||||||
val second = role("second")
|
val second = role("second")
|
||||||
val third = role("thrid")
|
val third = role("third")
|
||||||
|
|
||||||
def nodeList = Seq(first, second, third)
|
def nodeList = Seq(first, second, third)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ object StatsSampleSpecConfig extends MultiNodeConfig {
|
||||||
// register the named roles (nodes) of the test
|
// register the named roles (nodes) of the test
|
||||||
val first = role("first")
|
val first = role("first")
|
||||||
val second = role("second")
|
val second = role("second")
|
||||||
val third = role("thrid")
|
val third = role("third")
|
||||||
|
|
||||||
def nodeList = Seq(first, second, third)
|
def nodeList = Seq(first, second, third)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue