Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepeaterBackend ¶
Types ¶
type KafkaBackend ¶
type KafkaBackend struct { Producer sarama.SyncProducer Topic string }
func NewKafkaBackend ¶
func NewKafkaBackend(brokers []string, topic string) (*KafkaBackend, error)
func (*KafkaBackend) Write ¶
func (backend *KafkaBackend) Write(data *types.TimeSeriesData) error
type OpentsdbBackend ¶
type OpentsdbBackend struct {
// contains filtered or unexported fields
}
func NewOpentsdbBackend ¶
func NewOpentsdbBackend(addr string) (*OpentsdbBackend, error)
func (*OpentsdbBackend) Write ¶
func (this *OpentsdbBackend) Write(data *types.TimeSeriesData) error
Click to show internal directories.
Click to hide internal directories.