<p>I am creating a grafana dashboard to show metrices. 
Is there any keyword which i can use in my query to check my service is running or not.
I am using prometheus to retrive data from my api for the metrics creation.</p>

<p>You can create a query like so </p>

<pre><code>count_scalar(container_last_seen{name=&lt;container_name&gt;})
</code></pre>

<p>That will give you the count of how many containers are running with that name</p>
