<p>I have a running instance of pushgateway and prometheus. And prometheus is configured to scrape from pushgateway. I am able to push metrics from my .NET applications to pushgateway which are successfully scraped by my prometheus. But when a two similar metrics are pushed to pushgateway, they are considered as one by the prometheus and the count is always displayed as one. Is there a way to increment the prometheus count value when similar metrics are present in the pushgateway.</p>

<p>Pushgateway is not designed to handle this situation. As the official doc said, <code>Usually, the only valid use case for the Pushgateway is for capturing the outcome of a service-level batch job.</code></p>
<p><a href="https://prometheus.io/docs/practices/pushing/#should-i-be-using-the-pushgateway" rel="nofollow noreferrer">https://prometheus.io/docs/practices/pushing/#should-i-be-using-the-pushgateway</a></p>
<p>Or you can use this instead, which is a aggregating push gateway for Prometheus: <a href="https://github.com/weaveworks/prom-aggregation-gateway" rel="nofollow noreferrer">https://github.com/weaveworks/prom-aggregation-gateway</a></p>
