Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: are too far apart with stepSize of 1 minute #8067

Open
Dunge opened this issue Jul 3, 2024 · 1 comment
Open

Error: are too far apart with stepSize of 1 minute #8067

Dunge opened this issue Jul 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Dunge
Copy link

Dunge commented Jul 3, 2024

Describe the bug
Getting an error stack randomly since a few days

To Reproduce
Click on a statefulset or node view

Environment:
Windows
2024.5.271333-latest

Logs:

Component stack:


    at LensChart (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:621281:17)
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
    at div
    at div
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
    at div
    at NonInjectedMetricsWrapper (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:105444:36)
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
    at Component16
    at div
    at div
    at div
    at NonInjectedAnimate (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:568751:34)
    at NonInjectedDrawer (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:631873:25)
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
    at ObserverComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268104:23)
    at NonInjectedErrorBoundary (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:633171:32)
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
    at ObserverComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268104:23)
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
    at NonInjectedKeyboardShortcutListener (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:637940:3)
    at ThemeProvider (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:133241:24)
    at https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:585343:18
    at Router (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:500217:30)
    at https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:585343:18
    at observerComponent (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:268056:16)
Error stack:

Error: 1698801866000 and 1720040515000 are too far apart with stepSize of 1 minute
    at TimeScale._generate (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:670533:19)
    at TimeScale.buildTicks (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:670467:92)
    at TimeScale.update (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:663215:27)
    at fitBoxes (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:662341:13)
    at Object.update (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:662471:13)
    at Chart._updateLayout (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:665293:17)
    at Chart.update (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:665224:14)
    at new Chart (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:664984:18)
    at LensChart.renderChart (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:621389:20)
    at LensChart.componentDidMount (https://49996e8a7a3a89b1dd29d46bf98c992a.lens.app:55428/build/lens.js?05186eb8617cb65d0df7:621291:12)
@Dunge Dunge added the bug Something isn't working label Jul 3, 2024
@panuhorsmalahti
Copy link
Contributor

It seems there is some metrics data that spans from Nov 1, 2023 to Jul 4, 2024, and this is too long with the default step size. Any idea why there would be so much data?

I wonder if there is event that happened in Nov 1, as we also show events in the chart.

That said, Lens should handle even this data properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants