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

[feature] auto-update for graphs in prometheus's web interface #1817

Open
alex opened this Issue Jul 18, 2016 · 16 comments

Comments

Projects
None yet
9 participants
@alex
Copy link

alex commented Jul 18, 2016

Right now graphs in the built-in web interface are rendered once, at a particular point in time. It'd be great if the graphs had a feature to allow themselves to auto-update; say, by refreshing once every 30 or 60 seconds.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jul 18, 2016

This is already supported in console templates, look at the widget in the lower right corner.

@alex

This comment has been minimized.

Copy link
Author

alex commented Jul 18, 2016

Is this on master, but not in a release by chance?

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jul 18, 2016

This has been there for over a year.

@alex

This comment has been minimized.

Copy link
Author

alex commented Jul 18, 2016

Then I am confused; I don't see any widgets in the lower-right hand corner of the console tab.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jul 18, 2016

You're looking at the expression browser then, which doesn't have such a feature.

Keep in mind the expression browser is intended for ad-hoc usage.

@alex

This comment has been minimized.

Copy link
Author

alex commented Jul 18, 2016

Yes indeed, however even in local dev being able to quickly glance at a
graph without needing to refresh can be very handy.

On Mon, Jul 18, 2016 at 9:36 AM, Brian Brazil notifications@github.com
wrote:

You're looking at the expression browser then, which doesn't have such a
feature.

Keep in mind the expression browser is intended for ad-hoc usage.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1817 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAADBJ8tbmCLCtAKxHMfND6-Cd6q1f6aks5qW4FpgaJpZM4JOtKN
.

"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jul 18, 2016

Grafana can do quick dashboards like that, and has auto-reloading.

@gklepach

This comment has been minimized.

Copy link

gklepach commented Mar 9, 2017

Hi, did you fix problem this auto update prom_right_table_head?

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Mar 9, 2017

No, the expression browser still has no auto refresh. Ironically, in the first years of Prometheus, it did have auto refresh, but then someone decided that it wasn't important enough when porting some code and wanting to keep the built-in UI minimal. Not sure if we'd want to add it back, I don't have a strong opinion on it.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 9, 2017

Considering Grafana is the tool of choice, should we close this off as wont fix?

@gklepach

This comment has been minimized.

Copy link

gklepach commented Mar 14, 2017

Grafana, is separately project with mysql/sqllite backend and additional load to node, vm, server. Prometheus console small, light and suitable, and i use it in my project. Can you fix it?

@gklepach

This comment has been minimized.

Copy link

gklepach commented Apr 4, 2017

@brian-brazil , any news?

@psyelephant

This comment has been minimized.

Copy link

psyelephant commented Jun 30, 2017

Hello everyone!

Any updates? Maybe somebody can share some workaround?
I have tried to update whole page. But It looks not pretty well.

Thanks!

@yamatoya

This comment has been minimized.

Copy link
Contributor

yamatoya commented Oct 17, 2017

@brian-brazil May I help you? or not do?

@grobie

This comment has been minimized.

Copy link
Member

grobie commented Oct 17, 2017

I have the feeling all such features would be better suited for a UI rewrite than to keep adding to the existing code base.

@gdcrocx

This comment has been minimized.

Copy link

gdcrocx commented Feb 1, 2019

Simply adding a meta tag to the html page should bring in an auto-refresh feature.

<meta http-equiv="Refresh" content="60" /> # 60 seconds global auto-refresh time

Adding an attribute to the config file and using it to populate the field while rendering the html.

auto_refresh_time: 60

This would be the initial setup. I can write the code for UI if this proposal works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.