This directory contains plug-in support for external libraries to use with a
kgo.Client
. The metrics here try to take a pragmatic approach to which
metrics are valuable while avoiding too much cardinality explosion, and the
logging packages try to do the right thing. If anything could be improved,
please raise an issue or open a PR, thanks!
Each of these plugins has a corresponding example in examples!
plugin — you are here ├── kgmetrics — plug-in go-metrics to use with `kgo.WithHooks` ├── kprom — plug-in prometheus metrics to use with `kgo.WithHooks` ├── klogrus — plug-in sirupsen/logrus to use with `kgo.WithLogger` ├── kzap — plug-in uber-go/zap to use with `kgo.WithLogger` └── kzerolog — plug-in rs/zerolog to use with `kgo.WithLogger`