dse advrep metrics list
Lists advanced replication JMX metrics.
|
This command is supported only on nodes configured for DSE Advanced Replication. |
Synopsis
dse advrep metrics list
--metric group <metric_group>
--metric-type <metric_type>
Syntax legend
| Syntax conventions | Description |
|---|---|
Italic, bold, or |
Syntax diagrams and code samples use one or more of these styles to mark placeholders for variable values. Replace placeholders with a valid option or your own user-defined value. In CQL statements, angle brackets are required to enclose data types in a set, list, map, or tuple.
Separate the data types with a comma.
For example: In Search CQL statements, angle brackets are used to identify the entity and literal value to overwrite the XML element in the schema and |
|
Square brackets surround optional command arguments. Do not type the square brackets. |
|
Parentheses identify a group to choose from. Do not type the parentheses. |
|
A pipe separates alternative elements. Type any one of the elements. Do not type the pipe. |
|
Indicates that you can repeat the syntax element as often as required. |
|
Single quotation marks must surround literal strings in CQL statements.
Use single quotation marks to preserve upper case.
+
For Search CQL only: Single quotation marks surround an entire XML schema declaration, such as |
|
Map collection.
Curly braces enclose maps ( |
|
Ends a CQL statement. |
|
Separate command line options from command arguments with two hyphens. This syntax is useful when arguments might be mistaken for command line options. |
--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
Print all JMX metrics:
dse advrep --host localhost --port 7199 metrics list
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|
-------------------------------------
Print JMX metrics for a particular metric group:
dse advrep --host localhost --port 7199 metrics list --metric-group Tables
Result
--------------------------------
|Group |Type |Count|
--------------------------------
|Tables|MessagesDelivered|3000 |
--------------------------------
|Tables|MessagesReceived |3000 |
--------------------------------
Print JMX metrics for a particular metric group:
dse advrep --host localhost --port 7199 metrics list --metric-type MessagesAdded
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|
------------------------------------------------------------------------------------------------------------------------------------