From 77d76bf1092f47afe778812a003799891ec81e87 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 14 Mar 2024 14:15:57 +0000 Subject: [PATCH] docs(prometheus): remove deprecated metricName from examples in v2.13 Signed-off-by: Nick Badger --- content/docs/2.13/scalers/prometheus.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/docs/2.13/scalers/prometheus.md b/content/docs/2.13/scalers/prometheus.md index bf03015b2..889524132 100644 --- a/content/docs/2.13/scalers/prometheus.md +++ b/content/docs/2.13/scalers/prometheus.md @@ -389,7 +389,6 @@ spec: - type: prometheus metadata: serverAddress: http://:9090 - metricName: http_requests_total threshold: '100' query: sum(rate(http_requests_total{deployment="my-deployment"}[2m])) authModes: "custom" @@ -424,7 +423,6 @@ spec: - type: prometheus metadata: serverAddress: https://test-azure-monitor-workspace-name-9ksc.eastus.prometheus.monitor.azure.com - metricName: http_requests_total query: sum(rate(http_requests_total{deployment="my-deployment"}[2m])) # Note: query must return a vector/scalar single element response threshold: '100.50' activationThreshold: '5.5'