message: Monitoring: Handle case where `service.metadata.labels` is undefined
diff: @@ -52,7 +52,7 @@ const ServiceMonitor: React.FC<{ target: Target }> = ({ target }) => {
  monitors,
  ({ spec }) =>
  service &&
  - new LabelSelector(spec.selector).matchesLabels(service.metadata.labels) &&
  + new LabelSelector(spec.selector).matchesLabels(service.metadata.labels ?? {}) &&
  (spec.namespaceSelector?.matchNames === undefined ||
  _.includes(spec.namespaceSelector?.matchNames, service.metadata.namespace)),
  );
  