Switch link checker to lychee (#12922)

This commit is contained in:
Trask Stalnaker 2024-12-19 07:24:07 -08:00 committed by GitHub
parent f612bf828c
commit 3cb2ae17ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 15 additions and 60 deletions

View File

@ -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"
}
]
}

View File

@ -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

View File

@ -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
.

View File

@ -761,7 +761,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`

View File

@ -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).

View File

@ -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).