Documentation ¶
Index ¶
- func ConsoleOutput()
- func StartMetricsJobs(config *conf.Configuration)
- func StartRuntimeMetricsJob(env string, region string)
- func UploadToLibrato(config *conf.LibratoConfiguration)
- type GoInternalMetrics
- type LoadMetrics
- type MetricsGroup
- type ProcessCpuMetrics
- type ProcessMemoryMetrics
- type ProxyMetrics
- type RuntimeMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsoleOutput ¶
func ConsoleOutput()
func StartMetricsJobs ¶
func StartMetricsJobs(config *conf.Configuration)
func StartRuntimeMetricsJob ¶
func UploadToLibrato ¶
func UploadToLibrato(config *conf.LibratoConfiguration)
Types ¶
type GoInternalMetrics ¶
golang internals
func NewGoInternalMetrics ¶
func NewGoInternalMetrics(prefix string) *GoInternalMetrics
func (*GoInternalMetrics) Update ¶
func (gim *GoInternalMetrics) Update()
type LoadMetrics ¶
type LoadMetrics struct {
One, Five, Fifteen gmetrics.GaugeFloat64
}
system load
func NewLoadMetrics ¶
func NewLoadMetrics(prefix string) *LoadMetrics
func (*LoadMetrics) Update ¶
func (lm *LoadMetrics) Update()
type MetricsGroup ¶
type MetricsGroup interface {
Update()
}
type ProcessCpuMetrics ¶
process cpu
func NewProcessCpuMetrics ¶
func NewProcessCpuMetrics(prefix string) *ProcessCpuMetrics
func (*ProcessCpuMetrics) Update ¶
func (pcm *ProcessCpuMetrics) Update()
type ProcessMemoryMetrics ¶
process memory
func NewProcessMemoryMetrics ¶
func NewProcessMemoryMetrics(prefix string) *ProcessMemoryMetrics
func (*ProcessMemoryMetrics) Update ¶
func (pmm *ProcessMemoryMetrics) Update()
type ProxyMetrics ¶
type ProxyMetrics struct { Msgs gmetrics.Meter MsgReply gmetrics.Meter MsgForward gmetrics.Meter MsgBodySize gmetrics.Histogram Connects gmetrics.Meter Connections gmetrics.Gauge }
Record proxy related meters to enable monitoring of throughput and volume.
func NewProxyMetrics ¶
func NewProxyMetrics(env string, region string) ProxyMetrics
conf.Environment, conf.Region
type RuntimeMetrics ¶
type RuntimeMetrics struct {
Internals, Memory, Cpu, Load MetricsGroup
}
func NewRuntimeMetrics ¶
func NewRuntimeMetrics(prefix string) *RuntimeMetrics
func (*RuntimeMetrics) Update ¶
func (rm *RuntimeMetrics) Update()
Click to show internal directories.
Click to hide internal directories.