grafana / grafana/pyroscope

unable to resolve application in url query string

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

Description

#### Describe the bug
When given application in URL query string, page navigates to default application instead of specified.

#### To Reproduce
URL: http://pyroscope001.spd.fog.taboolasyndication.com:4040/?query=process_cpu%3Acpu%3Ananoseconds%3Acpu%3Ananoseconds%7Bservice_name%3D%22trc80252.ch.taboolasyndication.com.alloc.itimer%22%7D&from=1702376514189&until=1702377764338.

Given above URL, page navigates to default application instead of specified and results in URL of:
http://pyroscope001.spd.fog.taboolasyndication.com:4040/?query=process_cpu%3Acpu%3Ananoseconds%3Acpu%3Ananoseconds%7Bservice_name%3D%22DEX-origin131%22%7D&from=1702376514189&until=1702377764338

Manual workaround is to refresh applications and click browser _Back_, resulting in intended application selected.
Screenshot 2023-12-13 at 08 45 55

#### Expected behavior
Page can resolve application in URL query string successfully and select specified application.

#### Environment
```
pyroscope, version 1.2.0 (branch: HEAD, revision: 67c47fd41)
build user:
build date: 2023-11-16T19:28:24Z
go version: go1.21.3
platform: linux/amd64
tags: netgo,embedassets
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.