oracle / oci-grafana-metrics

Grafana datasource plugin for OCI metrics
https://grafana.com/grafana/plugins/oci-metrics-datasource
Universal Permissive License v1.0
80 stars 40 forks source link

what are we missing we created SR as well but no help related to permission issue #288

Open veeramarni opened 3 months ago

veeramarni commented 3 months ago
The SR we referring is       Severity 3   SR 3-37505625571

We noticing metrics permissions issue for grafana server to read. We put the required policy as per the docs

-bash-4.2$ curl https://telemetry.us-ashburn-1.oraclecloud.com/20180401/metrics/actions/listMetrics?compartmentId=ocid1.compartment.oc1..aaaaaaaa3trgaqp6q4edhurzz3rkbjxu3qvwknqhhbmrf2dblsinkehw6ieq { "code" : "NotAuthorizedOrNotFound", "message" : "Authorization failed or requested resource not found." }-bash-4.2$

mamorett commented 3 months ago

Hi. I do not think the curl command you posted here is correct, and in any case curl commands are unrelated to the plugin.