Skip to content

Commit 341421d

Browse files
authored
Update GCP resource detector info (#1237)
1 parent 7278440 commit 341421d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ feature or via instrumentation, this project is hopefully for you.
1515
* [zstd Compressor](./compressors/compressor-zstd/README.md)
1616
* [Consistent Sampling](./consistent-sampling/README.md)
1717
* [Disk Buffering](./disk-buffering/README.md)
18+
* [GCP Resources](./gcp-resources/README.md)
1819
* [JMX Metric Gatherer](./jmx-metrics/README.md)
1920
* [No-Op API](./noop-api/README.md)
2021
* [OpenTelemetry Maven Extension](./maven-extension/README.md)

gcp-resources/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ spec:
4949
Additionally, the container name will only be discovered via the environment variable `CONTAINER_NAME`
5050
which much be included in the environment.
5151

52+
## Usage with Auto-Instrumentation
53+
54+
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.
55+
56+
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).
57+
5258
## Component Owners
5359

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

0 commit comments

Comments
 (0)