You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I've just found that litmus ServiceMonitor for metrics collection seems to be misconfigured
I deep dived a bit and it looks like ServiceMonitor selector:
But this selector covers both litmus and litmus-monitor pods.
But only litmus-monitor-* has port named http at 8080 and serves prometheus metrics
While litmus-* pod has http at 80 with no prometheus metrics. (litmus pods can server default go metrics at 8080 but it's a different story and I don't think that we need this)
I create a PR for this.
In the litmus-agent, the serviceMonitor and Service only select the exporter pods. Make sense the litmus-core should do the same.
If we need to retrieve the metrics of the operator we probably need to add a podMonitor instead.
Hi!
I've just found that litmus ServiceMonitor for metrics collection seems to be misconfigured
I deep dived a bit and it looks like ServiceMonitor selector:
which is resulted in
litmus-monitor
service (kubernetes service entity).That has a Pod selector:
But this selector covers both
litmus
andlitmus-monitor
pods.But only
litmus-monitor-*
has port namedhttp
at8080
and serves prometheus metricsWhile
litmus-*
pod hashttp
at 80 with no prometheus metrics. (litmus pods can server defaultgo
metrics at8080
but it's a different story and I don't think that we need this)I believe we need to narrow selector to match
litmus-monitor
only.Or to allow
additionalLables
for the selectorlitmus-helm/charts/litmus-core/templates/_helpers.tpl
Line 52 in 31a0a30
The text was updated successfully, but these errors were encountered: