diff --git a/docs/content/maintenance/metrics.md b/docs/content/maintenance/metrics.md
index 973a8fcfe7ba..5950c518ed50 100644
--- a/docs/content/maintenance/metrics.md
+++ b/docs/content/maintenance/metrics.md
@@ -28,7 +28,7 @@ under the License.
Paimon has built a metrics system to measure the behaviours of reading and writing, like how many manifest files it scanned in the last planning, how long it took in the last commit operation, how many files it deleted in the last compact operation.
-In Paimon's metrics system, metrics are updated and reported at different levels of granularity. Currently, the levels of **table** and **bucket** are provided, which means you can get metrics per table or bucket.
+In Paimon's metrics system, metrics are updated and reported at table granularity.
There are three types of metrics provided in the Paimon metric system, `Gauge`, `Counter`, `Histogram`.
- `Gauge`: Provides a value of any type at a point in time.
@@ -47,7 +47,6 @@ Below is lists of Paimon built-in metrics. They are summarized into types of sca
Metrics Name |
- Level |
Type |
Description |
@@ -55,49 +54,41 @@ Below is lists of Paimon built-in metrics. They are summarized into types of sca
lastScanDuration |
- Table |
Gauge |
The time it took to complete the last scan. |
scanDuration |
- Table |
Histogram |
Distributions of the time taken by the last few scans. |
lastScannedManifests |
- Table |
Gauge |
Number of scanned manifest files in the last scan. |
lastSkippedByPartitionAndStats |
- Table |
Gauge |
Skipped table files by partition filter and value / key stats information in the last scan. |
lastSkippedByBucketAndLevelFilter |
- Table |
Gauge |
Skipped table files by bucket, bucket key and level filter in the last scan. |
lastSkippedByWholeBucketFilesFilter |
- Table |
Gauge |
Skipped table files by bucket level value filter (only primary key table) in the last scan. |
lastScanSkippedTableFiles |
- Table |
Gauge |
Total skipped table files in the last scan. |
lastScanResultedTableFiles |
- Table |
Gauge |
Resulted table files in the last scan. |
@@ -110,7 +101,6 @@ Below is lists of Paimon built-in metrics. They are summarized into types of sca
Metrics Name |
- Level |
Type |
Description |
@@ -118,143 +108,93 @@ Below is lists of Paimon built-in metrics. They are summarized into types of sca
lastCommitDuration |
- Table |
Gauge |
The time it took to complete the last commit. |
commitDuration |
- Table |
Histogram |
Distributions of the time taken by the last few commits. |
lastCommitAttempts |
- Table |
Gauge |
The number of attempts the last commit made. |
lastTableFilesAdded |
- Table |
Gauge |
Number of added table files in the last commit, including newly created data files and compacted after. |
lastTableFilesDeleted |
- Table |
Gauge |
Number of deleted table files in the last commit, which comes from compacted before. |
lastTableFilesAppended |
- Table |
Gauge |
Number of appended table files in the last commit, which means the newly created data files. |
lastTableFilesCommitCompacted |
- Table |
Gauge |
Number of compacted table files in the last commit, including compacted before and after. |
lastChangelogFilesAppended |
- Table |
Gauge |
Number of appended changelog files in last commit. |
lastChangelogFileCommitCompacted |
- Table |
Gauge |
Number of compacted changelog files in last commit. |
lastGeneratedSnapshots |
- Table |
Gauge |
Number of snapshot files generated in the last commit, maybe 1 snapshot or 2 snapshots. |
lastDeltaRecordsAppended |
- Table |
Gauge |
Delta records count in last commit with APPEND commit kind. |
lastChangelogRecordsAppended |
- Table |
Gauge |
Changelog records count in last commit with APPEND commit kind. |
lastDeltaRecordsCommitCompacted |
- Table |
Gauge |
Delta records count in last commit with COMPACT commit kind. |
lastChangelogRecordsCommitCompacted |
- Table |
Gauge |
Changelog records count in last commit with COMPACT commit kind. |
lastPartitionsWritten |
- Table |
Gauge |
Number of partitions written in the last commit. |
lastBucketsWritten |
- Table |
Gauge |
Number of buckets written in the last commit. |
-### Write Metrics
-
-