seldon-core icon indicating copy to clipboard operation
seldon-core copied to clipboard

v1: remove legacy prometheus annotations

Open RafalSkolasinski opened this issue 2 years ago • 0 comments

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

RafalSkolasinski avatar Feb 28 '23 09:02 RafalSkolasinski