I'm running the Prometheus/Grafana monitoring stack on Kubernetes, but none of the dashboards contain metrics. The operator is reporting a 'service port not found' error. Could these issues be related, and how can I fix them?
Dominic Lindsay
Asked on Nov 13, 2023
The issue seems to be with the Prometheus configuration. Ensure that spec.enableDefaultServiceMonitor
is set to true for the operator. Additionally, set monitor.podMonitor.enabled
to true
to enable monitoring configuration, as it relies on Prometheus CRDs which are not installed by default. If you're using the prometheus-community/kube-prometheus-stack
chart, make sure to set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues
to false
. Also, verify if Prometheus has the correct scraping targets and if there's a PodMonitor in the monitoring namespace. If not, add one when installing RisingWave with Helm.