Changing Lens metrics time period

10/26/2021

We are using Lens for developing on Kubernetes and we have started using Lens Metrics Stack. Is there a way to change time period of visualization? It is set to -60m by default and so far we could not find any way to change that.

-- Rafal Kural
kubernetes

1 Answer

10/26/2021

Yes, you are right. 60 minutes is the default, according to the information from lensapp/lens GitHub repository:

time-range in seconds for data aggregation (default: 3600s = last 1h)

and there is no way to change this default value directly from the lens app.

I found a mention for an improvement of that behavior:

Metrics history beyond 1h #428

But at the moment it is still in Open status.

-- Andrew Skorkin
Source: StackOverflow