Closed juriku closed 1 day ago
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!
This pull request has been automatically closed because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!
Issue Oncall backend calling grafana api when grafana is self hosted and under certain path
fixes errors like:
while GRAFANA_API_URL=https://test.com/grafana
relevant for when external self-hosted grafana has same URL, but under different path, like /grafana
Also fixes issue when self.api_url has path, but no '/' in the end
because in case of
urljoin(self.api_url, endpoint)
Example:https://test.com/path
,api/v1
-> will becomehttps://test.com/api/v1
https://test.com/path/
,api/v1
-> will becomehttps://test.com/path/api/v1