dse advrep metrics list
Lists advanced replication JMX metrics.
A replication channel is a defined channel of change data between source clusters and destination clusters.
Command is supported only on nodes configured for DSE Advanced Replication. |
Synopsis
dse advrep metrics list
--metric group <metric_group>
--metric-type <metric_type>
Details
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
--metric group <metric_group>
-
The source cluster keyspace for which to show count.
--metric-type <metric_type>
-
The source table for which to show count.
Examples
To display the JMX metrics:
-
command
-
Result
dse advrep --host localhost --port 7199 metrics list
------------------------------------------
|Group |Type |Count|
------------------------------------------
|Tables |MessagesDelivered |3000 |
------------------------------------------
|ReplicationLog|CommitLogsToConsume|1 |
------------------------------------------
|Tables |MessagesReceived |3000 |
------------------------------------------
|ReplicationLog|MessageAddErrors |0 |
------------------------------------------
|ReplicationLog|CommitLogsDeleted |0 |
------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------
|Group |Type |Count|RateUnit |MeanRate |FifteenMinuteRate |OneMinuteRate |FiveMinuteRate |
------------------------------------------------------------------------------------------------------------------------------------------------
|ReplicationLog|MessagesAdded |3000 |events/second|0.020790532589851248|4.569533277209345E-28|2.964393875E-314 |2.3185964029982446E-82|
------------------------------------------------------------------------------------------------------------------------------------------------
|ReplicationLog|MessagesDeleted |0 |events/second|0.0 |0.0 |0.0 |0.0 |
------------------------------------------------------------------------------------------------------------------------------------------------
|ReplicationLog|MessagesAcknowledged |3000 |events/second|0.020790529428089743|4.569533277209345E-28|2.964393875E-314 |2.3185964029982446E-82|
------------------------------------------------------------------------------------------------------------------------------------------------
|ReplicationLog|CommitLogMessagesRead|30740|events/second|0.21303361656215317 |0.13538523143065767 |0.01686330377344829|0.11519609320406245 |
------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------
|Group |Type |Value|
-------------------------------------
|Transmission|AvailablePermits|30000|
-------------------------------------
To display JMX metrics for a particular metric group:
-
command
-
Result
dse advrep --host localhost --port 7199 metrics list --metric-group Tables
--------------------------------
|Group |Type |Count|
--------------------------------
|Tables|MessagesDelivered|3000 |
--------------------------------
|Tables|MessagesReceived |3000 |
--------------------------------
To display JMX metrics for a particular metric type:
-
command
-
Result
dse advrep --host localhost --port 7199 metrics list --metric-type MessagesAdded
------------------------------------------------------------------------------------------------------------------------------------
|Group |Type |Count|RateUnit |MeanRate |FifteenMinuteRate |OneMinuteRate |FiveMinuteRate |
------------------------------------------------------------------------------------------------------------------------------------
|ReplicationLog|MessagesAdded|3000 |events/second|0.020827685267120057|6.100068258619765E-28|2.964393875E-314|5.515866021410421E-82|
------------------------------------------------------------------------------------------------------------------------------------