Deploy Prometheus
This pages describes how to deploy Prometheus alongside Grafana to enable built-in metrics, alerts, and dashboards for kdb Insights Enterprise.
kdb Insights Enterprise produces metrics and includes pre-packaged alerts and Grafana dashboards in order for you to monitor the state of the application.
They are all designed to work with the Prometheus stack but do not ship with it. You must deploy the Prometheus stack and enable the application to integrate with it.
This page describes how to install Prometheus. To enable metrics, alerts and dashboards at installation time, use the details provided here.
Prometheus
The most common method of deploying Prometheus is the Prometheus operator.
This can be deployed alongside Grafana for visualizations, and Kubernetes node metrics exporters to gather cluster-wide metrics. One example of this is the kube-prometheus-stack Helm chart. This is what we will install.
Deploying Prometheus
The kube-prometheus-stack is usually deployed within its own namespace using Helm. Full installation details are provided here.
-
Create a namespace.
kubectl create ns monitoring -
Install using Helm.
export RELEASE_NAME=kx-prom helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update helm install $RELEASE_NAME prometheus-community/kube-prometheus-stack -n monitoring
Record the release name
Take note of your chosen $RELEASE_NAME as this is required when configuring kdb Insights Enterprise.
In the example above, this is kx-prom.
To enable metrics at installation time, use the details here