Grafana - get metric to start from 1 and not 0

Hello one question, is there a way to make your metric to start from 1 and not 0 in grafana?

Set the Y-min value in the axes section

But the line will go up from there and I wanted to go down

I mean I want that my metrics start from 1 in the dashboard and from there start to go down not up.

Do you have some doc for that?

You want to make them negative?

If that can make the metrics goes down then yeah

I don’t know what exactly you mean with “Go down” :stuck_out_tongue:

Ahaha it’s hard to explain let me draw something

But making values negative depends on your datasource…

Like that I mean 1 is the start right so if something is wrong it will go down but when is ok it will stay in 1.

Have you seen the apdex of New Relic?

Okay, and what data do you have now?

This is an apdex formula

How is your data now looking like?

Oh, you just want this formula: new = 1 - old

Yeah start from 1 instead of 0 and from there goes down not up.

Do you know how can I do it?

You just need to make that formula I gave in the language of apdex :wink: