<p>I was looking into Kubernetes Heapster and Metrics-server for getting metrics from the running pods. But the issue is, I need some custom metrics which might vary from pod to pod, and apparently Heapster only provides cpu and memory related metrics. Is there any tool already out there, which would provide me the functionality I want, or do I need to build one from scratch?</p>

<p>Not sure if this is still open.<br>
I would classify metrics into 3 types.<br>
<strong>Events or Logs</strong> - System and Applications events which are sent to logs. These are non-deterministic.</p>

<p><strong>Metrics</strong> - CPU and Memory utilization on the node the app is hosted.  This is deterministic and are collected periodically.</p>

<p><strong>APM</strong> - Applicaton Performance Monitoring metrics - these are application level metrics like requests received vs failed vs responded etc.</p>

<p>Not all the platforms do everything.  ELK for instance does both the Metrics and Log Monitoring and does not do APM. Some of these tools have plugins into collect daemons which collect perfmon metrics of the node.</p>

<p>APM is a completely different area as it requires developer tool to provider metrics as Springboot does Actuator, Nodejs does AppMetrics etc.  This carries the request level data.  Statsd is an open source library which application can consume to provide APM metrics too Statsd agents installed in the node.  </p>

<p>AWS offers CloudWatch agents for log shipping and sink and Xray for distributed tracing which can be used for APM.</p>
