From 374d3a265f280ed6cd87b1ff0c633996aaefdf1a Mon Sep 17 00:00:00 2001 From: Pete Wall Date: Wed, 8 Jan 2025 12:59:35 -0600 Subject: [PATCH] Change ksm to discover by endpoints Signed-off-by: Pete Wall --- modules/kubernetes/kube-state-metrics/metrics.alloy | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/kubernetes/kube-state-metrics/metrics.alloy b/modules/kubernetes/kube-state-metrics/metrics.alloy index 9976ac3..487e296 100644 --- a/modules/kubernetes/kube-state-metrics/metrics.alloy +++ b/modules/kubernetes/kube-state-metrics/metrics.alloy @@ -106,11 +106,6 @@ declare "scrape" { optional = true } - argument "scheme" { - comment = "The URL scheme with which to fetch metrics from targets. (default: http)" - optional = true - } - argument "max_cache_size" { comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate." optional = true @@ -129,7 +124,6 @@ declare "scrape" { targets = argument.targets.value scrape_interval = coalesce(argument.scrape_interval.value, "60s") scrape_timeout = coalesce(argument.scrape_timeout.value, "10s") - scheme = coalesce(argument.scheme.value, "http") clustering { enabled = coalesce(argument.clustering.value, false)