Skip to content

[BUGFIX] pyroscope: fix timerange#725

Merged
Gladorme merged 3 commits into
perses:mainfrom
Gladorme:fix/pyroscope
Jul 15, 2026
Merged

[BUGFIX] pyroscope: fix timerange#725
Gladorme merged 3 commits into
perses:mainfrom
Gladorme:fix/pyroscope

Conversation

@Gladorme

@Gladorme Gladorme commented Jul 9, 2026

Copy link
Copy Markdown
Member

Description

Fix pyroscope timerange query params: https://github.com/grafana/pyroscope/blob/254c6885170b4ac35d3c8933ffdbfd2f955fade2/api/types/v1/types.proto#L64

Improving the display on the way too. When changing datasource, input options were not updated, because client is "enabled", but on old spec so the query is executed but with wrong data. That why I put client as useQuery key instead of datasource selector. I would prefer to use datasource name as key, but it may need more work.

Screenshots

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

@Gladorme Gladorme requested a review from a team as a code owner July 9, 2026 08:37
@Gladorme Gladorme requested review from jgbernalp and removed request for a team July 9, 2026 08:37
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
@Gladorme Gladorme force-pushed the fix/pyroscope branch 2 times, most recently from 1770d59 to 941c14f Compare July 9, 2026 10:26
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
Comment thread pyroscope/src/utils/use-query.ts Outdated
Comment thread pyroscope/src/components/Service.tsx Outdated
Comment thread pyroscope/src/model/profile-query-model.ts
Comment thread pyroscope/src/utils/use-query.ts
Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com>
@Gladorme Gladorme requested a review from AntoineThebaud as a code owner July 15, 2026 12:47
@Gladorme Gladorme added this pull request to the merge queue Jul 15, 2026
Merged via the queue into perses:main with commit 5500cca Jul 15, 2026
16 checks passed
@Gladorme Gladorme deleted the fix/pyroscope branch July 15, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants