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

API: json: unknown field "allowedActions" #190

Open
lucasc-cosm opened this issue Aug 1, 2024 · 1 comment
Open

API: json: unknown field "allowedActions" #190

lucasc-cosm opened this issue Aug 1, 2024 · 1 comment

Comments

@lucasc-cosm
Copy link

started getting this error from SLO API
grafana:index:SLO (requests-slo-panel):
error: 1 error occurred:
* updating urn:pulumi:grafana-slo-transfer-claim-service::grafana-slo::grafana:index/sLO:SLO::requests-slo-panel: 1 error occurred:
* Unable to read SLO - API: json: unknown field "allowedActions"
{"alerting":{"fastBurn":{"annotations":[{"key":"name","value":"SLO Burn Rate Very High"},{"key":"description","value":"transfer-claim-service Requests error budget is burning too fast, this is affecting Ticketing."}]},"slowBurn":{"annotations":[{"key":"name","value":"SLO Burn Rate High"},{"key":"description","value":"transfer-claim-service Requests error budget is burning fast, this is affecting Ticketing."}]}},"description":"transfer-claim-service Requests SLO Panel","destinationDatasource":{"uid":"grafanacloud-prom"},"labels":[{"key":"service_name","value":"transfer-claim-service"},{"key":"Location","value":"prodblue-us-west-2"},{"key":"Feature","value":"Ticketing"}],"name":"transfer-claim-service Requests","objectives":[{"value":0.9,"window":"28d"}],"query":{"ratio":{"groupByLabels":["route"],"successMetric":{"prometheusMetric":"requests_total{location='prodblue-us-west-2',route!='/health',service_name='transfer-claim-service', status='200'}"},"totalMetric":{"prometheusMetric":"requests_total{location='prodblue-us-west-2',route!='/health',service_name='transfer-claim-service'}"}},"type":"ratio"},"readOnly":{"allowedActions":["read","write"],"drillDownDashboardRef":{"UID":"ddtbst2dpqm80e"},"provenance":"api","status":{"type":"created"}},"uuid":"1er2zuzey1at2l35ecjgk"}

it happens in all versions of @pulumi-grafana

@sebastien-prudhomme
Copy link

It seems to be fixed in Terraform provider v3.5.0: grafana/terraform-provider-grafana#1697

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

2 participants