Questions about Changefeed Statistics Display

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: changefeed statistics显示疑问

| username: HACK

【TiDB Usage Environment】Production Environment or Test Environment or POC
【TiDB Version】

The source is continuously inserting data, and there is no problem replicating it downstream.
When checking the changefeed statistics information, both ops and count are always displayed as 0. Why is this?
tiup ctl:v4.0.16 cdc changefeed statistics --pd=http://xxx.xxx.xxx.136:2379 --changefeed-id=“cdc2”
Starting component ctl: /home/tidb/.tiup/components/ctl/v4.0.16/ctl cdc changefeed statistics --pd=http://xxx.xxx.xxx.136:2379 --changefeed-id=cdc2
{
“ops”: 0,
** “count”: 0,**
“sink_gap”: “1000ms”,
“replication_gap”: “2650ms”
}
{
“ops”: 0,
** “count”: 0,**
“sink_gap”: “1000ms”,
“replication_gap”: “2600ms”
}

【Encountered Problem】
【Reproduction Path】What operations were performed to encounter the problem
【Problem Phenomenon and Impact】

【Attachments】

Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.

| username: HACK | Original post link

Does anyone know about this topic?

| username: neilshen | Original post link

The information displayed by statistics has been migrated to the Granfan monitoring panel. Moving forward, we will optimize the statistics output and remove invalid fields.

| username: HACK | Original post link

Oh, got it.

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.