<p>For the general case, I'm wondering if there's a good reason - one way or the other - for running Prometheus exporters as their own Deployments vs. running as a sidecar container in the Pod.</p>

<p>As a concrete example, say I want to monitor an nginx application and plan to use the <a href="https://github.com/nginxinc/nginx-prometheus-exporter" rel="nofollow noreferrer">nginx Prometheus exporter</a>. Should I:</p>

<p>A: Set up a new deployment with a single container running the nginx exporter, then provide ingress with a service.</p>

<p>B: Add an additional container to the nginx application Pod running the Prometheus exporter.</p>

Bobby
<p>Use exporter as a sidecar container in the main pod. We follow this approach to scrape metrics from web based Java applications </p>
