# Showing Service status -\> Values shows trend instead of last value

**URL:** <https://community.grafana.com/t/showing-service-status-values-shows-trend-instead-of-last-value/8263>\
**Category:** Stat Panel\
**Created:** [June 24, 2018, 8:22pm UTC](https://community.grafana.com/t/showing-service-status-values-shows-trend-instead-of-last-value/8263 "2018-06-24T20:22:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzanten](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jzanten](https://community.grafana.com/u/jzanten)\
**Post date:** [June 24, 2018, 8:22pm UTC](https://community.grafana.com/t/showing-service-status-values-shows-trend-instead-of-last-value/8263/1 "2018-06-24T20:22:43Z")

</div>

Hi,

We monitor our Services with Zabbix; Through the API we read the services states, which can be 0 to 6.  
When a Service goes down, in Zabbix I see the value 6 instantly. I expect this to be the “last/current value” used in Grafana.

However: If I check the values shown, it slowly rises to 6, and when we startup the service again, the value slowly goes down to 0. This is unwanted.

In Grafana we set Query “Metrics” , Stat “last value” , and Metrics-\>Options-\>Max datapoints to “1”.

What is the proper setting to show the exact “last/current” value so it shows 0,1, 6 etc ? And not slowly rising to 6 when a service dies?

---

<div class="post-metadata">

**Author:** ![jzanten](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jzanten](https://community.grafana.com/u/jzanten)\
**Post date:** [June 27, 2018, 8:19pm UTC](https://community.grafana.com/t/showing-service-status-values-shows-trend-instead-of-last-value/8263/2 "2018-06-27T20:19:34Z")

</div>

Seriously no one? Is this only a user forum without any developers giving advice?
