diff --git a/resource-detection-gcp/README.md b/resource-detection-gcp/README.md index 07a9607809..fac77d383d 100644 --- a/resource-detection-gcp/README.md +++ b/resource-detection-gcp/README.md @@ -1,6 +1,6 @@ # Resource Detection Example - GCP -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. +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. *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).* @@ -83,7 +83,7 @@ The detected resource attributes would depend on the environment in which the ap ## Viewing the result -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. +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. After running the example successfully, you should see the emitted span in JSON form via JUL. It should look something like: ``` diff --git a/telemetry-testing/README.md b/telemetry-testing/README.md index bac403769a..db74d1a3ff 100644 --- a/telemetry-testing/README.md +++ b/telemetry-testing/README.md @@ -32,7 +32,7 @@ Gradle build script contains a task to download the OpenTelemetry Java Agent jar Additionally, the OpenTelemetry is configured with properties: - otel.exporter.otlp.protocol=http/protobuf - set up the telemetry protocol, default is grpc - otel.metric.export.interval=5000 - set up the interval, between the start of two export attempts, default is 60s -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). +More information about the configuration can be found in this [OpenTelemetry doc](https://opentelemetry.io/docs/languages/java/configuration/#properties-exporters). The MockServer library is used to mock the collector web server. It's configured with port `4318`, because for `http/protobuf` protocol, the otel exporter endpoint is by default set to `http://localhost:4318`.