I want to have a graph for “logins per day”.

When I just use `sum(api_logins)`

I am getting a graph like this:

This is a prometheus counter. It should be monotonically increasing. Now there might be restarts (where it goes back to zero). I haven’t overlaid the data - but I assume that’s what caused the set backs.

The question is - how do I get the graph without the drops?

I thought a combination of `sum`

and `increase`

would do it - but I couldn’t quite get that to work.

```
increase(sum(api_logins))
```

Thanks for the help.