Skip to content

CaitinChen/tidb-insight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiDB Insight

Build Status Go Report Card

This is a set of tools and/or scripts to collect information and metrics from all nodes of a TiDB cluster. The data is collected and archived to a tarball so that one can copy the data to anywhere convenient for further investigation.

You may find it useful when you don't have access to the machines running TiDB services, but need to troubleshooting issues related to them.

Collector

The collector is a simple binary tool that collects various kinds of server information, including system information, TiDB/TiKV/PD versions, etc.

The output of collector is a JSON to stdout.

Scripts

WIP: The scripts to call other tools (e.g., collector) and organize their results.

The insight.py file is the entrance of all scripts. It calls collector to collect basic information and then trigger other tools to gather more data.

It is recommended to run this script with the root privilege.

The following features have been implemented:

  • Record perf data of the whole system, TiDB modules, or specific process. (disabled by default)
  • Check the file size of TiDB modules' data directories. (enabled by default)

Insight

TO DO: Create the analysis tool that helps process dataset.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.7%
  • Go 42.2%
  • Makefile 2.1%