Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Msgcount = NewCounter("kafka_messages_total") KafkaOffsets = NewCounter("kafka_offset_current") )
Meta Monitoring Data, to be added to default /metrics
View Source
var ( // general counters FlowNumber = NewCounter("flow_number_total") FlowBytes = NewCounter("flow_bytes") FlowPackets = NewCounter("flow_packets") // TOP HOSTS HostBytes = NewCounter("host_bytes") HostConnections = NewCounter("host_connections_total") )
Flow Data, to be exported to Prometheus' /flowdata or to InfluxDB
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct { Fields map[uint32]CounterItems CustomerIndex map[string][]uint32 Name string Access *sync.Mutex }
func NewCounter ¶
type CounterItems ¶
Click to show internal directories.
Click to hide internal directories.