-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prometheus Monitoring causes panic "invalid memory address or nil pointer dereference" #1575
Comments
Received the same using version 12.0.0 and using ingress.appscode.com/monitoring-agent: 'prometheus.io/builtin' Is this fixed in the newer version that requires an enterprise license? |
@dgradl-fl, @samispurs I've hit the similar issue. I've noticed that I forgot to fill all required keys in annotations. |
Are you sure about that? I just set it up with: |
Not 100% My voyager operator was down caused the issue. (spinning in restart lopp with delays and unable to proces any new request) |
@sFrenkie , what version of operator are you using?
The latest version fixes issues like this by running the validator and operator as separate containers. |
@tamalsaha We use version 12. Pods with haproxy have sidecar container with exporter. |
Can you try with v14.0.0 ? This version uses HAProxy's built-in exporter. |
When using the monitoring described here: https://voyagermesh.com/docs/v12.0.0/guides/ingress/monitoring/using-coreos-prometheus-operator/ for v12.0.0 - it crashes the operator. See attachment. From what I can tell the parser is parsing the ingress.appscode.com/service-monitor-labels into Labels, but the monitoring api agent is looking for ServiceMonitor.Labels https://github.com/voyagermesh/voyager/blob/v12.0.0/vendor/kmodules.xyz/monitoring-agent-api/agents/coreosprometheusoperator/lib.go#L87
Looks like there might be an API mismatch here.
crash.txt
The text was updated successfully, but these errors were encountered: