Skip to content

frontend: use endpoint port if prometheus.io/port annotation is missing

Warren Gifford requested to merge core/debug-proxy-ports into master

Created by: keegancsmith

Previously we excluded indexed-search from scraping. Instead we use the same behaviour as prometheus and use the endpoint port of the annotation is missing.

Note: we still won't proxy to zoekt-indexserver. This would require us to watch the pods as well, since we don't have any services setup for zoekt-indexserver.

Alternatively we can just add the annotation to indexed-search :)

Merge request reports

Loading