diff --git a/.github/scripts/markdown-link-check-config.json b/.github/scripts/markdown-link-check-config.json deleted file mode 100644 index e132f40b6183..000000000000 --- a/.github/scripts/markdown-link-check-config.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "retryOn429": true, - "aliveStatusCodes": [ - 200, - 403 - ], - "ignorePatterns": [ - { - "pattern": "^https://developer\\.mend\\.io/github/open-telemetry/opentelemetry-java-instrumentation$" - }, - { - "pattern": "^https://github.com/open-telemetry/opentelemetry-java-instrumentation/pulls/app%2Frenovate" - }, - { - "pattern": "^https://kotlinlang\\.org/docs/coroutines-overview\\.html$" - }, - { - "pattern": "^http(s)?://logback\\.qos\\.ch" - }, - { - "pattern": "^https://micrometer\\.io" - }, - { - "pattern": "^https://central\\.sonatype\\.com" - } - ] -} diff --git a/.github/scripts/markdown-link-check-with-retry.sh b/.github/scripts/markdown-link-check-with-retry.sh deleted file mode 100755 index 109146abfec8..000000000000 --- a/.github/scripts/markdown-link-check-with-retry.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -e - -# this script helps to reduce sporadic link check failures by retrying at a file-by-file level - -retry_count=3 - -for file in "$@"; do - for i in $(seq 1 $retry_count); do - if markdown-link-check --config "$(dirname "$0")/markdown-link-check-config.json" \ - "$file"; then - break - elif [[ $i -eq $retry_count ]]; then - exit 1 - fi - sleep 5 - done -done diff --git a/.github/workflows/reusable-markdown-link-check.yml b/.github/workflows/reusable-markdown-link-check.yml index edc997bf55e6..353075eb7693 100644 --- a/.github/workflows/reusable-markdown-link-check.yml +++ b/.github/workflows/reusable-markdown-link-check.yml @@ -12,15 +12,14 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Install markdown-link-check - # https://github.com/tcort/markdown-link-check/issues/297 - run: npm install -g markdown-link-check@3.11.2 - - - name: Run markdown-link-check - run: | - find . -type f \ - -name '*.md' \ - -not -path './CHANGELOG.md' \ - -not -path './licenses/*' \ - -not -path '*/build/*' \ - | xargs .github/scripts/markdown-link-check-with-retry.sh + - uses: lycheeverse/lychee-action@v2 + with: + # remove version after next release of lychee-action + lycheeVersion: latest + # excluding links to pull requests and issues is done for performance + args: > + --include-fragments + --exclude "^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issue|pull)/\\d+$" + --exclude "^http://code.google.com/p/concurrentlinkedhashmap$" + --max-retries 6 + . diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ab04afa2249..ab5d037aeb92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -729,7 +729,7 @@ too disruptive to adopt right away. or `-Dotel.instrumentation.common.experimental.view-telemetry.enabled=true`. - ⚠️⚠️ Stable HTTP semantic conventions are now emitted ⚠️⚠️ - TOO MANY CHANGES TO LIST HERE, be sure to review the full - [list of changes](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/migration-guide.md#summary-of-changes). + [list of changes](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/non-normative/http-migration.md#summary-of-changes). - Stable JVM semantic conventions are now emitted. - Memory metrics - `process.runtime.jvm.memory.usage` renamed to `jvm.memory.used` diff --git a/instrumentation/micrometer/micrometer-1.5/library/README.md b/instrumentation/micrometer/micrometer-1.5/library/README.md index 938c0047345c..e12bee1aebcb 100644 --- a/instrumentation/micrometer/micrometer-1.5/library/README.md +++ b/instrumentation/micrometer/micrometer-1.5/library/README.md @@ -1,6 +1,6 @@ # Micrometer Instrumentation for Micrometer version 1.5 and higher -This module provides a [Micrometer registry](https://micrometer.io/docs/concepts#_registry) which +This module provides a [Micrometer registry](https://docs.micrometer.io/micrometer/reference/concepts/registry.html) which sends Micrometer metrics to the [OpenTelemetry Metrics SDK](https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk/metrics). diff --git a/instrumentation/spring/starters/zipkin-spring-boot-starter/README.md b/instrumentation/spring/starters/zipkin-spring-boot-starter/README.md index 3302d231331a..44c1ad838ff9 100644 --- a/instrumentation/spring/starters/zipkin-spring-boot-starter/README.md +++ b/instrumentation/spring/starters/zipkin-spring-boot-starter/README.md @@ -1,7 +1,7 @@ # OpenTelemetry Zipkin Exporter Starter -The OpenTelemetry Exporter Starter for Java is a starter package that includes packages required to enable tracing using OpenTelemetry. It also provides the dependency and corresponding auto-configuration. Check out [opentelemetry-spring-boot-autoconfigure](../../spring-boot-autoconfigure/README.md#features) for the list of supported libraries and features. +The OpenTelemetry Exporter Starter for Java is a starter package that includes packages required to enable tracing using OpenTelemetry. It also provides the dependency and corresponding auto-configuration. -OpenTelemetry Zipkin Exporter Starter is a starter package that includes the opentelemetry-api, opentelemetry-sdk, opentelemetry-extension-annotations, opentelemetry-logging-exporter, opentelemetry-spring-boot-autoconfigurations and spring framework starters required to setup distributed tracing. It also provides the [opentelemetry-exporters-zipkin](https://github.com/open-telemetry/opentelemetry-java/tree/main/exporters/zipkin) artifact and corresponding exporter auto-configuration. Check out [opentelemetry-spring-boot-autoconfigure](../../spring-boot-autoconfigure/README.md#features) for the list of supported libraries and features. +OpenTelemetry Zipkin Exporter Starter is a starter package that includes the opentelemetry-api, opentelemetry-sdk, opentelemetry-extension-annotations, opentelemetry-logging-exporter, opentelemetry-spring-boot-autoconfigurations and spring framework starters required to setup distributed tracing. It also provides the [opentelemetry-exporters-zipkin](https://github.com/open-telemetry/opentelemetry-java/tree/main/exporters/zipkin) artifact and corresponding exporter auto-configuration. Documentation for the OpenTelemetry Zipkin Exporter Starter can be found [here](https://opentelemetry.io/docs/zero-code/java/spring-boot/#zipkin-starter).