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

Selectable / configurable timewindow for Linkerd dashboard #3520

Open
jamesmmchugh opened this issue Oct 3, 2019 · 1 comment
Open

Selectable / configurable timewindow for Linkerd dashboard #3520

jamesmmchugh opened this issue Oct 3, 2019 · 1 comment

Comments

@jamesmmchugh
Copy link

jamesmmchugh commented Oct 3, 2019

Feature Request

What problem are you trying to solve?

The linkerd dashboard shows near real-time data for most aggregated views (i.e. RPS, errors etc.). Some of this is also accessible as time series views via Granfana views, but other views such as dependency graphs etc. can not be configured to display the behaviour over a particular time window.

On some environments that don't see consistent load (i.e. pre production) this means that certain views don't always show interesting/insightful info because the default time window is too short or not configurable.

Ideally it would be great if there was a way via the dashboard to either select a "last X" window that all metrics/views are aggregated under (i.e. last 10 mins, last 1 hour, etc.), or even better a way to set a defined time window (i.e. between 1pm - 2pm) also.

This would be particuarily useful for cases such as:

  • Examining behaviour during performance/load tests, where you only want to consider a defined time window.
  • Instances where you have changed dependencies between services and you want to be able to compare dependency graphs (and other metrics) before and after the change was rolled out.
  • In situations where you know activity is likely to deviate from the norm at a defined time (i.e. new content/feature release) and you want to observe behaviour at/from that point.

How should the problem be solved?

Ideally; a menu added to the dashboard, that lets you select a time window for data aggregation (similar to what Granfana exposes). Supporting multiple types of time window i.e. last X, from X, between X and Y, ... and options for refresh frequency (only applies to "last X" and "from X").

Any alternatives you've considered?

N/A

How would users interact with this feature?

  • User opens dashboard
  • Default view is (near) real-time, for example last 1 minute with an auto refresh frequency of 10 seconds (or whatever linkerd dashboard currently does).
  • User can select from a set of menus (similar to Grafana) an alternative time window to view aggregated metrics between, and an alternative update freqeuency (for relevant time windows).
@grampelberg grampelberg added this to To do in Help Wanted via automation Oct 3, 2019
@grampelberg
Copy link
Contributor

This would be great. There would need to be some kind of integration with prometheus to understand how far back the window can actually be set (as only 6 hours of data are currently preserved).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Help Wanted
  
To do
Development

No branches or pull requests

2 participants