<p>I have a bunch of containers/micro services which are deployed on a Shared Kubernetes cluster. Since it is shared, we dont have much say of deploying components in the control plan which is shared amongst other applications. Could you share inputs on any side car solutions or components, which are opensource and not having a commercial usage license, which i can utilise to generate various insights on the API traffic within my namespace (No of API's called, by API, latency, request/response time, errors) preferably with some Visualisations.</p>
<p>Most solutions I come across are generally needing deployments into the control plane.</p>

Santosh Rao
<p>The best open source monitoring stack for Kubernetes is the one based on Prometheus (for metrics collection and storage) and Grafana for dashboards and visualisations.</p>
<p><a href="https://phoenixnap.com/kb/prometheus-kubernetes-monitoring" rel="nofollow noreferrer">Here</a> is an article which describes how it works, there are plenty of them on the web.</p>
<p>In a nutshell, this is how it works:</p>
<ul>
<li>Prometheus and Grafana are independent deployments in your cluster (potentially in a dedicated <code>-infra</code> namespace), configured via ConfigMaps.</li>
<li>Prometheus needs to be configured to scrape metrics from the pods on the application's namespace</li>
<li>The application needs to expose metrics on a specific HTTP port, and path, e.g.<code>/metrics</code></li>
<li>Grafana is by default connected to Prometheus, so no other config has to be done on that side (maybe just double check the datasource config)</li>
</ul>
