Documentation
¶
Index ¶
Constants ¶
View Source
const ( FromTrace = "trace" FromProfile = "profile" )
View Source
const ( FilterBySpanTime = "spanTime" FilterByFull = "full" )
View Source
const ( MinTimestampMicro = 1640966400000000 MaxTimestampMicro = 2147483647000000 MinTimestampNano = 1640966400000000000 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseRequestParam ¶
type BaseRequestParam struct {
WorkspaceUUID string `json:"workspace_uuid" binding:"required"`
}
type DownloadParam ¶
type DownloadParam struct {
BaseRequestParam
Profiles []*Profile `json:"profiles" binding:"required"`
}
type LookupParam ¶
type LookupParam struct {
WithTypeRequestParam
Span
FilterBy string `json:"filter_by"`
Profiles []*Profile `json:"profiles" binding:"required"`
}
type ParseParam ¶
type ParseParam struct {
WithTypeRequestParam
Profile
}
type Profile ¶
type Profile struct {
Language languages.Lang `json:"language" binding:"required"`
EsDocID string `json:"__docid"`
ProfileID string `json:"profile_id" binding:"required"`
ProfileStart interface{} `json:"profile_start" binding:"required"` // , min=1640966400000000000
ProfileEnd interface{} `json:"profile_end" binding:"required"` // , min=1640966400000000000
// contains filtered or unexported fields
}
type SummaryParam ¶
type SummaryParam struct {
BaseRequestParam
Span
From string `json:"from"`
FilterBy string `json:"filter_by"`
Profiles []*Profile `json:"profiles" binding:"required"`
}
type WithTypeRequestParam ¶
type WithTypeRequestParam struct {
BaseRequestParam
Type string `json:"type" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.