Outdated Version

You are viewing an older version of this section. View current production version.

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