@google-cloud/opentelemetry-resource-util
This package is deprecated and will be archived after October 30th, 2026. It was used by the legacy exporters in this repository. Please migrate to the upstream @opentelemetry/resource-detector-gcp package for resource detection, and to standard OTLP exporters for exporting telemetry. See the Migration Guide for details.
OpenTelemetry Google Resource Util
This package provides utils used by other packages in this repo. It can map OpenTelemetry resources to Google Cloud monitored resources. It is not intended to be used directly by users.
To get started with instrumentation in Google Cloud, see Generate traces and metrics with Node.js.
To learn more about instrumentation and observability, including opinionated recommendations for Google Cloud Observability, visit Instrumentation and observability.
Useful links
- For more information on OpenTelemetry, visit: https://opentelemetry.io/
- For more about OpenTelemetry JavaScript: https://github.com/open-telemetry/opentelemetry-js