Skip to content

Changed ServiceMonitor discovery mechanism to role selector - #223

Closed
mskwierczynski982 wants to merge 1 commit into
masterfrom
serviceMonitorRoleSelector
Closed

mskwierczynski982 wants to merge 1 commit into
masterfrom
serviceMonitorRoleSelector

Conversation

@mskwierczynski982

Copy link
Copy Markdown
Contributor

Description

This change should limit amount of jobs required by prometheus to discover services.
Before: Scan everything in namespace > drop anything that does not match query
After: Find services matching query by first calling K8s API

https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.SelectorMechanism

Chart

Select the chart that you are modifying:

  • core
  • dotnet-core
  • cron-job
  • job
  • app-reverse-proxy
  • pact-broker
  • ado-build-agents
  • ado-agent-cleaner
  • event-worker

Checklist

  • Description provided
  • Linked issue
  • Chart version bumped
  • README.md updated with any new values or changes
  • Updated template tests in ${CHART}/tests/*.py

@mskwierczynski982
mskwierczynski982 requested a review from a team as a code owner October 12, 2026 08:02
@mskwierczynski982
mskwierczynski982 deleted the serviceMonitorRoleSelector branch October 13, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant