Documentation
¶
Index ¶
- Constants
- Variables
- func QueryMaxConnection(instanceId string) float64
- type RdsExporter
- func (r *RdsExporter) Collect(ch chan<- prometheus.Metric)
- func (r *RdsExporter) Describe(ch chan<- *prometheus.Desc)
- func (r *RdsExporter) GetInstance()
- func (r *RdsExporter) GetMetric(metricName string)
- func (r *RdsExporter) GetMetricMeta()
- func (r *RdsExporter) InitGauge()
- func (r *RdsExporter) NewClient()
Constants ¶
Variables ¶
View Source
var NoDataMetricName = map[string]bool{ "DockerCpuUsage": true, "AvgLogSize": true, "Flow": true, "GroupCPUUtilization": true, "GroupConnectionUtilization": true, "GroupDiskUtilization": true, "GroupIOPSUtilization": true, "MaxLogSize": true, "PG_RO_ReadLag": true, "PG_RO_StreamingStatus": true, "Rt": true, "SQLServer_NetworkInNew": true, "SQLServer_NetworkOutNew": true, "ServiceCurrentConnections": true, "ServiceQueries": true, "ServiceTotalConnections": true, "TPS": true, "active_connections_per_cpu": true, "conn_usgae": true, "cpu_usage": true, "iops_usage": true, "local_fs_inode_usage": true, "local_fs_size_usage": true, "mem_usage": true, }
Functions ¶
func QueryMaxConnection ¶
Types ¶
type RdsExporter ¶
type RdsExporter struct { DataPoints []struct { InstanceId string `json:"instanceId"` Average float64 `json:"Average"` } // contains filtered or unexported fields }
func (*RdsExporter) Collect ¶
func (r *RdsExporter) Collect(ch chan<- prometheus.Metric)
func (*RdsExporter) Describe ¶
func (r *RdsExporter) Describe(ch chan<- *prometheus.Desc)
func (*RdsExporter) GetInstance ¶
func (r *RdsExporter) GetInstance()
func (*RdsExporter) GetMetric ¶
func (r *RdsExporter) GetMetric(metricName string)
func (*RdsExporter) GetMetricMeta ¶
func (r *RdsExporter) GetMetricMeta()
func (*RdsExporter) InitGauge ¶
func (r *RdsExporter) InitGauge()
func (*RdsExporter) NewClient ¶
func (r *RdsExporter) NewClient()
Click to show internal directories.
Click to hide internal directories.