Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TestID is used for test. TestID ID = "test" // TestComponent is used for test. TestComponent Component = "test" // client-go component CodecPDClient Component = "CodecPdClient" RegionCache Component = "RegionCache" StoreCache Component = "StoreCache" Oracle Component = "Oracle" Rawkv Component = "Rawkv" KvStore Component = "KvStore" InterceptedPDClient Component = "InterceptedPdClient" // TiDB component Pitr Component = "Pitr" Ddl Component = "Ddl" ImportInto Component = "ImportInto" TikvHandler Component = "TikvHandler" GcWorker Component = "GcWorker" GcJob Component = "GcJob" DistributedGcJob Component = "DistributedGcJob" )
nolint: exported
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component string
Component refers to the components within the process.
func GetComponent ¶
GetComponent returns the package path of the calling function The argument upperLayer specifies the number of stack frames to ascend. NOTE: This function is time-consuming and please do not use it in high qps scenarios.
Click to show internal directories.
Click to hide internal directories.