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

Frontend stuttering after upgrade to 0.10.0 #2010

Closed
ghost opened this issue Jan 20, 2020 · 7 comments
Closed

Frontend stuttering after upgrade to 0.10.0 #2010

ghost opened this issue Jan 20, 2020 · 7 comments

Comments

@ghost
Copy link

ghost commented Jan 20, 2020

Thanos, Prometheus and Golang version used:

thanos, version 0.10.0 (branch: HEAD, revision: 698c7a9)
build user: circleci@07a502f4439b
build date: 20200113-14:49:31
go version: go1.13.1

Running current 0.10.0 docker image.
Running Prometheus 2.13.1

Object Storage Provider: GCS

What happened:
After upgrade to 0.10.0, we experience :
-freezes and stuttering in the frontend web UI when querying using Chrome
-same behavior in Firefox until the browser actually stops responding.

Querying from Grafana (backend) is working fine.

What you expected to happen:
The web UI to be snappy like when we were using it with 0.8.1.

How to reproduce it (as minimally and precisely as possible):
Upgrade to 0.10.0, run query in the web UI.

@bwplotka
Copy link
Member

Thanks, can you look on the F12 (console) on chrome? What is introducing the lag in Network tab?

@ghost
Copy link
Author

ghost commented Jan 21, 2020

I do see some "stalled" time for "graph_template.handlebar" >200ms in Chrome.
In Firefox I see the "favicon" in the "stalled" state >200ms as well.

The "stalled" values are <5ms in v0.8.1.

@FUSAKLA
Copy link
Member

FUSAKLA commented Jan 22, 2020

Hi, do you happen to have large number of metrics with distinct name?
This can cause issues with the JS when those are loaded for hinting for example.
You should see it in the browser network console as a request to /api/v1/label/__name__/values?_=1579659568096.

@ghost
Copy link
Author

ghost commented Jan 23, 2020

Hi
Here is what I have api/v1/label/__name__/values?_=1579786670892
Waiting: 672 ms, Receiving: 2.84 s
I would expect it would run this query just once.

@bwplotka
Copy link
Member

I believe it is a duplicate of #2011

@ghost
Copy link
Author

ghost commented Jan 27, 2020

I installed v0.10.1 it seems we experience similar performance as with v0.8.1.
All good then, thank you.

@bwplotka
Copy link
Member

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants