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

owner, metrics(ticdc): fix metrics (#10459) #10513

Merged

Conversation

ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #10459

What problem does this PR solve?

Issue Number: close #10449, close #10447, close #10438

What is changed and how it works?

  1. For ticdc not delete ticdc_owner_status metrics when removing changefeed #10449, always cleanup metrics whether the changefeed has been cleaned or not.
    image

  2. For [CDC] Distinguish dataflow metrics between incremental scan and normal raft logs #10447, use the type of ticdc_kvclient_pull_event_count to distinguish incresmental scan and real-time raft log.
    image

  3. For Add create time metric for every changefeed #10438, add changefeedStartTimeGauge metric, which record the changefeed create time and restart time. Note that changefeedStartTimeGauge records the physical time with millisecond precision.
    image

Check List

Tests

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

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

`None`.

@ti-chi-bot ti-chi-bot added lgtm release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-6.5 This PR is cherry-picked to release-6.5 from a source PR. labels Jan 19, 2024
@ti-chi-bot ti-chi-bot bot added do-not-merge/cherry-pick-not-approved size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 19, 2024
@ti-chi-bot ti-chi-bot added the cherry-pick-approved Cherry pick PR approved by release team. label Jan 23, 2024
@CharlesCheung96
Copy link
Contributor

#10449 is batch cherry-pick in #10500.
#10447 and #10438 do not need to cherry-pick to release-6.5.

@CharlesCheung96 CharlesCheung96 force-pushed the cherry-pick-10459-to-release-6.5 branch from b3295cc to bcdf2bd Compare January 31, 2024 02:46
@ti-chi-bot ti-chi-bot bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 31, 2024
Copy link
Contributor

ti-chi-bot bot commented Jan 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CharlesCheung96

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kennytm
Copy link
Contributor

kennytm commented Mar 12, 2024

/retest

@ti-chi-bot ti-chi-bot bot merged commit 70447e5 into pingcap:release-6.5 Mar 12, 2024
10 checks passed
@lidezhu lidezhu deleted the cherry-pick-10459-to-release-6.5 branch March 14, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved cherry-pick-approved Cherry pick PR approved by release team. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. type/cherry-pick-for-release-6.5 This PR is cherry-picked to release-6.5 from a source PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants