Skip to content
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

Error 400 in Grafana 7.5.10 #102

Open
martinberger-ch opened this issue Sep 20, 2021 · 0 comments
Open

Error 400 in Grafana 7.5.10 #102

martinberger-ch opened this issue Sep 20, 2021 · 0 comments

Comments

@martinberger-ch
Copy link

Hi

I am getting this same error in Grafana 7.5.10 on Linux on a fresh installation:

t=2021-09-20T18:23:11+0000 lvl=eror msg="Metric request error" logger=context userId=1 orgId=1 uname=admin error="rpc error: code = Unknown desc = (*datasource.Query)(0xc00008c820)(refId:\"A\" maxDataPoints:100 intervalMs:1000 modelJson:\"{\\\"compartment\\\":\\\"select compartment\\\",\\\"datasourceId\\\":1,\\\"environment\\\":\\\"OCI Instance\\\",\\\"namespace\\\":\\\"select namespace\\\",\\\"query\\\":\\\"[1m].mean()\\\",\\\"queryType\\\":\\\"query\\\",\\\"refId\\\":\\\"A\\\",\\\"region\\\":\\\"eu-zurich-1\\\",\\\"resolution\\\":\\\"1m\\\",\\\"tenancyOCID\\\":\\\"ocid1.tenancy.oc1..aaaaaaaxxxxxxxxxxxxxcdzyuszik74dk6fgpvqa\\\",\\\"type\\\":\\\"timeserie\\\"}\" )\n(monitoring.SummarizeMetricsDataRequest) { CompartmentId=select compartment SummarizeMetricsDataDetails={ Namespace=select namespace Query=[1m].mean() StartTime=2021-09-20 12:23:05.024 +0000 UTC EndTime=2021-09-20 18:23:05.024 +0000 UTC Resolution=1m } OpcRequestId=<nil> CompartmentIdInSubtree=<nil> RequestMetadata={<nil>} }\n(monitoring.SummarizeMetricsDataResponse) { RawResponse={400 Bad Request 400 HTTP/1.1 1 1 map[Content-Length:[85] Content-Type:[application/json] Date:[Mon, 20 Sep 2021 18:23:11 GMT] Opc-Request-Id:[586c516b2326d8387a2ed0c8080f81cf/AD2F4C1AA3EDF5D17D6F536C26E9635E/7FD1B4A7CB4B3F334815084BF206C153] X-Content-Type-Options:[nosniff]] 0xc00045b8a0 85 [] false false map[] 0xc0002a8400 0xc0000c2580} Items=[] OpcRequestId=<nil> }\n: Service error:InvalidParameter. compartmentId is not a valid OCID.. http status code: 400. Opc request id: 586c516b2326d8387a2ed0c8080f81cf/AD2F4C1AA3EDF5D17D6F536C26E9635E/7FD1B4A7CB4B3F334815084BF206C153" remote_addr=10.10.10.3

Do you have any idea how?

Regards, Martin

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

No branches or pull requests

1 participant