4 name: {{ template "kong.fullname" . }}-default-custom-server-blocks
6 app: {{ template "kong.name" . }}
7 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
8 release: "{{ .Release.Name }}"
9 heritage: "{{ .Release.Service }}"
12 # Prometheus metrics server
14 server_name kong_prometheus_exporter;
15 listen 0.0.0.0:9542; # can be any other port as well
18 default_type text/plain;
19 content_by_lua_block {
20 local prometheus = require "kong.plugins.prometheus.exporter"
24 location /nginx_status {