vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.47k stars 2.09k forks source link

Errant GTID Counts metric in VTOrc #16829

Open GuptaManan100 opened 4 days ago

GuptaManan100 commented 4 days ago

Description

As pointed out in https://github.com/vitessio/vitess/issues/16828, it would be a good idea to also publish the number of errant GTIDs in each tablet as a metric. This PR accomplishes this goal.

The new metric looks like -

"ErrantGTIDCounts": {"zone1-0000000100": 1},

Related Issue(s)

Checklist

Deployment Notes

vitess-bot[bot] commented 4 days ago

Review Checklist

Hello reviewers! :wave: Please follow this checklist when reviewing this Pull Request.

General

Tests

Documentation

New flags

If a workflow is added or modified:

Backward compatibility

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 71.42857% with 4 lines in your changes missing coverage. Please review.

Project coverage is 69.53%. Comparing base (95f2e3e) to head (bd70d2d).

Files with missing lines Patch % Lines
go/vt/vtorc/inst/instance_dao.go 20.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #16829 +/- ## ========================================== + Coverage 69.51% 69.53% +0.02% ========================================== Files 1569 1569 Lines 202517 202531 +14 ========================================== + Hits 140780 140833 +53 + Misses 61737 61698 -39 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.