Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect only ServiceMonitors managed by given ScyllaDBMonitoring #1717

Merged

Conversation

zimnx
Copy link
Collaborator

@zimnx zimnx commented Feb 7, 2024

Prometheus object had empty serviceMonitorSelector which matched every ServiceMonitor within the same namespace.
This sets serviceMonitorSelector to match only ServiceMonitor's that are managed by the same ScyllaDBMonitoring.

Fixes #1716

/cc tnozicka

Prometheus object had empty serviceMonitorSelector which matched every
ServiceMonitor within the same namespace.
This sets serviceMonitorSelector to match only ServiceMonitor's that are
managed by the same ScyllaDBMonitoring.
@zimnx zimnx added kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Feb 7, 2024
@scylla-operator-bot scylla-operator-bot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 7, 2024
@scylla-operator-bot scylla-operator-bot bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 7, 2024
@zimnx
Copy link
Collaborator Author

zimnx commented Feb 7, 2024

Flake - #1718
/retest

Copy link
Member

@tnozicka tnozicka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm
thanks!

@scylla-operator-bot scylla-operator-bot bot added the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2024
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tnozicka, zimnx

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zimnx
Copy link
Collaborator Author

zimnx commented Feb 13, 2024

Flake - #1426 (comment)
/retest

@scylla-operator-bot scylla-operator-bot bot merged commit 712b6ec into scylladb:master Feb 13, 2024
12 checks passed
@zimnx zimnx deleted the mz/service-monitor-selector branch February 13, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ScyllaDBMonitoring Prometheus collects all ServiceMonitors from the same namespace
2 participants