How do you access OpenShift’s logging and metrics for your application?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

How do you access OpenShift’s logging and metrics for your application?

Explanation:
OpenShift includes built‑in tooling for both logging and metrics, integrated into the platform rather than requiring entirely separate external solutions. For logs, you can view individual pod logs with the oc logs command, and if cluster logging is enabled, logs are collected by the logging stack (Fluentd/Elasticsearch/Kibana) and can be browsed in Kibana or via the OpenShift Console’s logging view. For metrics, OpenShift uses a Prometheus-based monitoring stack that is accessible from the OpenShift Console under Monitoring, with dashboards and metrics that you can query directly or through Grafana if it’s installed. This built‑in integration means you don’t have to rely on separate tools to access basic log and metric data—though external integrations are possible if you need something outside the default setup.

OpenShift includes built‑in tooling for both logging and metrics, integrated into the platform rather than requiring entirely separate external solutions. For logs, you can view individual pod logs with the oc logs command, and if cluster logging is enabled, logs are collected by the logging stack (Fluentd/Elasticsearch/Kibana) and can be browsed in Kibana or via the OpenShift Console’s logging view. For metrics, OpenShift uses a Prometheus-based monitoring stack that is accessible from the OpenShift Console under Monitoring, with dashboards and metrics that you can query directly or through Grafana if it’s installed. This built‑in integration means you don’t have to rely on separate tools to access basic log and metric data—though external integrations are possible if you need something outside the default setup.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy