-
Notifications
You must be signed in to change notification settings - Fork 562
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
gcp detector missing CloudRun associated resources "namespace" and "node_id". #4585
Comments
By the way, we also noticed that the cloud-run metrics reported by otel was changed from If it is meant to use Seems not matching with the setup for CloudRun in detector? opentelemetry-go-contrib/detectors/gcp/detector.go Lines 59 to 64 in ba19074
Perhaps in detector something such as |
It should be using generic_task. Can you print out the resource you get in https://github.com/einride/cloudrunner-go/blob/17365f7b1348bc6e93296ea4861c47bc105dc00b/cloudotel/resource.go#L16? |
Sure that
|
So it should be |
Perhaps it is related to GoogleCloudPlatform/opentelemetry-operations-go#735 and also fixed by GoogleCloudPlatform/opentelemetry-operations-go#764 two weeks ago, all I need is to wait for the new version to be released in opentelemetry-operations-go? :) |
It was just released. Can you try updating to v0.45.0 of opentelemetry-operaitons-go? |
@dashpole Thanks a lot, we updated opentelemetry-operaitons-go and it seems working correctly now. I will close this issue now. |
Description
We see error such as this from time to time:
Looks like we are missing
namespace:,node_id:
on the CloudRun resources?We run some service on Google CloudRun and the detectors are setup like this:
https://github.com/einride/cloudrunner-go/blob/17365f7b1348bc6e93296ea4861c47bc105dc00b/cloudotel/resource.go#L16
The text was updated successfully, but these errors were encountered: