-
Notifications
You must be signed in to change notification settings - Fork 42
Description
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