Skip to content

Commit 9939235

Browse files
authored
update lychee and fix gh links with remap (#2304)
1 parent ee20753 commit 9939235

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.github/config/lychee.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ max_concurrency = 4
66
# Check link anchors
77
include_fragments = true
88

9+
remap = [
10+
# workaround for https://github.com/lycheeverse/lychee/issues/1729
11+
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4"
12+
]
13+
914
exclude = [
1015
# excluding links to pull requests and issues is done for performance
1116
"^https://github.com/open-telemetry/opentelemetry-java-contrib/(issues|pull)/\\d+$",

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The extension takes care of the necessary configuration required to authenticate
327327

328328
The future of the [JMX metrics](./jmx-metrics/README.md) component,
329329
built on top of the
330-
[JMX metrics](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/jmx-metrics#jmx-metric-insight)
330+
[JMX metrics](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/jmx-metrics/README.md#jmx-metric-insight)
331331
component from the opentelemetry-java-instrumentation repository.
332332

333333
### Maven extension

consistent-sampling/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ There are two major components included here.
55
## Original proposal implementation
66

77
The original specification for consistent probability sampling is defined by
8-
<https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md>
8+
<https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling-experimental.md>
99
and <https://github.com/open-telemetry/opentelemetry-specification/pull/2047>.
1010
It supports sampling probabilities that are power of 2 (1, 1/2, 1/4, ...), and uses 8-bit `r-value` and 8-bit `p-value` in tracestate.
1111

@@ -14,18 +14,18 @@ The implementation of this proposal is contained by the package `io/opentelemetr
1414
* **ConsistentSampler**:
1515
abstract base class of all consistent sampler implementations below
1616
* **ConsistentAlwaysOffSampler**:
17-
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#always-off-sampler>
17+
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling-experimental.md#always-off-sampler>
1818
* **ConsistentAlwaysOnSampler**:
19-
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#always-on-consistent-probability-sampler>
19+
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling-experimental.md#always-on-consistent-probability-sampler>
2020
* **ConsistentComposedAndSampler**:
2121
allows combining two consistent samplers and samples when both samplers would sample
2222
* **ConsistentComposedOrSampler**:
2323
allows combining two consistent sampler and samples when at least one of both samplers would sample,
24-
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#requirement-combine-multiple-consistent-probability-samplers-using-the-minimum-p-value>
24+
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling-experimental.md#requirement-combine-multiple-consistent-probability-samplers-using-the-minimum-p-value>
2525
* **ConsistentParentBasedSampler**:
26-
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#parentconsistentprobabilitybased-sampler>
26+
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling-experimental.md#parentconsistentprobabilitybased-sampler>
2727
* **ConsistentProbabilityBasedSampler**:
28-
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md#consistentprobabilitybased-sampler>
28+
see <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling-experimental.md#consistentprobabilitybased-sampler>
2929
* **ConsistentRateLimitingSampler**:
3030
a rate limiting sampler based on exponential smoothing that dynamically adjusts the sampling
3131
probability based on the estimated rate of spans occurring to satisfy a given rate of sampled spans

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tools]
2-
lychee = "0.18.1"
2+
lychee = "0.20.1"
33

44
[tasks.lint-local-links]
55
run = 'lychee --verbose --scheme file --include-fragments {{arg(name="files", default=".")}}'

0 commit comments

Comments
 (0)