Documentation ¶
Index ¶
- Constants
- Variables
- func GetExceptionByID(appName string, id int) string
- func GetMethodByID(appName string, id int) string
- func GetSqlByID(appName string, id int) string
- func InitConfig(path string)
- func SplitMethod(m string) (string, string)
- func StartEndDate(c echo.Context) (start time.Time, end time.Time, err error)
- func TimeToChartString(t time.Time) string
- func TimeToChartString1(t time.Time) string
- func TimeToChartString2(t time.Time) string
- func Timestamp2TimeString(t int64) string
- type Config
Constants ¶
View Source
const CacheUpdateIntv = 60
缓存更新间隔(秒)
Variables ¶
View Source
var StaticCql *gocql.Session
View Source
var TraceCql *gocql.Session
Functions ¶
func GetExceptionByID ¶
func GetMethodByID ¶
func GetSqlByID ¶
func SplitMethod ¶
切分pinpoint采集的java method,获得class和method name e.g. org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response)
func StartEndDate ¶
获取开始和截止日期
func TimeToChartString ¶
func TimeToChartString1 ¶
func TimeToChartString2 ¶
func Timestamp2TimeString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.