Skip to content

Commit

Permalink
Update GCP resource detector info (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
psx95 committed Mar 27, 2024
1 parent 7278440 commit 341421d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ feature or via instrumentation, this project is hopefully for you.
* [zstd Compressor](./compressors/compressor-zstd/README.md)
* [Consistent Sampling](./consistent-sampling/README.md)
* [Disk Buffering](./disk-buffering/README.md)
* [GCP Resources](./gcp-resources/README.md)
* [JMX Metric Gatherer](./jmx-metrics/README.md)
* [No-Op API](./noop-api/README.md)
* [OpenTelemetry Maven Extension](./maven-extension/README.md)
Expand Down
6 changes: 6 additions & 0 deletions gcp-resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ spec:
Additionally, the container name will only be discovered via the environment variable `CONTAINER_NAME`
which much be included in the environment.

## Usage with Auto-Instrumentation

With the release of [v2.2.0 of the OpenTelemetry Java Instrumentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.2.0), the GCP resource detector is now included with the Java agent.

For users of Java Agent v2.2.0 and later, the GCP resource detectors can be enabled by following the instructions provided [here](https://opentelemetry.io/docs/languages/java/automatic/configuration/#enable-resource-providers-that-are-disabled-by-default).

## Component Owners

- [Josh Suereth](https://github.com/jsuereth), Google
Expand Down

0 comments on commit 341421d

Please sign in to comment.