Skip to content

Commit

Permalink
Change ksm to discover by endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <[email protected]>
  • Loading branch information
petewall committed Jan 8, 2025
1 parent 6228005 commit 374d3a2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/kubernetes/kube-state-metrics/metrics.alloy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 374d3a2

Please sign in to comment.