Documentation ¶
Index ¶
- type CloudWatchCollector
- type CloudWatchCollectorDriver
- type MetricsCollector
- type MetricsCollectorDriver
- func NewCloudWatchCollectorDriver(intervalSeconds int, session client.ConfigProvider, ...) MetricsCollectorDriver
- func NewMysqlMetricsCollectorDriver(brokerInfo brokerinfo.BrokerInfo, intervalSeconds int, timeout int, TLS string, ...) MetricsCollectorDriver
- func NewPostgresMetricsCollectorDriver(brokerInfo brokerinfo.BrokerInfo, intervalSeconds int, timeout int, ...) MetricsCollectorDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudWatchCollector ¶ added in v0.2.0
type CloudWatchCollector struct {
// contains filtered or unexported fields
}
CloudWatchCollector ...
func (*CloudWatchCollector) Close ¶ added in v0.2.0
func (cw *CloudWatchCollector) Close() error
Close ...
type CloudWatchCollectorDriver ¶ added in v0.2.0
type CloudWatchCollectorDriver struct {
// contains filtered or unexported fields
}
CloudWatchCollectorDriver ...
func (*CloudWatchCollectorDriver) GetCollectInterval ¶ added in v0.8.0
func (cw *CloudWatchCollectorDriver) GetCollectInterval() int
func (*CloudWatchCollectorDriver) GetName ¶ added in v0.2.0
func (cw *CloudWatchCollectorDriver) GetName() string
GetName ...
func (*CloudWatchCollectorDriver) NewCollector ¶ added in v0.2.0
func (cw *CloudWatchCollectorDriver) NewCollector(instanceInfo brokerinfo.InstanceInfo) (MetricsCollector, error)
NewCollector ...
func (*CloudWatchCollectorDriver) SupportedTypes ¶ added in v0.6.0
func (cw *CloudWatchCollectorDriver) SupportedTypes() []string
type MetricsCollector ¶
type MetricsCollector interface { Collect(ctx context.Context) ([]metrics.Metric, error) Close() error }
MetricsCollector ...
type MetricsCollectorDriver ¶
type MetricsCollectorDriver interface { NewCollector(instanceInfo brokerinfo.InstanceInfo) (MetricsCollector, error) GetName() string SupportedTypes() []string GetCollectInterval() int }
MetricsCollectorDriver ...
func NewCloudWatchCollectorDriver ¶ added in v0.2.0
func NewCloudWatchCollectorDriver(intervalSeconds int, session client.ConfigProvider, brokerInfo brokerinfo.BrokerInfo, logger lager.Logger) MetricsCollectorDriver
NewCloudWatchCollectorDriver ...
func NewMysqlMetricsCollectorDriver ¶ added in v0.6.0
func NewMysqlMetricsCollectorDriver( brokerInfo brokerinfo.BrokerInfo, intervalSeconds int, timeout int, TLS string, logger lager.Logger, ) MetricsCollectorDriver
NewMysqlMetricsCollectorDriver ...
func NewPostgresMetricsCollectorDriver ¶
func NewPostgresMetricsCollectorDriver( brokerInfo brokerinfo.BrokerInfo, intervalSeconds int, timeout int, SSLMode string, logger lager.Logger, ) MetricsCollectorDriver
NewPostgresMetricsCollectorDriver ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.