Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gatherer ¶
type Gatherer interface { DatabaseMetadata() (globalStatus map[string]string, globalVariables map[string]string, err error) FollowerMetadata() (slaveStatus map[string]string, heartbeatStatus map[string]string, err error) IsDatabaseFollower() (bool, error) IsDatabaseAvailable() bool DiskStats() (map[string]string, error) BrokerStats() (map[string]string, error) CPUStats() (map[string]string, error) }
type LoggregatorSender ¶
type LoggregatorSender struct {
// contains filtered or unexported fields
}
func NewLoggregatorSender ¶
func NewLoggregatorSender(client *loggregator.IngressClient, sourceID string) *LoggregatorSender
type MetricDefinition ¶
type MetricMappingConfig ¶
type MetricMappingConfig struct { MysqlMetricMappings map[string]MetricDefinition GaleraMetricMappings map[string]MetricDefinition LeaderFollowerMetricMappings map[string]MetricDefinition DiskMetricMappings map[string]MetricDefinition BrokerMetricMappings map[string]MetricDefinition CPUMetricMappings map[string]MetricDefinition }
func DefaultMetricMappingConfig ¶
func DefaultMetricMappingConfig() *MetricMappingConfig
type MetricWriter ¶
type MetricWriter struct {
// contains filtered or unexported fields
}
func NewMetricWriter ¶
func NewMetricWriter(sender Sender, logger Logger, origin string) *MetricWriter
func (*MetricWriter) Write ¶
func (writer *MetricWriter) Write(metrics []*Metric) error
type MetricsComputer ¶
type MetricsComputer interface { ComputeAvailabilityMetric(bool) *Metric ComputeIsFollowerMetric(bool) *Metric ComputeGlobalMetrics(map[string]string) []*Metric ComputeLeaderFollowerMetrics(map[string]string) []*Metric ComputeDiskMetrics(map[string]string) []*Metric ComputeBrokerMetrics(map[string]string) []*Metric ComputeGaleraMetrics(map[string]string) []*Metric ComputeCPUMetrics(map[string]string) []*Metric }
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.