Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatMsg = MessageType("MonDemand::StatsMsg") StatsMsgType = MessageType("MonDemand::StatsMsg") PerfMsgType = MessageType("MonDemand::PerfMsg") TraceMsgType = MessageType("MonDemand::TraceMsg") )
View Source
const ( GaugeType = MetricType("gauge") CounterType = MetricType("counter") UnknownType = MetricType("unknown") )
View Source
const ( ProgIdLabel = "mondemand.prog_id" TraceIdLabel = "mondemand.trace_id" OwnerLabel = "mondemand.owner" HostnameLabel = "mondemand.src_host" MessageLabel = "mondemand.message" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
func DecodeContext ¶
type MessageType ¶
type MessageType string
type Metric ¶
type Metric struct {
Typ MetricType
Key string
Value int64
}
type MetricType ¶
type MetricType string
type PerfMsg ¶
type PerfMsg struct {
Context Context
Timelines []*Timeline
CallerLabel string
PerfId string
ReceiptTime int64
SenderIP net.IP
SenderPort uint16
}
func DecodePerfMsg ¶
Click to show internal directories.
Click to hide internal directories.