Skip to content

fix upload URL to include existing path #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2021
Merged

fix upload URL to include existing path #76

merged 1 commit into from
Feb 14, 2021

Conversation

geoah
Copy link
Contributor

@geoah geoah commented Feb 14, 2021

Currently the upload URL overrides the whole path on the server URL given to the agent.
Assuming the server URL of https://localhost/pyroscope/ is given to the agent, it will attempt to upload to https://localhost/ingest instead of the (imo at least) expected https://localhost/pyroscope/ingest.

If you think this might break things please let me know of any better ways of dealing with this issue and I can update the PR. :)

Thank you very much in advance!

Copy link
Collaborator

@petethepig petethepig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you George!

@petethepig petethepig merged commit 221988f into grafana:main Feb 14, 2021
@geoah geoah deleted the fix-ingest-path branch February 15, 2021 16:24
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.

2 participants