Can TiDB Retrieve Timestamps When Processing Data?

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

Original topic: TIDB在处理数据的时间戳是否可以调取

| username: TiDBer_i6YpnMZE

May I ask how Prometheus reads TiDB’s timestamp when retrieving transaction duration for a histogram?
Also, if I want to monitor the latency of TCP, IP, and MAC layers, can the current TiDB monitoring achieve this? Thanks!

| username: Kongdom | Original post link

Are you looking for this monitoring page?
http://{IP}:3000/d/000000001/tidb-cluster-node_exporter?orgId=1&refresh=30s

| username: 小龙虾爱大龙虾 | Original post link

  1. I didn’t understand what was being said. Why do we need to read the TiDB timestamp to monitor transaction duration?
  2. I don’t think it’s possible. These are more low-level network things, and monitoring should be done by embedding points in the code. TiDB can’t embed points in these network layer codes, right?
| username: 这里介绍不了我 | Original post link

I watched for a while and didn’t understand what it was saying.

| username: dba远航 | Original post link

Monitoring TCP, IP, and MAC layer latency is essentially network monitoring, or gRPC.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.