Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { StartTs int64 `thrift:"start_ts,1" json:"start_ts"` EndTs int64 `thrift:"end_ts,2" json:"end_ts"` Links []*DependencyLink `thrift:"links,3" json:"links"` }
Attributes:
- StartTs: milliseconds from epoch
- EndTs: milliseconds from epoch
- Links
func NewDependencies ¶
func NewDependencies() *Dependencies
func (*Dependencies) GetEndTs ¶
func (p *Dependencies) GetEndTs() int64
func (*Dependencies) GetLinks ¶
func (p *Dependencies) GetLinks() []*DependencyLink
func (*Dependencies) GetStartTs ¶
func (p *Dependencies) GetStartTs() int64
func (*Dependencies) String ¶
func (p *Dependencies) String() string
type DependencyLink ¶
type DependencyLink struct { Parent string `thrift:"parent,1" json:"parent"` Child string `thrift:"child,2" json:"child"` // unused field # 3 CallCount int64 `thrift:"callCount,4" json:"callCount"` }
Attributes:
- Parent: parent service name (caller)
- Child: child service name (callee)
- CallCount: calls made during the duration of this link
func NewDependencyLink ¶
func NewDependencyLink() *DependencyLink
func (*DependencyLink) GetCallCount ¶
func (p *DependencyLink) GetCallCount() int64
func (*DependencyLink) GetChild ¶
func (p *DependencyLink) GetChild() string
func (*DependencyLink) GetParent ¶
func (p *DependencyLink) GetParent() string
func (*DependencyLink) String ¶
func (p *DependencyLink) String() string
Click to show internal directories.
Click to hide internal directories.