Skip to content

[Feature][transform] support transform metrics #8172

Closed
@CosmosNi

Description

@CosmosNi
env {
  parallelism = 2
  job.mode = "BATCH"
}
source {
  FakeSource {
    row.num = 16
    schema = {
      fields {
        c_map = "map<string, string>"
      }
    }
    result_table_name = "fake"
  }
}

transform {
  Sql {
    plugin_input = "fake"
    plugin_output = "fake1"
    query = "select * from fake"
  }
    Sql {
      plugin_input = "fake1"
      plugin_output = "fake2"
      query = "select * from fake1"
    }
        Sql {
          plugin_input = "fake2"
          plugin_output = "fake3"
          query = "select * from fake2"
        }
}

sink {
  Console {
  plugin_input = "fake3"
  log.print.data = true
  log.print.delay.ms = 10000
  }
}

results:
image

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

support transfrom metrics

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions