Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer struct {
// contains filtered or unexported fields
}
func NewDiscoverer ¶
func NewDiscoverer(cfg *config.AWSConfig, reg prometheus.Registerer) (*Discoverer, error)
func (*Discoverer) ClientConfig ¶
func (*Discoverer) Collect ¶
func (d *Discoverer) Collect(ch chan<- prometheus.Metric)
func (*Discoverer) Describe ¶
func (d *Discoverer) Describe(ch chan<- *prometheus.Desc)
func (*Discoverer) Stop ¶
func (d *Discoverer) Stop()
type ECCollector ¶
type ECCollector struct {
// contains filtered or unexported fields
}
func NewECCollector ¶
func NewECCollector(region string, cluster *elasticache.CacheCluster, node *elasticache.CacheNode) *ECCollector
func (*ECCollector) Collect ¶
func (c *ECCollector) Collect(ch chan<- prometheus.Metric)
func (*ECCollector) Describe ¶
func (c *ECCollector) Describe(ch chan<- *prometheus.Desc)
func (*ECCollector) Stop ¶
func (c *ECCollector) Stop()
type LogReader ¶
type LogReader struct {
// contains filtered or unexported fields
}
func NewLogReader ¶
func NewLogReader(discoverer *Discoverer, instanceId *string, ch chan<- logparser.LogEntry) *LogReader
type RDSAuroraDiskIO ¶
type RDSAuroraDiskIO struct {
Device string `json:"device"`
ReadLatency *float64 `json:"readLatency"`
WriteLatency *float64 `json:"writeLatency"`
WriteThroughput *float64 `json:"writeThroughput"`
ReadThroughput *float64 `json:"readThroughput"`
ReadIOsPS *float64 `json:"readIOsPS"`
WriteIOsPS *float64 `json:"writeIOsPS"`
DiskQueueDepth *float64 `json:"diskQueueDepth"`
}
type RDSCPUUtilization ¶
type RDSCollector ¶
type RDSCollector struct {
// contains filtered or unexported fields
}
func NewRDSCollector ¶
func NewRDSCollector(discoverer *Discoverer, region string, instance *rds.DBInstance) *RDSCollector
func (*RDSCollector) Collect ¶
func (c *RDSCollector) Collect(ch chan<- prometheus.Metric)
func (*RDSCollector) Describe ¶
func (c *RDSCollector) Describe(ch chan<- *prometheus.Desc)
func (*RDSCollector) Stop ¶
func (c *RDSCollector) Stop()
type RDSFileSys ¶
type RDSMemory ¶
type RDSMemory struct {
Writeback int64 `json:"writeback"`
HugePagesFree int64 `json:"hugePagesFree"`
HugePagesRsvd int64 `json:"hugePagesRsvd"`
HugePagesSurp int64 `json:"hugePagesSurp"`
Cached int64 `json:"cached"`
HugePagesSize int64 `json:"hugePagesSize"`
Free int64 `json:"free"`
HugePagesTotal int64 `json:"hugePagesTotal"`
Inactive int64 `json:"inactive"`
PageTables int64 `json:"pageTables"`
Dirty int64 `json:"dirty"`
Mapped int64 `json:"mapped"`
Active int64 `json:"active"`
Total int64 `json:"total"`
Slab int64 `json:"slab"`
Buffers int64 `json:"buffers"`
}
type RDSNetInterface ¶
type RDSOSMetrics ¶
type RDSOSMetrics struct {
NumVCPUs int `json:"numVCPUs"`
Cpu RDSCPUUtilization `json:"cpuUtilization"`
Memory RDSMemory `json:"memory"`
PhysicalDeviceIO []RDSPhysicalDeviceIO `json:"physicalDeviceIO"`
DiskIO []RDSAuroraDiskIO `json:"diskIO"`
FileSys []RDSFileSys `json:"fileSys"`
NetworkInterfaces []RDSNetInterface `json:"network"`
}
type RDSPhysicalDeviceIO ¶
type RDSPhysicalDeviceIO struct {
WriteKbPS float64 `json:"writeKbPS"`
ReadIOsPS float64 `json:"readIOsPS"`
Await float64 `json:"await"`
ReadKbPS float64 `json:"readKbPS"`
RrqmPS float64 `json:"rrqmPS"`
Util float64 `json:"util"`
AvgQueueLen float64 `json:"avgQueueLen"`
Tps float64 `json:"tps"`
ReadKb float64 `json:"readKb"`
Device string `json:"device"`
WriteKb float64 `json:"writeKb"`
AvgReqSz float64 `json:"avgReqSz"`
WrqmPS float64 `json:"wrqmPS"`
WriteIOsPS float64 `json:"writeIOsPS"`
}
Click to show internal directories.
Click to hide internal directories.