4 name: {{ template "kong.fullname" . }}-default-custom-server-blocks
6 {{- include "kong.metaLabels" . | nindent 4 }}
9 # Prometheus metrics and health-checking server
11 server_name kong_prometheus_exporter;
12 listen 0.0.0.0:9542; # can be any other port as well
15 default_type text/plain;
19 default_type text/plain;
20 content_by_lua_block {
21 local prometheus = require "kong.plugins.prometheus.exporter"
25 location /nginx_status {