Skip to content

procedures: Update Prometheus monitoring procedures for automated ServiceMonitor management#3107

Closed
tolusha wants to merge 1 commit into
mainfrom
automated-prometheus-servicemonitor-management
Closed

procedures: Update Prometheus monitoring procedures for automated ServiceMonitor management#3107
tolusha wants to merge 1 commit into
mainfrom
automated-prometheus-servicemonitor-management

Conversation

@tolusha
Copy link
Copy Markdown
Contributor

@tolusha tolusha commented May 18, 2026

What does this pull request change?

This PR updates the Prometheus monitoring procedures to reflect that the che-operator now automatically manages ServiceMonitor resources and RBAC permissions. The changes simplify the monitoring setup process by removing manual resource creation steps.

Specific changes:

  • Updated proc_collecting-che-metrics-with-prometheus.adoc: Removed manual ServiceMonitor and RBAC creation steps for Che Server metrics
  • Updated proc_collecting-dev-workspace-operator-metrics-with-prometheus.adoc: Removed manual ServiceMonitor and RBAC creation steps for DevWorkspace Operator metrics
  • Both procedures now explain that the operator automatically creates these resources
  • Retained the namespace labeling requirement (openshift.io/cluster-monitoring=true) which is still a manual step

Source PR: eclipse-che/che-operator#2117

This operator PR introduces automatic management of:

  • ServiceMonitor for Che Server (che-host)
  • ServiceMonitor for DevWorkspace Operator (devworkspace-controller)
  • Role and RoleBinding granting prometheus-k8s service account permission to scrape metrics

What issues does this pull request fix or reference?

Specify the version of the product this pull request applies to

next

Pull Request checklist

The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.

  • Any procedure:
    • Successfully tested.
  • Any page or link rename:
    • The page contains a redirection for the previous URL.
    • Propagate the URL change in:
  • Builds on Eclipse Che hosted by Red Hat.
  • the Validate language on files added or modified step reports no vale warnings.

…viceMonitor management

The che-operator now automatically creates and manages ServiceMonitor resources and RBAC permissions for Prometheus metrics collection. Updated procedures to reflect this automation:

- Removed manual ServiceMonitor creation steps for Che Server
- Removed manual ServiceMonitor creation steps for DevWorkspace Operator
- Removed manual RBAC (Role and RoleBinding) creation steps
- Retained namespace labeling requirement for OpenShift monitoring stack
- Added notes explaining the automated resource management

Related to: eclipse-che/che-operator#2117

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

🎊 Navigate the preview: https://6a0acafa0d982429a8051e67--eclipse-che-docs-pr.netlify.app 🎊

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

Click here to review and test in web IDE: Contribute

@tolusha tolusha closed this May 18, 2026
@tolusha tolusha deleted the automated-prometheus-servicemonitor-management branch May 18, 2026 08:21
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.

2 participants