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

make pull(push)time (refresh) configurable #5

Closed
itpp16 opened this issue Mar 9, 2015 · 2 comments
Closed

make pull(push)time (refresh) configurable #5

itpp16 opened this issue Mar 9, 2015 · 2 comments
Labels

Comments

@itpp16
Copy link

itpp16 commented Mar 9, 2015

Can you make the refresh time configurable? 1 - 5 seconds, mostly a refresh every 3 seconds is enough.
vhost_traffic_status_display_refresh 3

Maybe add configuration options for colors?
ea.
when value is higher then xx change text colors.
vhost_traffic_status_display_trigger_connections_waiting 1000 white on red
vhost_traffic_status_display_trigger_responses_5xx 500 white on red
(click on white text on red background to reset counter and color)
vhost_traffic_status_display_upstream_down white on red

@vozlt
Copy link
Owner

vozlt commented Mar 9, 2015

If you want to change interval, then you need only to modify vtsUpdateInterval and vtsStatusURI variables in share/status.template.html and then just load it.
My original purpose was to separate data and html so I have been separated accessing as format/json and format/html.
For that reason, Built-in html was lightly on purpose.
You can be modified or create a new html pretty good(e.g. graph) than built-in html.
If no one do that, I would do it when have time.
I don't know for sure when that will be. :)

@itpp16
Copy link
Author

itpp16 commented Mar 9, 2015

Aha! I missed that :) looks good enough to change that externally.

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

No branches or pull requests

2 participants