GoogleCloudPlatform / reliable-app-platforms

A MVP of a platform for delivering reliable applications on Google Cloud
Apache License 2.0
5 stars 5 forks source link

SLOs cannot be created by terraform #29

Closed MKand closed 1 month ago

MKand commented 5 months ago

SLOs cannot be created by tf until atleast one SLO is created for the service via console. This is because the canonical service cannot be found by cloud monitoring. This appears to be a bug in CloudMonitoring.

Short-term fix: Run the deploy pipeline with the flag _DEPLOY_SLO_ONLY set to false in the ci pipeline for the shop service. After all the services in shop are deployed, create an (any) SLO manually for the service in the ASM section of the GKE console. And rerun the deploy pipeline with _DEPLOY_SLO_ONLY set to true in the ci pipeline for each application.

A bug will be filed at CloudMonitoring

stevemcghee commented 1 month ago

it seems we need to use custom service now :(

https://leoy.blog/posts/define-gcp-managed-service-for-monitoring/

(blog post coming out soon)