grafana / grafana/pyroscope

Refresh Series when time range changes

Open
#2,515 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

Currently when you change time range in pyroscope it does not update Service and Profile Type. You have to manually click "refresh" button.

![Screenshot 2023-10-10 at 4 08 05 PM](https://github.com/grafana/pyroscope/assets/662636/888d86e1-31cc-4471-b05d-4118c03f1fd6)

This used to make sense because the results of the /Series call would be the same regardless of time range selected. Recently, however, we started including start and end time in /Series call, so every time you change time range the results in /Series will be different. So I think now it makes more sense to automatically update Service and Profile Type when a user changes time range.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the time-range control triggers the /Series request and updates Service and Profile Type. Verify the behavior with a changed time range; done means both selectors refresh automatically without requiring the manual refresh button.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
frontend, observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.