Skip to content

[INLONG-7639][Sort] Metric label list constants are issued by each connector#7640

Merged
gong merged 2 commits intoapache:masterfrom
e-mhui:INLONG-7639
Mar 21, 2023
Merged

[INLONG-7639][Sort] Metric label list constants are issued by each connector#7640
gong merged 2 commits intoapache:masterfrom
e-mhui:INLONG-7639

Conversation

@e-mhui
Copy link
Contributor

@e-mhui e-mhui commented Mar 18, 2023

Prepare a Pull Request

[INLONG-7639][Sort] Metric label list constants are issued by each connector

Motivation

The metric label list of each connector is different. In order to reuse a set of registration metric code, they implement the getMetricLabelList() method of the MetricConfig interface here, and each connector passes its own metric label list.

Modifications

  1. Add the getMetricLabelList() method to the MetricConfig interface.
  2. Oracle implements the getMetricLabelList() method.

@e-mhui e-mhui changed the title [INLONG-7639][Sort] Metric table list constants are issued by each connector [INLONG-7639][Sort] Metric label list constants are issued by each connector Mar 18, 2023
@gong gong merged commit 21262a4 into apache:master Mar 21, 2023
Yizhou-Yang pushed a commit to Yizhou-Yang/inlong-yyz that referenced this pull request May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improve][Sort] Metric constants are issued by each connector without the need to implement IncrementalSource

5 participants