Documentation ¶
Index ¶
- Constants
- type Event
- type Heartbeat
- type Message
- type MessageTree
- func (tree *MessageTree) CanDiscard() bool
- func (tree *MessageTree) GetDomain() []byte
- func (tree *MessageTree) GetMessage() Message
- func (tree *MessageTree) GetMessageId() []byte
- func (tree *MessageTree) GetParentMessageId() []byte
- func (tree *MessageTree) GetRootMessageId() []byte
- func (tree *MessageTree) GetThreadGroupName() []byte
- func (tree *MessageTree) GetThreadId() []byte
- func (tree *MessageTree) GetThreadName() []byte
- func (tree *MessageTree) SetDiscard(discard bool)
- func (tree *MessageTree) SetDomain(domain []byte)
- func (tree *MessageTree) SetMessage(message Message)
- func (tree *MessageTree) SetMessageId(messageId []byte)
- func (tree *MessageTree) SetParentMessageId(parentMessageId []byte)
- func (tree *MessageTree) SetRootMessageId(rootMessageId []byte)
- func (tree *MessageTree) SetThreadGroupName(threadGroupName []byte)
- func (tree *MessageTree) SetThreadId(threadId []byte)
- func (tree *MessageTree) SetThreadName(threadName []byte)
- type Transaction
- func (trans *Transaction) AddChild(child Message)
- func (trans *Transaction) GetChildren() []Message
- func (m *Transaction) GetData() string
- func (trans *Transaction) GetDurationInMicros() int64
- func (m *Transaction) GetName() string
- func (m *Transaction) GetStatus() string
- func (m *Transaction) GetTimestamp() int64
- func (m *Transaction) GetType() string
- func (m *Transaction) IsSuccess() bool
- func (trans *Transaction) SetDurationInMicros(durationInMicros int64)
Constants ¶
View Source
const SUCCESS = "0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
func (*Event) GetTimestamp ¶
func (m *Event) GetTimestamp() int64
type Heartbeat ¶
type Heartbeat struct {
// contains filtered or unexported fields
}
func NewHeartbeat ¶
func (*Heartbeat) GetTimestamp ¶
func (m *Heartbeat) GetTimestamp() int64
type MessageTree ¶
type MessageTree struct {
// contains filtered or unexported fields
}
func NewMessageTree ¶
func NewMessageTree() *MessageTree
func (*MessageTree) CanDiscard ¶
func (tree *MessageTree) CanDiscard() bool
func (*MessageTree) GetDomain ¶
func (tree *MessageTree) GetDomain() []byte
func (*MessageTree) GetMessage ¶
func (tree *MessageTree) GetMessage() Message
func (*MessageTree) GetMessageId ¶
func (tree *MessageTree) GetMessageId() []byte
func (*MessageTree) GetParentMessageId ¶
func (tree *MessageTree) GetParentMessageId() []byte
func (*MessageTree) GetRootMessageId ¶
func (tree *MessageTree) GetRootMessageId() []byte
func (*MessageTree) GetThreadGroupName ¶
func (tree *MessageTree) GetThreadGroupName() []byte
func (*MessageTree) GetThreadId ¶
func (tree *MessageTree) GetThreadId() []byte
func (*MessageTree) GetThreadName ¶
func (tree *MessageTree) GetThreadName() []byte
func (*MessageTree) SetDiscard ¶
func (tree *MessageTree) SetDiscard(discard bool)
func (*MessageTree) SetDomain ¶
func (tree *MessageTree) SetDomain(domain []byte)
func (*MessageTree) SetMessage ¶
func (tree *MessageTree) SetMessage(message Message)
func (*MessageTree) SetMessageId ¶
func (tree *MessageTree) SetMessageId(messageId []byte)
func (*MessageTree) SetParentMessageId ¶
func (tree *MessageTree) SetParentMessageId(parentMessageId []byte)
func (*MessageTree) SetRootMessageId ¶
func (tree *MessageTree) SetRootMessageId(rootMessageId []byte)
func (*MessageTree) SetThreadGroupName ¶
func (tree *MessageTree) SetThreadGroupName(threadGroupName []byte)
func (*MessageTree) SetThreadId ¶
func (tree *MessageTree) SetThreadId(threadId []byte)
func (*MessageTree) SetThreadName ¶
func (tree *MessageTree) SetThreadName(threadName []byte)
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func NewTransaction ¶
func NewTransaction(t, name, status, data string, timestampInMillis int64, children []Message, durationInMicros int64) *Transaction
func (*Transaction) AddChild ¶
func (trans *Transaction) AddChild(child Message)
func (*Transaction) GetChildren ¶
func (trans *Transaction) GetChildren() []Message
func (*Transaction) GetDurationInMicros ¶
func (trans *Transaction) GetDurationInMicros() int64
func (*Transaction) GetTimestamp ¶
func (m *Transaction) GetTimestamp() int64
func (*Transaction) SetDurationInMicros ¶
func (trans *Transaction) SetDurationInMicros(durationInMicros int64)
Click to show internal directories.
Click to hide internal directories.