dse advrep metrics list

Lists advanced replication JMX metrics.

Lists advanced replication JMX metrics.

A replication channel is a defined channel of change data between source clusters and destination clusters.

Restriction: Command is supported only on nodes configured for DSE Advanced Replication.

Synopsis

dse advrep metrics list
    --metric group metric_group
    --metric-type metric_type
Table 1. Legend
Syntax conventions Description
UPPERCASE Literal keyword.
Lowercase Not literal.
Italics Variable value. Replace with a valid option or user-defined value.
[ ] Optional. Square brackets ( [ ] ) surround optional command arguments. Do not type the square brackets.
( ) Group. Parentheses ( ( ) ) identify a group to choose from. Do not type the parentheses.
| Or. A vertical bar ( | ) separates alternative elements. Type any one of the elements. Do not type the vertical bar.
... Repeatable. An ellipsis ( ... ) indicates that you can repeat the syntax element as often as required.
'Literal string' Single quotation ( ' ) marks must surround literal strings in CQL statements. Use single quotation marks to preserve upper case.
{ key:value } Map collection. Braces ( { } ) enclose map collections or key value pairs. A colon separates the key and the value.
<datatype1,datatype2> Set, list, map, or tuple. Angle brackets ( < > ) enclose data types in a set, list, map, or tuple. Separate the data types with a comma.
cql_statement; End CQL statement. A semicolon ( ; ) terminates all CQL statements.
[ -- ] Separate the command line options from the command arguments with two hyphens ( -- ). This syntax is useful when arguments might be mistaken for command line options.
' <schema> ... </schema> ' Search CQL only: Single quotation marks ( ' ) surround an entire XML schema declaration.
@xml_entity='xml_entity_type' 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:

dse advrep --host localhost --port 7199 metrics list
with a result:
------------------------------------------
|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:
dse advrep --host localhost --port 7199 metrics list --metric-group Tables
with a result:
--------------------------------
|Group |Type             |Count|
--------------------------------
|Tables|MessagesDelivered|3000 |
--------------------------------
|Tables|MessagesReceived |3000 |
--------------------------------
To display JMX metrics for a particular metric type:
dse advrep --host localhost --port 7199 metrics list --metric-type MessagesAdded
with a result:
------------------------------------------------------------------------------------------------------------------------------------
|Group         |Type         |Count|RateUnit     |MeanRate            |FifteenMinuteRate    |OneMinuteRate   |FiveMinuteRate       |
------------------------------------------------------------------------------------------------------------------------------------
|ReplicationLog|MessagesAdded|3000 |events/second|0.020827685267120057|6.100068258619765E-28|2.964393875E-314|5.515866021410421E-82|
------------------------------------------------------------------------------------------------------------------------------------