vcs_kafka

package
v0.0.0-...-0fce7b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FmtField

func FmtField(fields []*Field) string

func FmtTags

func FmtTags(tags []*Tag) string

func NewMetric

func NewMetric(
	name string,
	tags map[string]string,
	fields map[string]interface{},
	tm time.Time,
) *metric

Types

type Field

type Field struct {
	Key   string
	Value interface{}
}

type Kafka

type Kafka struct {
	Brokers               []string
	FilterTopics          string
	FilterConsummerGroups string
	Detail                bool
	Version               string
	Debug                 bool
	// contains filtered or unexported fields
}

func (*Kafka) Description

func (k *Kafka) Description() string

func (*Kafka) Gather

func (k *Kafka) Gather(acc telegraf.Accumulator) error

func (Kafka) SampleConfig

func (Kafka) SampleConfig() string

type KafkaLag

type KafkaLag struct {
	// contains filtered or unexported fields
}

type KafkaLagDetail

type KafkaLagDetail struct {
	// contains filtered or unexported fields
}

type Tag

type Tag struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL