GoogleCloudPlatform / cloud-ops-sandbox

Cloud Operations Sandbox is an open source collection of tools that helps practitioners to learn O11y and R9y practices from Google and apply them using Cloud Operations suite of tools.
Apache License 2.0
406 stars 148 forks source link

frontend not sending profiler data #936

Closed daniel-sanche closed 2 years ago

daniel-sanche commented 2 years ago

The frontend service isn't properly sending data to Cloud Profiler. Looking in the logs, it looks like there's a permission issue:

warn: failed to start profiler: failed to get the project ID from Compute Engine: Get "http://169.254.169.254/computeMetadata/v1/project/project-id": dial tcp 169.254.169.254:80: connect: connection refused

This seems like it could be relevant to https://github.com/GoogleCloudPlatform/microservices-demo/issues/199. Possibly need to update dependencies on the frontend service

It looks like we may be able to fix the issue by applying the fixes from https://github.com/GoogleCloudPlatform/microservices-demo/pull/234/files

daniel-sanche commented 2 years ago

Updating the go version didn't seem to fix the profiler issue.

It sounds like the qwiklabs team is working around it by showing a different service. I'll bump down the priority, but it should still be investigated more soon

daniel-sanche commented 2 years ago

This seems to be working in v0.8.0