Skip to content

Commit 14fdef3

Browse files
authored
Fix invalid links to Prometheus, API pages, and more (open-telemetry#6235)
1 parent 7cd47a0 commit 14fdef3

File tree

13 files changed

+66
-103
lines changed

13 files changed

+66
-103
lines changed

.htmltest.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ IgnoreAltMissing: true
55
IgnoreCanonicalBrokenLinks: false
66
IgnoreInternalEmptyHash: true # TODO: remove after resolution of https://github.com/google/docsy/issues/1995
77
CheckMailto: false
8+
# StripQueryString: false # TODO: enable once htmltest is fixed
89
TestFilesConcurrently: true
910
IgnoreDirs:
1011
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
@@ -54,7 +55,7 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
5455

5556
# Ignore Docsy-generated GitHub links for now, until
5657
# https://github.com/google/docsy/issues/1432 is fixed
57-
- ^https?://github\.com/.*?/.*?/(new|edit|issues/new\?title)/ # view-page, edit-source etc
58+
- ^https?://github\.com/.*?/.*?/(new/|edit/|issues/new\?) # view-page, edit-source etc
5859
# Ignore "View page source" links, except for spec pages, i.e., links starting with
5960
# https://github.com/open-telemetry/opentelemetry.io/tree/main/content/en/docs/specs
6061
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/[^e]
@@ -80,3 +81,18 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
8081
- ^https://cloud.google.com/functions/docs/concepts/exec#function_scope_versus_global_scope
8182
- ^https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902
8283
- ^https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest
84+
- ^https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES
85+
- ^https://www.erlang.org/doc/man/erl_error.html#format_exception-3
86+
# Fixed via https://github.com/open-telemetry/semantic-conventions/pull/1814
87+
- ^https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/api.md#emit-an-event
88+
89+
# Temporary until
90+
# https://pkg.go.dev/go.opentelemetry.io/collector/config/[email protected]+
91+
# is published to include
92+
# https://github.com/open-telemetry/opentelemetry-collector/pull/12309
93+
- ^https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#client-authenticators
94+
- ^https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#server-authenticators
95+
96+
# Temporary until
97+
# https://github.com/open-telemetry/opentelemetry.io/issues/6237 is resolved
98+
- ^https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#

content/en/blog/2024/otel-operator-q-and-a/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title:
55
linkTitle: OTel Operator Q&A
66
date: 2024-05-13
77
author: '[Adriana Villela](https://github.com/avillela) (ServiceNow)'
8-
canonical_url: https://adri-v.medium.com/81d63addbf92?
8+
canonical_url: https://adri-v.medium.com/81d63addbf92
99
cSpell:ignore: automagically mycollector
1010
---
1111

content/en/blog/2024/prometheus-compatibility-survey/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ and
2525
It has been used to implement Prometheus
2626
[(pull) exporters for OpenTelemetry SDKs](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/prometheus),
2727
[OTLP export from Prometheus libraries](https://prometheus.github.io/client_java/otel/otlp/),
28-
[OTLP ingestion for the Prometheus server](https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver),
28+
[OTLP ingestion for the Prometheus server](https://prometheus.io/docs/prometheus/2.55/feature_flags/#otlp-receiver),
2929
and the OpenTelemetry Collector's
3030
[Prometheus Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver),
3131
[Prometheus Remote Write exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusremotewriteexporter),

content/en/docs/collector/building/authenticator-extension.md

+22-24
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,15 @@ room at the [CNCF Slack workspace](https://slack.cncf.io).
2929

3030
## Architecture
3131

32-
Authenticators are regular extensions that also satisfy one or more interfaces
33-
related to the authentication mechanism:
34-
35-
- [go.opentelemetry.io/collector/config/configauth/ServerAuthenticator](https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#ServerAuthenticator)
36-
- [go.opentelemetry.io/collector/config/configauth/GRPCClientAuthenticator](https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#GRPCClientAuthenticator)
37-
- [go.opentelemetry.io/collector/config/configauth/HTTPClientAuthenticator](https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#HTTPClientAuthenticator)
38-
39-
Server authenticators are used with receivers, and are able to intercept HTTP
40-
and gRPC requests, while client authenticators are used with exporters, able to
41-
add authentication data to HTTP and gRPC requests. It is possible for
42-
authenticators to implement both interfaces at the same time, allowing a single
43-
instance of the extension to be used both for the incoming and outgoing
44-
requests. Note that users might still want to have different authenticators for
45-
the incoming and outgoing requests, so, don't make your authenticator required
46-
to be used at both ends.
32+
[Authenticators] are regular extensions that also satisfy one or more interfaces
33+
related to the authentication mechanism. [Server authenticators] are used with
34+
receivers, and are able to intercept HTTP and gRPC requests, while client
35+
authenticators are used with exporters, able to add authentication data to HTTP
36+
and gRPC requests. It is possible for authenticators to implement both
37+
interfaces at the same time, allowing a single instance of the extension to be
38+
used both for the incoming and outgoing requests. Note that users might still
39+
want to have different authenticators for the incoming and outgoing requests,
40+
so, don't make your authenticator required to be used at both ends.
4741

4842
Once an authenticator extension is available in the collector distribution, it
4943
can be referenced in the configuration file as a regular extension:
@@ -129,7 +123,7 @@ service:
129123

130124
### Server authenticators
131125

132-
A server authenticator is essentially an extension with an `Authenticate`
126+
A [server authenticator][sa] is essentially an extension with an `Authenticate`
133127
function, receiving the payload headers as parameter. If the authenticator is
134128
able to authenticate the incoming connection, it should return a `nil` error, or
135129
the concrete error if it can't. As an extension, the authenticator should make
@@ -147,11 +141,8 @@ debug specific failures.
147141

148142
### Client authenticators
149143

150-
A client authenticator is one that implements one or more of the following
151-
interfaces:
152-
153-
- [go.opentelemetry.io/collector/config/configauth/GRPCClientAuthenticator](https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#GRPCClientAuthenticator)
154-
- [go.opentelemetry.io/collector/config/configauth/HTTPClientAuthenticator](https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#HTTPClientAuthenticator)
144+
A _client authenticator_ is one that implements one or more of the interfaces
145+
defined in [Client authenticators].
155146

156147
Similar to server authenticators, they are essentially extensions with extra
157148
functions, each receiving an object that gives the authenticator an opportunity
@@ -167,6 +158,13 @@ Custom authenticators have to be part of the same binary as the main collector.
167158
When building your own authenticator, you'll likely have to build a custom
168159
distribution as well, or provide means for your users to consume your extension
169160
as part of their own distributions. Fortunately, building a custom distribution
170-
can be done using the
171-
[OpenTelemetry Collector Builder](https://github.com/open-telemetry/opentelemetry-collector/tree/main/cmd/builder)
172-
utility.
161+
can be done using the [OpenTelemetry Collector Builder][builder] utility.
162+
163+
[authenticators]:
164+
https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth
165+
[builder]:
166+
https://github.com/open-telemetry/opentelemetry-collector/tree/main/cmd/builder
167+
[client authenticators]:
168+
https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#client-authenticators
169+
[sa]:
170+
https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#server-authenticators

content/en/docs/contributing/development.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ this website.
1010

1111
## Cloud-IDE setup
1212

13-
These instructions are for [Gitpod.io][], adjust as needed for your favorite
14-
cloud IDE:
13+
These instructions are for [Gitpod.io], adjust as needed for your favorite cloud
14+
IDE:
1515

1616
1. Fork this repository. For help, see [Fork a repository][fork].
17-
2. From [gitpod.io/workspaces][], create a new workspace (do this only once) or
17+
2. From [gitpod.io/workspaces], create a new workspace (do this only once) or
1818
open an existing workspace over your fork. You can also visit a link of the
1919
form:
20-
<https://gitpod.io#https://github.com/YOUR_GITHUB_ID/opentelemetry.io>.
20+
`https://gitpod.io#https://github.com/YOUR_GITHUB_ID/opentelemetry.io`.
2121

2222
> **Note**: If you have the necessary permissions to work from this
2323
> repository, or just want to look around, open

content/en/docs/languages/rust/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ OpenTelemetry for Rust publishes the following crates:
3030

3131
## Further Reading
3232

33-
- [Ecosystem](https://github.com/open-telemetry/opentelemetry-rust#ecosystem)
33+
- [Overview of crates](https://github.com/open-telemetry/opentelemetry-rust#overview-of-crates)

layouts/shortcodes/docs/languages/exporters/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Specification][OTLP].
3434
[Jaeger]: /blog/2022/jaeger-native-otlp/
3535
[OTLP]: /docs/specs/otlp/
3636
[Prometheus]:
37-
https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver
37+
https://prometheus.io/docs/prometheus/2.55/feature_flags/#otlp-receiver
3838
[vendors]: /ecosystem/vendors/
3939

4040
[reg]: /ecosystem/registry/?component=exporter&language={{ $lang }}

layouts/shortcodes/docs/languages/exporters/prometheus-setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Prometheus
22

33
To send your metric data to [Prometheus](https://prometheus.io/), you can either
4-
[enable Prometheus' OTLP Receiver](https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver)
4+
[enable Prometheus' OTLP Receiver](https://prometheus.io/docs/prometheus/2.55/feature_flags/#otlp-receiver)
55
and use the [OTLP exporter](#otlp) or you can use the Prometheus exporter, a
66
`MetricReader` that starts an HTTP server that collects metrics and serialize to
77
Prometheus text format on request.

layouts/shortcodes/ja/docs/languages/exporters/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
[Jaeger]: /blog/2022/jaeger-native-otlp/
2525
[OTLP]: /docs/specs/otlp/
2626
[Prometheus]:
27-
https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver
27+
https://prometheus.io/docs/prometheus/2.55/feature_flags/#otlp-receiver
2828
[ベンダー]: /ecosystem/vendors/
2929

3030
[reg]: /ecosystem/registry/?component=exporter&language={{ $lang }}

layouts/shortcodes/pt/docs/languages/exporters/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ consulte a [Especificação do OTLP][OTLP].
3535
[Jaeger]: /blog/2022/jaeger-native-otlp/
3636
[OTLP]: /docs/specs/otlp/
3737
[Prometheus]:
38-
https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver
38+
https://prometheus.io/docs/prometheus/2.55/feature_flags/#otlp-receiver
3939
[vendors]: /ecosystem/vendors/
4040

4141
[reg]: /ecosystem/registry/?component=exporter&language={{ $lang }}

layouts/shortcodes/pt/docs/languages/exporters/prometheus-setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Para enviar dados de métricas para o [Prometheus](https://prometheus.io/), você
44
pode
5-
[ativar o OTLP Receiver do Prometheus](https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver)
5+
[ativar o OTLP Receiver do Prometheus](https://prometheus.io/docs/prometheus/2.55/feature_flags/#otlp-receiver)
66
e utilizar o [exportador OTLP](#otlp) ou você pode utilizar o exportador do
77
Prometheus, um `MetricReader` que inicia um servidor HTTP e coleta métricas,
88
serializando para o formato de texto do Prometheus sob demanda.

scripts/get-url-status.mjs

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ export function log(...args) {
2020
}
2121

2222
// Check for fragment and corresponding anchor ID in page.
23-
async function checkForFragment(url, page, status) {
23+
async function checkForFragment(_url, page, status) {
24+
// FIXME: htmltest seems to mistakenly double escape '+' in URLs, and
25+
// ampersands as `\u0026`. Let's attempt to patch that there. TODO: address
26+
// this upstream; at least create an issue.
27+
// DISABLING FOR NOW:
28+
const url = _url; // .replace(/&#43;/g, '+').replace(/\\u0026/g, '&');
2429
const parsedUrl = new URL(url);
2530
if (parsedUrl.hash) {
2631
let fragmentID = parsedUrl.hash.substring(1); // Remove the leading '#'

static/refcache.json

+9-65
Original file line numberDiff line numberDiff line change
@@ -8423,34 +8423,6 @@
84238423
"StatusCode": 200,
84248424
"LastSeen": "2025-02-06T02:15:12.345Z"
84258425
},
8426-
"https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#instrumentation": {
8427-
"StatusCode": 206,
8428-
"LastSeen": "2025-02-06T02:15:59.999Z"
8429-
},
8430-
"https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opampbridge": {
8431-
"StatusCode": 206,
8432-
"LastSeen": "2025-02-06T02:15:59.999Z"
8433-
},
8434-
"https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollector": {
8435-
"StatusCode": 206,
8436-
"LastSeen": "2025-02-06T02:15:59.999Z"
8437-
},
8438-
"https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollector-1": {
8439-
"StatusCode": 206,
8440-
"LastSeen": "2025-02-06T02:15:59.999Z"
8441-
},
8442-
"https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollectorspectargetallocator": {
8443-
"StatusCode": 206,
8444-
"LastSeen": "2025-02-06T02:15:59.999Z"
8445-
},
8446-
"https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollectorspectargetallocatorprometheuscr": {
8447-
"StatusCode": 206,
8448-
"LastSeen": "2025-02-06T02:15:59.999Z"
8449-
},
8450-
"https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollectorspectargetallocatorprometheuscr-1": {
8451-
"StatusCode": 206,
8452-
"LastSeen": "2025-02-06T02:15:59.999Z"
8453-
},
84548426
"https://github.com/open-telemetry/opentelemetry-operator/issues/1393": {
84558427
"StatusCode": 206,
84568428
"LastSeen": "2025-02-01T07:12:16.782675-05:00"
@@ -9351,9 +9323,9 @@
93519323
"StatusCode": 206,
93529324
"LastSeen": "2025-01-13T11:44:20.947445-05:00"
93539325
},
9354-
"https://github.com/open-telemetry/opentelemetry-rust#ecosystem": {
9355-
"StatusCode": 206,
9356-
"LastSeen": "2025-02-06T02:17:59.999Z"
9326+
"https://github.com/open-telemetry/opentelemetry-rust#overview-of-crates": {
9327+
"StatusCode": 200,
9328+
"LastSeen": "2025-02-07T20:31:12.345Z"
93579329
},
93589330
"https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-aws": {
93599331
"StatusCode": 206,
@@ -9955,10 +9927,6 @@
99559927
"StatusCode": 200,
99569928
"LastSeen": "2025-02-06T02:19:12.345Z"
99579929
},
9958-
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/api.md#emit-an-event": {
9959-
"StatusCode": 206,
9960-
"LastSeen": "2025-02-06T02:19:59.999Z"
9961-
},
99629930
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/api.md#logger": {
99639931
"StatusCode": 200,
99649932
"LastSeen": "2025-02-06T02:19:12.345Z"
@@ -12459,13 +12427,9 @@
1245912427
"StatusCode": 206,
1246012428
"LastSeen": "2025-02-01T07:09:53.48738-05:00"
1246112429
},
12462-
"https://gitpod.io#https://github.com/YOUR_GITHUB_ID/opentelemetry.io": {
12463-
"StatusCode": 206,
12464-
"LastSeen": "2025-02-06T02:22:59.999Z"
12465-
},
1246612430
"https://gitpod.io/#https://github.com/open-telemetry/opentelemetry.io": {
1246712431
"StatusCode": 206,
12468-
"LastSeen": "2025-02-06T02:22:59.999Z"
12432+
"LastSeen": "2025-02-06T02:22:12.345Z"
1246912433
},
1247012434
"https://gitpod.io/workspaces": {
1247112435
"StatusCode": 206,
@@ -15091,18 +15055,6 @@
1509115055
"StatusCode": 200,
1509215056
"LastSeen": "2025-01-06T11:32:23.675071-05:00"
1509315057
},
15094-
"https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#GRPCClientAuthenticator": {
15095-
"StatusCode": 200,
15096-
"LastSeen": "2025-02-06T02:27:59.999Z"
15097-
},
15098-
"https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#HTTPClientAuthenticator": {
15099-
"StatusCode": 200,
15100-
"LastSeen": "2025-02-06T02:27:59.999Z"
15101-
},
15102-
"https://pkg.go.dev/go.opentelemetry.io/collector/config/configauth#ServerAuthenticator": {
15103-
"StatusCode": 200,
15104-
"LastSeen": "2025-02-06T02:27:59.999Z"
15105-
},
1510615058
"https://pkg.go.dev/go.opentelemetry.io/collector/confmap/provider/envprovider": {
1510715059
"StatusCode": 200,
1510815060
"LastSeen": "2024-11-19T13:34:41.905691-05:00"
@@ -15495,6 +15447,10 @@
1549515447
"StatusCode": 200,
1549615448
"LastSeen": "2025-02-06T02:29:12.345Z"
1549715449
},
15450+
"https://prometheus.io/docs/prometheus/2.55/feature_flags/#otlp-receiver": {
15451+
"StatusCode": 200,
15452+
"LastSeen": "2025-02-06T14:42:12.345Z"
15453+
},
1549815454
"https://prometheus.io/docs/prometheus/latest/configuration/configuration/": {
1549915455
"StatusCode": 206,
1550015456
"LastSeen": "2024-08-09T10:46:59.171526-04:00"
@@ -15503,10 +15459,6 @@
1550315459
"StatusCode": 200,
1550415460
"LastSeen": "2025-02-06T02:29:12.345Z"
1550515461
},
15506-
"https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver": {
15507-
"StatusCode": 206,
15508-
"LastSeen": "2025-02-06T02:29:59.999Z"
15509-
},
1551015462
"https://prometheus.io/docs/prometheus/latest/federation/": {
1551115463
"StatusCode": 206,
1551215464
"LastSeen": "2025-01-13T12:10:59.705964-05:00"
@@ -15569,7 +15521,7 @@
1556915521
},
1557015522
"https://qryn.metrico.in/#/support": {
1557115523
"StatusCode": 206,
15572-
"LastSeen": "2025-02-06T02:29:59.999Z"
15524+
"LastSeen": "2025-02-06T15:00:59.999Z"
1557315525
},
1557415526
"https://quarkus.io": {
1557515527
"StatusCode": 206,
@@ -16859,10 +16811,6 @@
1685916811
"StatusCode": 206,
1686016812
"LastSeen": "2025-02-01T07:10:54.834545-05:00"
1686116813
},
16862-
"https://www.erlang.org/doc/man/erl_error.html#format_exception-3": {
16863-
"StatusCode": 206,
16864-
"LastSeen": "2025-02-06T02:31:59.999Z"
16865-
},
1686616814
"https://www.erlang.org/doc/reference_manual/records.html": {
1686716815
"StatusCode": 206,
1686816816
"LastSeen": "2025-01-15T13:17:32.471781-05:00"
@@ -17747,10 +17695,6 @@
1774717695
"StatusCode": 200,
1774817696
"LastSeen": "2025-02-06T02:31:12.345Z"
1774917697
},
17750-
"https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES": {
17751-
"StatusCode": 206,
17752-
"LastSeen": "2025-02-06T02:31:59.999Z"
17753-
},
1775417698
"https://www.opentext.com/products/core-application-observability": {
1775517699
"StatusCode": 200,
1775617700
"LastSeen": "2024-12-04T08:45:30.976351014Z"

0 commit comments

Comments
 (0)