Hello Team,
I am successfully able to install Grafana , but when I am trying to create data source but I am getting error like "Data source is not working " when i click on test and save.
Errors I found in log
nown desc = list metrircs failed (monitoring.ListMetricsResponse) { RawResponse={404 Not Found 404 HTTP/1.1 1 1 map[Content-Length:[111] Content-Type:[application/json] Date:[Tue, 03 Mar 2020 10:19:44 GMT] Opc-Request-Id:[74c762c618178b418736c40a7941a7b8/BCE7B1CD3FBB8C021FA39008BBAFDA8D/CA953DC404196801718556B113C58A62] X-Content-Type-Options:[nosniff]] 0xc0003612e0 111 [] false false map[] 0xc0001fec00 0xc0004d2210} Items=[] OpcNextPage= OpcRequestId= }\n 404: Service error:NotAuthorizedOrNotFound. Authorization failed or requested resource not found… http status code: 404. Opc request id: 74c762c618178b418736c40a7941a7b8/BCE7B1CD3FBB8C021FA39008BBAFDA8D/CA953DC404196801718556B113C58A62"
t=2020-03-03T10:19:44+0000 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=115.110.104.174 time_ms=13 size=34 referer=http://132.145.209.213:3000/datasources/edit/3/
t=2020-03-03T10:19:44+0000 lvl=eror msg=“Metric request error” logger=context userId=1 orgId=1 uname=admin error=“rpc error: code = Unknown desc = list metrircs failed (monitoring.ListMetricsResponse) { RawResponse={404 Not Found 404 HTTP/1.1 1 1 map[Content-Length:[111] Content-Type:[application/json] Date:[Tue, 03 Mar 2020 10:19:44 GMT] Opc-Request-Id:[b0476fa1749616ffc554ac3d9df3492a/365C77DE867056BE2BA634C2C1E8C0FA/0FFB8CD537C557A54BE9926A60A7C85C] X-Content-Type-Options:[nosniff]] 0xc000365440 111 [] false false map[] 0xc00027e000 0xc0004d2210} Items=[] OpcNextPage= OpcRequestId= }\n 404: Service error:NotAuthorizedOrNotFound. Authorization failed or requested resource not found… http status code: 404. Opc request id: b0476fa1749616ffc554ac3d9df3492a/365C77DE867056BE2BA634C2C1E8C0FA/0FFB8CD537C557A54BE9926A60A7C85C”
t=2020-03-03T10:19:44+0000 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=115.110.104.174 time_ms=16 size=34 referer=http://132.145.209.213:3000/datasources/edit/3/
t=2020-03-03T10:19:45+0000 lvl=eror msg=“Metric request error” logger=context userId=1 orgId=1 uname=admin error=“rpc error: code = Unknown desc = list metrircs failed (monitoring.ListMetricsResponse) { RawResponse={404 Not Found 404 HTTP/1.1 1 1 map[Content-Length:[111] Content-Type:[application/json] Date:[Tue, 03 Mar 2020 10:19:45 GMT] Opc-Request-Id:[5b986cd4181cb89cfde174e5c9c378c0/5D6C31A416D93BD3F5E4CE5C59BFC04F/3BB3E73CF97F636581EFC31AD68B7BD0] X-Content-Type-Options:[nosniff]] 0xc000365aa0 111 [] false false map[] 0xc0001ff000 0xc0004d2210} Items=[] OpcNextPage= OpcRequestId= }\n 404: Service error:NotAuthorizedOrNotFound. Authorization failed or requested resource not found… http status code: 404. Opc request id: 5b986cd4181cb89cfde174e5c9c378c0/5D6C31A416D93BD3F5E4CE5C59BFC04F/3BB3E73CF97F636581EFC31AD68B7BD0”
t=2020-03-03T10:19:45+0000 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=115.110.104.174 time_ms=13 size=34 referer=http://132.145.209.213:3000/datasources/edit/3/
t=2020-03-03T10:19:46+0000 lvl=eror msg=“Metric request error” logger=context userId=1 orgId=1 uname=admin error="rpc error: code = Unknown desc = list metrircs failed (monitoring.ListMetricsResponse) { RawResponse={404 Not Found 404 HTTP/1.1 1 1 map[Content-Length:[111] Content-Type:[application/json] Date:[Tue, 03 Mar 2020 10:19:46 GMT] Opc-Request-Id:[0c9ddd0bd77be2179bee03914f805012/B8AEAE1564F5A086CC16E22B46007DD0/EF33CC258D1DE6447A87BBE415C03202] X-Content-Type-Options:[nosniff]] 0xc000365d
Thanks,
Ayush