Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[close #248] fix keyspan sink metrics #249

Merged
merged 2 commits into from
Oct 9, 2022

Conversation

pingyu
Copy link
Collaborator

@pingyu pingyu commented Oct 9, 2022

Signed-off-by: pingyu [email protected]

What problem does this PR solve?

Issue Number: close #248

Problem Description: Table sink output event metrics in Dataflow is not correct

What is changed and how does it work?

Fix metrics name & comment in Grafana.

image

Code changes

  • No code

Check List for Tests

This PR has been tested by at least one of the following methods:

  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Possible performance regression, WHY: TBD
  • Increased code complexity, WHY: TBD
  • Breaking backward compatibility, WHY: TBD
  • No side effects

Related changes

  • No related changes

@pingyu pingyu requested review from haojinming and zeminzhou October 9, 2022 07:48
@pingyu
Copy link
Collaborator Author

pingyu commented Oct 9, 2022

@zeminzhou @haojinming PTAL, thanks~

@codecov
Copy link

codecov bot commented Oct 9, 2022

Codecov Report

Merging #249 (fd7028a) into main (92d4381) will increase coverage by 0.0830%.
The diff coverage is n/a.

❗ Current head fd7028a differs from pull request most recent head e4a1fd1. Consider uploading reports for the commit e4a1fd1 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##               main       #249        +/-   ##
================================================
+ Coverage   61.2425%   61.3256%   +0.0830%     
================================================
  Files           238        239         +1     
  Lines         20200      20202         +2     
================================================
+ Hits          12371      12389        +18     
+ Misses         6690       6675        -15     
+ Partials       1139       1138         -1     
Flag Coverage Δ *Carryforward flag
br 60.2203% <ø> (ø) Carriedforward from 92d4381
cdc 61.8328% <ø> (+0.1210%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
cdc/pkg/orchestrator/etcd_worker.go 78.5714% <0.0000%> (-0.8404%) ⬇️
cdc/cmd/cdc/main.go 100.0000% <0.0000%> (ø)
cdc/cdc/kv/region_worker.go 79.5833% <0.0000%> (+0.8333%) ⬆️
cdc/cdc/kv/client.go 86.0230% <0.0000%> (+1.0086%) ⬆️
cdc/cdc/sorter/unified/merger.go 70.2265% <0.0000%> (+1.2944%) ⬆️
cdc/cdc/sorter/unified/unified_sorter.go 91.6666% <0.0000%> (+2.0833%) ⬆️

Copy link
Contributor

@haojinming haojinming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@zeminzhou zeminzhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

@pingyu pingyu merged commit 78e201c into tikv:main Oct 9, 2022
pingyu added a commit to pingyu/tikv-migration that referenced this pull request Oct 9, 2022
Signed-off-by: pingyu <[email protected]>

Signed-off-by: pingyu <[email protected]>
pingyu added a commit to pingyu/tikv-migration that referenced this pull request Oct 9, 2022
Signed-off-by: pingyu <[email protected]>

Signed-off-by: pingyu <[email protected]>
pingyu added a commit that referenced this pull request Oct 9, 2022
* [fix #246] fix unified sorter (#247)

* fix unified sorter

Signed-off-by: zeminzhou <[email protected]>

* remove debug log

Signed-off-by: zeminzhou <[email protected]>

* add metric for the input event of puller

Signed-off-by: zeminzhou <[email protected]>

* remove puller input metric

Signed-off-by: zeminzhou <[email protected]>

* add back

Signed-off-by: zeminzhou <[email protected]>

Signed-off-by: zeminzhou <[email protected]>
Signed-off-by: pingyu <[email protected]>

* fix keyspan sink metrics (#249)

Signed-off-by: pingyu <[email protected]>

Signed-off-by: pingyu <[email protected]>

* fix gh action

Signed-off-by: pingyu <[email protected]>

Signed-off-by: zeminzhou <[email protected]>
Signed-off-by: pingyu <[email protected]>
Co-authored-by: zzm <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cdc,metrics: Table sink output event metrics in Dataflow is not correct
3 participants