File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 1010// distributed under the License is distributed on an "AS IS" BASIS,
1111// See the License for the specific language governing permissions and
1212// limitations under the License.
13+
1314package common
1415
1516import "github.com/prometheus/client_golang/prometheus"
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import (
1717 "github.com/pingcap/ticdc/pkg/common"
1818 "github.com/pingcap/ticdc/pkg/sink/codec"
1919 "github.com/pingcap/ticdc/pkg/sink/kafka"
20+ "github.com/pingcap/ticdc/pkg/txnutil/gc"
2021 "github.com/prometheus/client_golang/prometheus"
2122)
2223
@@ -38,4 +39,5 @@ func InitMetrics(registry *prometheus.Registry) {
3839 InitDynamicStreamMetrics (registry )
3940 kafka .InitMetrics (registry )
4041 codec .InitMetrics (registry )
42+ gc .InitMetrics (registry )
4143}
You can’t perform that action at this time.
0 commit comments