grafana / grafana/pyroscope

UI does not function behind reverse proxy

Open
#3,113 6 comments 2 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
I've toyed with different permutations of `api.base-url` and `server.http_path_prefix`. System will not function when prefixed at `/pyroscope`

#### To Reproduce
Steps to reproduce the behavior:

1. Start Pyroscope (SHA or version)

1.4.0

2. Perform Operations(Read/Write/Others)

Configure as follows:
```yaml
server:
http_listen_port: 4040
## FMS: these don't appear to work properly for reverse proxy use in 1.4.0
http_path_prefix: /pyroscope
api:
base-url: /pyroscope
```

#### Expected behavior

Port-forward config, try to visit UI at /pyroscope. Does not work. Used both `kubectl port-forward` and `HTTPProxy` frontend, all broken.

Notably, I can visit `/pyroscope/ready` and it functions. Not sure about other API endpoints.

#### Environment

- Infrastructure: Kubernetes configured with `config.yaml` mapped via ConfigMap
- Deployment tool: Helm

#### Additional Context

n/a

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.