Categorygithub.com/autotraderuk/kafka-connect-exporter
modulepackage
1.0.2-AT
Repository: https://github.com/autotraderuk/kafka-connect-exporter.git
Documentation: pkg.go.dev

# README

Build Status GoDoc

Kafka Connect Exporter

This is a service for monitoring kafka connect tasks via prometheus. It exposes a single guage that tracks the number of tasks deployed to a kafka connect cluster. The Guage has three labels associated:

  • connector: The name of the connector the task belongs to.
  • state: The state (RUNNING, FAILED, etc...) of the task.
  • worker: The kafka connect worker (host:port) the task is deployed to.

Configuration

The following environment variables can be used to configure the exporter.

VariableDescriptionRequiredDefault
KAFKA_CONNECT_HOSTKafka connect host to monitorYesN/A
PORTPort to listen onNo9400

Example

For an example on how to use the exporter, see here.

Docker

Images are hosted on docker hub:

docker pull zenreach/kafka-connect-exporter

Version tags match up with the github releases.

# Packages

Package prometheus provides an API for gathering prometheus metrics on tasks deployed to a kafka connect cluster.