...
Edit your values.yaml file to configure the reading/scraping of metrics from Swarm agents. Add the following configurations to values.yaml:
Code Block kube-prometheus-stack: prometheus: prometheusSpec: serviceMonitorSelector: matchLabels: app.kubernetes.io/name: hivemq-swarmrelease: hivemq --- your hivemq deployment name release: swarm. --- your swarm deployment name
redeploy hivemq
Code Block helm upgrade --install -f values.yaml hivemq hivemq/hivemq-operator -n hivemq
Access Grafana and navigate to Dashboards. Search for the "HiveMQ Swarm" dashboard. If it is not available, you can download it and import it into Grafana.
View file name HiveMQ Swarm-1689762066233.json The Swarm dashboard should now display the relevant data.
...
Filter by label (Content by label) | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|