jacksontj / promxy

An aggregating proxy to enable HA prometheus
MIT License
1.12k stars 126 forks source link

Unable to integrate sso enabled promxy with grafana 10 #655

Open bhagavancp opened 4 weeks ago

bhagavancp commented 4 weeks ago

we have integrated promxy with SSO and when trying to connect through grafana 10 it is failing with below error :

logger=tsdb.prometheus t=2024-05-23T18:23:58.985347539Z level=warn msg="Failed to get prometheus buildinfo" err="error querying resource: Get \"https://sso.com/ssoi/auth?method=GET&requestid=7782233d-39ce-42a5-8679-04bcf866a7c1&target=https%3A%2F%2Fpromxy-dev.com%2Fapi%2Fv1%2Fstatus%2Fbuildinfo\": EOF" logger=tsdb.prometheus endpoint=checkHealth pluginId=prometheus dsName="FF Prometheus" dsUID=c1837ab5-5c14-4f60-8b27-12351ae491ac uname="ABC" t=2024-05-23T18:23:58.985386185Z level=warn msg="Failed to get prometheus heuristics" err="failed to get buildinfo: error querying resource: Get \"https://sso.com/ssoi/auth?method=GET&requestid=7782233d-39ce-42a5-8679-04bcf866a7c1&target=https%3A%2F%2Fpromxy-dev.com%2Fapi%2Fv1%2Fstatus%2Fbuildinfo\": EOF" logger=context userId=2 orgId=1 uname="ABC" t=2024-05-23T18:23:58.985459836Z level=info msg="Request Completed" method=GET path=/api/datasources/uid/c1837ab5-5c14-4f60-8b27-12351ae491ac/health status=400 remote_addr=10.x.x.x time_ms=53 duration=53.418222ms size=301 referer=https://grafana.com/connections/datasources/edit/c1837ab5-5c14-4f60-8b27-12351ae491ac handler=/api/datasources/uid/:uid/health