Skip to content

[Misc] Operator: ServiceMonitor capability checks enhanced - #568

Open
Pavan-SAP wants to merge 2 commits into
mainfrom
monitoringOptimization
Open

Pavan-SAP wants to merge 2 commits into
mainfrom
monitoringOptimization

Conversation

@Pavan-SAP

Copy link
Copy Markdown
Member

Cache and check ServiceMonitor capability only when needed. The hits are handled as follows: Positive - check once a day.
Negative - next check will be only be done after 10 mins (if reconciled).

Also did a minor enhancement to skip check when no scrape config exists (this was not present before).

@Pavan-SAP Pavan-SAP added the build-pr-images Set this label on PRs to build docker images for changes label Nov 9, 2026
@Pavan-SAP
Pavan-SAP deployed to cap-op-internal November 9, 2026 16:35 — with GitHub Actions Active
@Pavan-SAP
Pavan-SAP deployed to cap-op-internal November 9, 2026 16:35 — with GitHub Actions Active
@Pavan-SAP
Pavan-SAP deployed to cap-op-internal November 9, 2026 16:35 — with GitHub Actions Active
Cache and check ServiceMonitor capability only when needed. The hits are handled as follows:
Positive - check once a day.
Negative - next check will be only be done after 10 mins (if reconciled).

Also did a minor enhancement to skip check when no scrape config exists (this was not present before).
@sonarqubecloud

Copy link
Copy Markdown

This branch was successfully deployed

2 active (1 outdated) deployments
build — 272b5431 Deployed Nov 10, 2026 by Pavan-SAP via Analyze with Sonar Cloud #1801
cap-op-internal — f7c95ee0 Deployed Nov 9, 2026 by Pavan-SAP via build-on-label (controller) #236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-pr-images Set this label on PRs to build docker images for changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant