Dan Mace e5b6f81ff0 Enable monitoring to scrape across namespaces %!s(int64=6) %!d(string=hai) anos
..
defaults 4c9336cbfe Make prometheus use persistent storage by default %!s(int64=6) %!d(string=hai) anos
files 4c9336cbfe Make prometheus use persistent storage by default %!s(int64=6) %!d(string=hai) anos
meta f2071c75d0 Add an ansible role to install OpenShift monitoring platform %!s(int64=7) %!d(string=hai) anos
tasks e5b6f81ff0 Enable monitoring to scrape across namespaces %!s(int64=6) %!d(string=hai) anos
OWNERS 1a656ce0b2 Add OWNERS files %!s(int64=7) %!d(string=hai) anos
README.md f966f7482e Add Alertmanager configuration %!s(int64=7) %!d(string=hai) anos

README.md

OpenShift Cluster Monitoring Operator

This role installs the OpenShift Cluster Monitoring Operator, which manages and updates the Prometheus-based monitoring stack deployed on top of OpenShift.

NOTE: This component is unsupported in OCP at this time.

Installation

To install the monitoring operator, set this variable:

openshift_cluster_monitoring_operator_install: true

To uninstall, set:

openshift_cluster_monitoring_operator_install: false

Configuring Alertmanager

The Monitoring Operator comes with a default no-op Alertmanager configuration. To supply a new configuration, set:

openshift_cluster_monitoring_operator_alertmanager_config: |+
  global:
    # ...
  route:
    # ...
  receivers:
    # ...

The value of the variable should be a complete Alertmanager configuration file.

Monitoring new components

To integrate a new OpenShift component with monitoring, follow the Cluster Monitoring Operator docs for contributing new components.

License

Apache License, Version 2.0