You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Ilya Kazakov <ka...@gmail.com> on 2020/10/20 05:39:29 UTC

Add lastCheckpointStarted metric

Hello, the community!

Sometimes one needs to understand how long ago did the last checkpoint
start or end, how long was it, etc. There is lastCheckpointDuration already
- let’s add lastCheckpointStarted timestamp. From these two metrics, the
user can also figure out started + duration = ended and now - ended = time
without cp.

I have already created the issue:
https://issues.apache.org/jira/browse/IGNITE-13591

I suppose add and implement in DataStorageMetrics interface:

public long getLastCheckpointStarted();

----------------------
Ilya Kazakov

Re: Add lastCheckpointStarted metric

Posted by Ilya Kazakov <ka...@gmail.com>.
Hi, Andrey!

Thanks, for your help! I will apply it right now.

------------------------------
Ilya Kazakov

пт, 30 окт. 2020 г. в 03:47, Andrey Gura <ag...@apache.org>:

> Hi, Ilya.
>
> I've left a comment to the JIRA issue. Please, look at it.
>
> On Tue, Oct 20, 2020 at 8:39 AM Ilya Kazakov <ka...@gmail.com>
> wrote:
> >
> > Hello, the community!
> >
> > Sometimes one needs to understand how long ago did the last checkpoint
> > start or end, how long was it, etc. There is lastCheckpointDuration
> already
> > - let’s add lastCheckpointStarted timestamp. From these two metrics, the
> > user can also figure out started + duration = ended and now - ended =
> time
> > without cp.
> >
> > I have already created the issue:
> > https://issues.apache.org/jira/browse/IGNITE-13591
> >
> > I suppose add and implement in DataStorageMetrics interface:
> >
> > public long getLastCheckpointStarted();
> >
> > ----------------------
> > Ilya Kazakov
>

Re: Add lastCheckpointStarted metric

Posted by Andrey Gura <ag...@apache.org>.
Hi, Ilya.

I've left a comment to the JIRA issue. Please, look at it.

On Tue, Oct 20, 2020 at 8:39 AM Ilya Kazakov <ka...@gmail.com> wrote:
>
> Hello, the community!
>
> Sometimes one needs to understand how long ago did the last checkpoint
> start or end, how long was it, etc. There is lastCheckpointDuration already
> - let’s add lastCheckpointStarted timestamp. From these two metrics, the
> user can also figure out started + duration = ended and now - ended = time
> without cp.
>
> I have already created the issue:
> https://issues.apache.org/jira/browse/IGNITE-13591
>
> I suppose add and implement in DataStorageMetrics interface:
>
> public long getLastCheckpointStarted();
>
> ----------------------
> Ilya Kazakov