package
0.0.0-20240919200152-9b455d561f02
Repository: https://github.com/eladleev/kafka-config-metrics.git
Documentation: pkg.go.dev

# Functions

InitLog init the logger.
InitProm register the Prometheus metrics.
NewCollector for all metrics.
OpenConnection to one of a given broker using supplied version.
PullConfigs opens a connection to a given cluster, filter topics based on the config file and then run DescribeTopicConfig to populate the metrics.
RegisterMetrics populate the metrics with a topic label.

# Variables

Configuration is main conig.

# Structs

Collector define all metrics as GaugeVec The "metrics" are configuration parameters so it's better to represent them as Gauge metrics.
TomlConfig is the main config struct.