Ivan Bessonov created IGNITE-27549:
--------------------------------------
Summary: Enrich metastorage metrics
Key: IGNITE-27549
URL: https://issues.apache.org/jira/browse/IGNITE-27549
Project: Ignite
Issue Type: Improvement
Components: metastorage ai3
Reporter: Ivan Bessonov
NOTE: This issue will probably be split into several smaller issues based on an
actual amount of job required.
The metrics can generally be split into several categories:
* Replication
* State machine
* Watch processing
h3. Replicator
* The size of the log queue
* The size of the FST queue
* Last committed index and term
* Time it takes to log an entry (histogram)
h3. State machine
* Last applied index
* Last revision
* Command size distribution (histogram)
* Command type distribution (histogram)
* Number of executed commands
* Number of cache hits for idempotent commands cache
* Time to process the command (histogram)
* The time it takes to execute the {{clo.result(commandResult)}} (histogram)
h3. Watch processing
* Last (or current) revision
* Total number of keys processed?
* Time to execute listeners (histogram)
h3. Comments
All of this is debatable. Some metrics might not be needed, and others that we
actually need may not be mentioned.
We should consider integrating {{jraft}} metrics into our metrics output, they
may also be helpful for debugging future issues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)