You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
Right now the GCP resource detection for NodeJS does not properly detect running in a Google Cloud Run instance.
For now it is required to set the required attributes manually or use the otel-collector sidecar, which sets the correct faas and host.type attributes for Google Cloud Run.
Describe the solution you'd like to see
It would be great if the @opentelemetry/resource-detector-gcp would detect and set the correct resource attributes for Google Cloud Run to the same as the otel-collector/processor/resource_detection/gcp.
Additional context
The environment variables from the Cloud Run runtime contract can be used to detect and extract the running Cloud Run instance.
See here for the relevant env variables used by the Go GCP SDK.