Perses does not propagate proxy headers to all api calls
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 31
- Forks
- 79
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 41
Description
Problem
For some reason, perses does not propagate headers for the next endpoints:
- /api/v1/label/name/values
- /api/v1/metadata
- /api/v1/series
on a pages "Add panel" and "Explore"
STR:
- go to https://demo.perses.dev/projects/mike/dashboards/mike_dashboard?var-job=alertmanager&start=1h&refresh=0s
- edit the existing panel or add a new one
- type something in
PromQL Expressioninput - Check header for any of described above endpoints
Current result
proxy headers do not propagated into the request headers
Expected result
proxy header should be propagate to all API calls
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on the Add panel and Explore pages using the provided dashboard steps, then inspect requests to /api/v1/label/name/values, /api/v1/metadata, and /api/v1/series. Confirm which requests omit the proxy headers and verify that all three include them after the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100