20 lines
678 B
YAML
20 lines
678 B
YAML
# Cluster-wide Kong Prometheus plugin -- `global: "true"` label makes the
|
|
# ingress controller apply it to every route on this Kong instance, so all
|
|
# five LLM routes (ornith/reasoning/qwen/embeddings/rerank) get RED metrics
|
|
# without touching llm-routes.yaml. Scraped via kong-values.yaml's
|
|
# serviceMonitor (status listener, already on by chart default at :8100).
|
|
apiVersion: configuration.konghq.com/v1
|
|
kind: KongClusterPlugin
|
|
metadata:
|
|
name: prometheus
|
|
annotations:
|
|
kubernetes.io/ingress.class: kong
|
|
labels:
|
|
global: "true"
|
|
plugin: prometheus
|
|
config:
|
|
status_code_metrics: true
|
|
latency_metrics: true
|
|
bandwidth_metrics: true
|
|
upstream_health_metrics: true
|