paimon icon indicating copy to clipboard operation
paimon copied to clipboard

[core] Add numWriters metrics

Open tsreaper opened this issue 10 months ago • 0 comments

Purpose

This PR adds a numWriters metrics to monitor the number of active writers in each parallelism. This metric can help us determine if the memory shortage is caused by too many writers.

Tests

  • PrimaryKeyWriterOperatorTest#testNumWritersMetric

API and Format

No changes in API or format.

Documentation

Yes. Document is updated.

tsreaper avatar Apr 18 '24 08:04 tsreaper