Join the SingleStore Community Today
Get expert advice, develop skills, and connect with others.

Monitor the Cluster

Upload Metrics to Kafka

Users may declare a memsqlPusherSpec inside of a monitoringSpec to configure uploading data to Kafka.

monitoringSpec:
  memsqlPusherSpec:
    enable: true
    mode: Cluster
    organizationName: <org_name>
    kafkaBootstrapServer: <server_address>
    kafkaProtocol: <kafka_protocol>
    pusherSecretName: <pusher_secret_name>

The <org_name> is the prefix for the two Kafka topics that the monitoring data will be pushed to, specifically:

  • <org_name>_metrics
  • <org_name>_blobs

These two topics must be created if they don’t exist.

The Kubernetes secret with pusher_secret_name must contain the following two keys in its data section:

  • KAFKA_USER
  • KAFKA_PASSWORD