hashicorp / hashicorp/consul

Topology metrics view has graph window that's dynamic but metrics along bottom are always averaged over 15m

Open
#10,662 5 comments 0 reactions 0 assignees View on GitHub
theme/ui type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

**Old UI or New UI**
New UI (Consul 1.10.1)

**Describe the problem you're having**
![image](https://user-images.githubusercontent.com/1034429/126435591-93f91638-0f62-458c-950c-c43e0f3e9aca.png)

The topology UI has a window of ~5m~ (**edit: after further investigation–see below–it's actually dynamic**) for the graph but the metrics along the bottom are averaged over 15m. This can be somewhat confusing. In my screenshot above, I've had a solid 1 RPS for the last 5 minutes but the RPS metric on the bottom is 0.29 RPS since it's only been 1 RPS for the last 5m, not the full 15m.

**Describe the solution you'd like**
I think it would make sense for the time ranges to match. I'm not sure which is best between 5m or 15m, I think it more just matters that it's consistent.

Contributor guide

Open the contributing guide

Research direction

Start in the Consul topology UI by reproducing the mismatch between the graph window and the bottom metrics, then trace how each time range is selected. Confirm the intended range with maintainers and verify that the graph and metrics display values over the same window.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.