seldon-core
seldon-core copied to clipboard
v1: remove legacy prometheus annotations
Before introducing Prometheus Operator to collect SC metrics we were configuring Prometheus via annotations. Following annotations
prometheus.io/path: /prometheus
prometheus.io/scrape: "true"
can cause misconfigured Prometheus Operator to scrape /prometheus endpoint on all Flask servers that Core microservice starts even when these do not expose metrics leading to spurious 404s.
Related to https://github.com/SeldonIO/seldon-core/issues/4692