How to Monitor OpenShift Memory Usage?
search cancel

How to Monitor OpenShift Memory Usage?

book

Article ID: 204509

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

Is there a metric that more accurately reflects the memory usage by the pod in the Openshift environment?

Environment

Release : 10.7.0

Component : APM .NET Agents OpenShift 

Cause

Per Engineering, the GC Heap Bytes in Use metric is based on System.GC.GetTotalMemory(false) and GC Heap Total Bytes metric is based on   System.Diagnostics.Process.GetCurrentProcess().PrivateMemorySize64

These GC heap metrics can be used to track the heap usage of the monitored applications run on the PODs. 

Resolution

Per Engineering, monitoring memory usage by the pod and thread usage by the process, we may consider looking at the container performance metrics as part of the UMA docker monitoring and other process monitoring metrics instead of the GC Heap metrics and the thread pool metrics being used currently.