Skip to content

[Feature] Add compaction duration metrics system table #6880

@Forus0322

Description

@Forus0322

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

While Paimon currently provides metrics reports, they require viewing them through the Flink web UI, and historical compaction metrics become unavailable once a task restarts or stops. Furthermore, Spark engine metrics reports only show scans, leading to inconsistencies when pushing metrics to the engine.

Users need to rely on compaction metrics to determine task performance.

Solution

A new Compaction Metrics System Table has been added. Each time a compaction snapshot is submitted, a compaction metrics record is written to the metrics directory under the table path.

Anything else?

This is my first time submitting a PR to the Paimon community, and there may be many things I haven't considered. Please feel free to point them out.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions