Skip to content

Commit abdbf07

Browse files
authored
Switch link checker to lychee (#6972)
1 parent 717d8b0 commit abdbf07

File tree

4 files changed

+19
-43
lines changed

4 files changed

+19
-43
lines changed

.github/config/markdown-link-check-config.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/scripts/markdown-link-check-with-retry.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/reusable-markdown-link-check.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v4
1111

12-
- name: Install markdown-link-check
13-
# TODO(jack-berg): use latest when config file reading bug is fixed: https://github.com/tcort/markdown-link-check/issues/246
14-
run: npm install -g [email protected]
15-
16-
- name: Run markdown-link-check
17-
run: |
18-
find . -type f \
19-
-name '*.md' \
20-
-not -path './CHANGELOG.md' \
21-
| xargs .github/scripts/markdown-link-check-with-retry.sh
12+
- uses: lycheeverse/lychee-action@v2
13+
with:
14+
# remove version after next release of lychee-action
15+
lycheeVersion: latest
16+
# excluding links to pull requests and issues is done for performance
17+
args: >
18+
--include-fragments
19+
--exclude "^https://github.com/open-telemetry/opentelemetry-java/(issue|pull)/\\d+$"
20+
--max-retries 6
21+
.

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@
521521
have stopped being published. Jaeger
522522
has [native support for OTLP](https://opentelemetry.io/blog/2022/jaeger-native-otlp/), and users
523523
should export to jaeger
524-
using [OTLP](https://opentelemetry.io/docs/instrumentation/java/exporters/#otlp-dependencies)
524+
using OTLP
525525
instead.
526526

527527
### API
@@ -605,7 +605,7 @@ instead.
605605
and `opentelemetry-exporter-jaeger-thift`. Jaeger
606606
has [native support for OTLP](https://opentelemetry.io/blog/2022/jaeger-native-otlp/), and users
607607
should export to jaeger
608-
using [OTLP](https://opentelemetry.io/docs/instrumentation/java/exporters/#otlp-dependencies)
608+
using OTLP
609609
instead.
610610

611611
### API
@@ -1042,7 +1042,7 @@ The log bridge API / SDK are now stable! Some important notes:
10421042
of `otel.logs.exporter` from `none` to `otlp`.
10431043

10441044
NOTE: reminder that
1045-
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md)
1045+
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/bridge-api.md)
10461046
is _not_ meant for end users. Log appenders use the API to bridge logs from existing log
10471047
frameworks (e.g. JUL, Log4j, SLf4J, Logback) into OpenTelemetry. Users configure the Log SDK to
10481048
dictate how logs are processed and exported.
@@ -1110,7 +1110,7 @@ merged into `opentelemetry-exporter-otlp`, `opentelemetry-sdk-logs-testing` will
11101110
into `opentelemetry-sdk-testing`, `opentelemetry-sdk-extension-autoconfigure` will enable `otlp`
11111111
log exporter by default (i.e. `otel.logs.exporter=otlp`). For more details, see tracking
11121112
issue [#5340](https://github.com/open-telemetry/opentelemetry-java/issues/5340). NOTE: reminder that
1113-
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md)
1113+
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/bridge-api.md)
11141114
is _not_ meant for end users. Log appenders use the API to bridge logs from existing log
11151115
frameworks (e.g. JUL, Log4j, SLf4J, Logback) into OpenTelemetry. Users configure the Log SDK to
11161116
dictate how logs are processed and exported.
@@ -1672,8 +1672,8 @@ log API component has been added for emitting events and for writing log appende
16721672
API is not a substitute for traditional log frameworks like Log4j, JUL, SLF4J, or Logback. While the
16731673
event portion of the API is intended for instrumentation authors and end users, the API for emitting
16741674
LogRecords is not.
1675-
See [LoggerProvider](./api/logs/src/main/java/io/opentelemetry/api/logs/LoggerProvider.java)
1676-
and [Logger](./api/logs/src/main/java/io/opentelemetry/api/logs/Logger.java) javadoc for more
1675+
See [LoggerProvider](./api/all/src/main/java/io/opentelemetry/api/logs/LoggerProvider.java)
1676+
and [Logger](./api/all/src/main/java/io/opentelemetry/api/logs/Logger.java) javadoc for more
16771677
details.
16781678

16791679
### General
@@ -1959,7 +1959,7 @@ details.
19591959
stable `opentelemetry-sdk-extension-autoconfigure-spi`.
19601960
* Autoconfigure now supports multiple values for `otel.metrics.exporter`.
19611961
* Autoconfigure now
1962-
supports [general attribute limits](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#attribute-limits),
1962+
supports [general attribute limits](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#attribute-limits),
19631963
applicable to span attributes, span event attributes, span link attributes, and log attributes.
19641964
* Autoconfigure now supports an experimental option to disable the SDK.
19651965
If `otel.experimental.sdk.enabled=true`, `AutoConfiguredOpenTelemetrySdk#getOpenTelemetrySdk()`
@@ -3519,7 +3519,7 @@ See the `opentelemetry-extension-kotlin` module for details.
35193519

35203520
#### Breaking changes
35213521

3522-
- There have been many updates to the semantic conventions constants. The constants are now auto-generated from the YAML specification files, so the names will now be consistent across languages. For more information, see the [YAML Model for Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/tree/master/semantic_conventions).
3522+
- There have been many updates to the semantic conventions constants. The constants are now auto-generated from the YAML specification files, so the names will now be consistent across languages. For more information, see the [YAML Model for Semantic Conventions](https://github.com/open-telemetry/semantic-conventions/tree/main/model#yaml-model-for-semantic-conventions).
35233523
- All API classes have been moved into the `io.opentelemetry.api.` prefix to support JPMS users.
35243524
- The API no longer uses the `grpc-context` as the context implementation. It now uses `io.opentelemetry.context.Context`. This is published in the `opentelemetry-context` artifact. Interactions with the context were mostly moved to static methods in the `Span` and `Baggage` interfaces.
35253525
- The Baggage API has been reworked to more closely match the specification. This includes the removal of the `BaggageManager`. Baggage is fully functional within the API, without needing to install an SDK.
@@ -3550,7 +3550,7 @@ See the `opentelemetry-extension-kotlin` module for details.
35503550

35513551
#### Breaking changes
35523552

3553-
- `TraceConfig` configuration option names (environment variables and system properties) were renamed to match the OpenTelemetery Specification. For more information, see [TraceConfig](./QUICKSTART.md#TraceConfig).
3553+
- `TraceConfig` configuration option names (environment variables and system properties) were renamed to match the OpenTelemetery Specification.
35543554
- The Jaeger gRPC exporter was updated to match the OpenTelemetry Specification. The `message` log entry attribute has been renamed to `event` and a new `dropped attributes count` attribute was added. For more information, see the [Overview](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/overview.md).
35553555
- The `SpanData.getHasRemoteParent()` and `SpanData.getHasEnded()` methods were renamed to `hasRemoteParent()` and `hasEnded()`, respectively.
35563556
- The `IdsGenerator` interface has been renamed to `IdGenerator`, and all implementations and relevant factory methods were similarly renamed.

0 commit comments

Comments
 (0)