Skip to content

Monitoring guide

OpenShift monitoring for application teams

OpenShift ships with cluster monitoring for the platform. Application teams still need their own view: workloads, routes from outside, and traces of their services.

3 min read11 sectionsUpdated

On this page

Key points

  • Platform monitoring covers the cluster; your apps need app-level telemetry.
  • Pods against limits and restarts are the workload basics.
  • Routes should be checked from outside the cluster.
  • The OpenTelemetry Operator deploys Collectors and auto-instrumentation.

Quick checks

bash
oc get pods -n shop -o wide
oc adm top pods -n shop
oc get events -n shop --sort-by=.lastTimestamp | tail -n 20
oc get routes -n shop

What application teams should watch

  • Pod CPU and memory against limits, restarts and OOM kills, per deployment; see OOMKilled.
  • Route availability and latency from outside, because the router, DNS and certificates can fail while pods are fine.
  • Request rate, errors and latency per service from traces.
  • Deployment rollouts: available vs desired replicas after each release.

OpenTelemetry on OpenShift

The Red Hat build of OpenTelemetry (based on the OpenTelemetry Operator) lets you deploy Collectors as custom resources and inject auto-instrumentation into pods with an annotation. Point the Collector's exporter at VitalRix (OTLP over HTTP and your API key), and your services appear in APM with no code changes for supported languages.

OpenShift monitoring with VitalRix

Send host and pod metrics with the VitalRix agent or a Collector to infrastructure monitoring, traces to APM, and check routes with uptime monitoring. For clusters that must stay inside your network, VitalRix itself can run on-premises with Kubernetes and Helm.

Checking routes properly

An OpenShift route can fail in ways pods never see: a certificate expires on the router, a DNS wildcard changes, a route points at the wrong service, or the router itself is overloaded. Add an HTTP check with a content assertion and SSL expiry warning for every public route, from outside the cluster and from several regions.

Alerts to start with

  • Deployment available replicas below desired for 10 minutes.
  • Pod restarts increasing, or any OOMKilled container.
  • Pod memory above 90% of its limit for 5 minutes.
  • Route uptime check failing from two or more regions.
  • Service p95 latency or error rate above target from traces.

Logs on OpenShift

Container logs disappear with pods. Ship them with the cluster logging stack or an OpenTelemetry Collector to a log backend, keep the trace ID in each line, and set retention by namespace.

Frequently asked questions

Can I use the built-in Prometheus for my apps?

OpenShift supports user workload monitoring for application metrics. It does not give you traces, real-user data or uptime checks from outside, which is where a separate tool helps.

Do OpenShift security constraints affect agents?

Yes. Collectors and agents need appropriate security context constraints; the Operator-based install handles most of this.

  • SaaS monitoring: Monitoring for SaaS products: login and core workflows, API latency per route, SLOs and SLAs for enterprise contracts, on-call and a status page.
  • What is full-stack monitoring?: Full-stack monitoring explained: covering browser, network, application, database and infrastructure, linked so one alert leads to the cause.
  • What is observability?: Observability explained in plain words: what it means, how logs, metrics and traces fit together, how it differs from monitoring and how to start.
  • DevOps monitoring: Monitoring for DevOps teams: deploy markers and release comparisons, SLOs and error budgets, and alerts routed to the owning team.
  • Monitoring vs observability: Monitoring vs observability: what each one answers, how they work together, examples of both, and a practical plan to get the benefits of each.
  • Enterprise monitoring: What enterprise monitoring needs beyond dashboards: SSO and SCIM, custom roles, audit logs, usage caps, SLAs for customers and on-premises options.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.