Documentation
¶
Index ¶
- func ResetTextSent()
- func SendAlert(level netdata.AlertLevel, title, message string)
- func SendApicall(name string) int32
- func SendDesc(name string) int32
- func SendError(name string) int32
- func SendHashedMessage(name string) int32
- func SendLogin(name string) int32
- func SendMethod(name string) int32
- func SendObjName(name string) int32
- func SendPackDirect(pack netdata.Pack)
- func SendPanic(message string)
- func SendProfile(steps []netdata.Step, tctx *TraceContext)
- func SendReferer(name string) int32
- func SendServiceName(name string) int32
- func SendStackElement(name string) int32
- func SendUserAgent(name string) int32
- func SendXlog(pack *netdata.XlogPack)
- type ProfileCollector
- type TraceContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetTextSent ¶
func ResetTextSent()
func SendAlert ¶
func SendAlert(level netdata.AlertLevel, title, message string)
func SendApicall ¶
func SendHashedMessage ¶
func SendMethod ¶
func SendObjName ¶
func SendPackDirect ¶
func SendProfile ¶
func SendProfile(steps []netdata.Step, tctx *TraceContext)
func SendReferer ¶
func SendServiceName ¶
func SendStackElement ¶
func SendUserAgent ¶
Types ¶
type ProfileCollector ¶
type ProfileCollector struct {
// contains filtered or unexported fields
}
func NewProfileCollector ¶
func NewProfileCollector(tctx *TraceContext) *ProfileCollector
func (*ProfileCollector) Add ¶
func (c *ProfileCollector) Add(ss netdata.Step)
func (*ProfileCollector) Close ¶
func (c *ProfileCollector) Close(ok bool)
func (*ProfileCollector) Pop ¶
func (c *ProfileCollector) Pop(ss netdata.Step)
func (*ProfileCollector) Process ¶
func (c *ProfileCollector) Process(ss netdata.Step)
func (*ProfileCollector) Push ¶
func (c *ProfileCollector) Push(ss netdata.Step)
type TraceContext ¶
type TraceContext struct { Closed bool LastMethod string IsStream bool Inherit bool InheritStartTime time.Time Goid int Parent *TraceContext Profile *ProfileCollector ProfileCount int ProfileSize int Txid int64 Gxid int64 XType netdata.XlogType StartTime time.Time ServiceHash int32 ServiceName string RemoteIp string Error int32 HttpMethod string HttpQuery string HttpContentType string SqlCount int32 SqlTime int32 Sqltext string Status int32 ApicallName string ApicallCount int32 ApicallTime int32 ApicallTarget string Userid int64 UserAgent int32 UserAgentString string Referer int32 IsChildTx bool Caller int64 Callee int64 CallerObjHash int32 Login string Desc string Text1 string Text2 string Text3 string Text4 string Text5 string }
func NewTraceContext ¶
func NewTraceContext() *TraceContext
func (BADRECV) ToXlog ¶
func (tctx TraceContext) ToXlog(discardType netdata.XlogDiscardType, elapsed int32) *netdata.XlogPack
Click to show internal directories.
Click to hide internal directories.