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
Copy file name to clipboardExpand all lines: resource-detection-gcp/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Resource Detection Example - GCP
2
2
3
-
An example application that shows what resource attributes will be detected by the [GCP Resource Detector](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/gcp-resources) and how the [Autoconfigure Resource Provider SPI](https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure#resource-provider-spi) automatically *attaches* the detected resource attributes to the generated telemetry.
3
+
An example application that shows what resource attributes will be detected by the [GCP Resource Detector](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/gcp-resources) and how the [Autoconfigure Resource Provider SPI](https://opentelemetry.io/docs/languages/java/configuration/#spi-service-provider-interface) automatically *attaches* the detected resource attributes to the generated telemetry.
4
4
5
5
*For users looking to use the GCP Resource Detector with OpenTelemetry Java Agent for automatic instrumentation, refer to the instructions [here](https://opentelemetry.io/docs/languages/java/automatic/configuration/#enable-resource-providers-that-are-disabled-by-default).*
6
6
@@ -83,7 +83,7 @@ The detected resource attributes would depend on the environment in which the ap
83
83
84
84
## Viewing the result
85
85
86
-
The example produces a single span and uses [logging OTLP JSON exporter](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#logging-otlp-json-exporter) to export the produced span.
86
+
The example produces a single span and uses [logging OTLP JSON exporter](https://opentelemetry.io/docs/languages/java/configuration/#properties-exporters) to export the produced span.
87
87
After running the example successfully, you should see the emitted span in JSON form via JUL. It should look something like:
Copy file name to clipboardExpand all lines: telemetry-testing/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Gradle build script contains a task to download the OpenTelemetry Java Agent jar
32
32
Additionally, the OpenTelemetry is configured with properties:
33
33
- otel.exporter.otlp.protocol=http/protobuf - set up the telemetry protocol, default is grpc
34
34
- otel.metric.export.interval=5000 - set up the interval, between the start of two export attempts, default is 60s
35
-
More information about the configuration can be found in this [OpenTelemetry doc](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#otlp-exporter-span-metric-and-log-exporters).
35
+
More information about the configuration can be found in this [OpenTelemetry doc](https://opentelemetry.io/docs/languages/java/configuration/#properties-exporters).
36
36
37
37
The MockServer library is used to mock the collector web server. It's configured with port `4318`, because for
38
38
`http/protobuf` protocol, the otel exporter endpoint is by default set to `http://localhost:4318`.
0 commit comments