From e27dc4eb410fc0176b7e2f703c02a3cb28478d0f Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 31 Jan 2024 13:45:58 -0300 Subject: [PATCH] chore: update canonical URLs (#1493) * chore: update canonical URLs * chore: update remaining canonical URls * chore: more updates * chore: update examples canonical * chore: remove noindex from Grafana examples * chore: add canonicals for average load and spike testing --- docs/sources/next/examples/_index.md | 1 - docs/sources/v0.49.x/examples/_index.md | 1 - .../translated-guides/en/06 Test Types/00 Load test types.md | 3 +-- .../translated-guides/en/06 Test Types/01 Smoke Testing.md | 3 +-- .../translated-guides/en/06 Test Types/02 Load Testing.md | 3 +-- .../translated-guides/en/06 Test Types/03 Stress testing.md | 3 +-- .../translated-guides/en/06 Test Types/05 Soak Testing.md | 3 +-- .../translated-guides/en/06 Test Types/06-spike-testing.md | 2 +- .../en/06 Test Types/07-breakpoint-testing.md | 3 +-- .../en/07 Testing Guides/01 API load testing.md | 3 +-- .../en/07 Testing Guides/03 Load testing websites.md | 3 +-- src/utils/seo-metadata.js | 3 +-- 12 files changed, 10 insertions(+), 21 deletions(-) diff --git a/docs/sources/next/examples/_index.md b/docs/sources/next/examples/_index.md index 9788661fd..3b126c0c8 100644 --- a/docs/sources/next/examples/_index.md +++ b/docs/sources/next/examples/_index.md @@ -1,7 +1,6 @@ --- title: Examples weight: 11 -noindex: true --- # Examples diff --git a/docs/sources/v0.49.x/examples/_index.md b/docs/sources/v0.49.x/examples/_index.md index 9788661fd..3b126c0c8 100644 --- a/docs/sources/v0.49.x/examples/_index.md +++ b/docs/sources/v0.49.x/examples/_index.md @@ -1,7 +1,6 @@ --- title: Examples weight: 11 -noindex: true --- # Examples diff --git a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md index c07a852bd..25cf5c968 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md @@ -2,8 +2,7 @@ title: 'Load test types' head_title: 'Understanding the Different Types of Load Tests: Goals and Recommendations' excerpt: 'A series of conceptual articles explaining the different types of load tests. Learn about planning, running, and interpreting different tests for different performance goals.' -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/load-testing/load-testing-types/ +canonicalUrl: https://grafana.com/load-testing/types-of-load-testing/ --- Many things can go wrong when a system is under load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md index 44edb46cb..203d94fa5 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md @@ -2,8 +2,7 @@ title: "Smoke testing" head_title: 'What is Smoke Testing? How to create a Smoke Test in k6' excerpt: "A Smoke test is a minimal load test to run when you create or modify a script." -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/ +canonicalUrl: https://grafana.com/blog/2024/01/30/smoke-testing/ --- Smoke tests have a minimal load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md index 5d1f4868f..ebc3b8e99 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md @@ -2,8 +2,7 @@ title: 'Load testing' head_title: 'What is Load Testing? How to create a Load Test in k6' excerpt: 'An average load test assesses the performance of your system in terms of concurrent users or requests per second.' -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/ +canonicalUrl: https://grafana.com/blog/2024/01/30/average-load-testing/ --- An average-load test assesses how the system performs under typical load. Typical load might be a regular day in production or an average moment. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md index 75261595b..f0203acef 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md @@ -2,8 +2,7 @@ title: 'Stress testing' head_title: 'What is Stress Testing? How to create a Stress Test in k6' excerpt: 'Stress tests assess the limits of your system and stability under extreme conditions.' -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/ +canonicalUrl: https://grafana.com/blog/2024/01/30/stress-testing/ --- Stress testing assesses how the system performs when loads are heavier than usual. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md index e2acd5cd3..dfaf04bc6 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md @@ -2,8 +2,7 @@ title: 'Soak testing' head_title: 'What is Soak Testing? How to create a Soak Test in k6' excerpt: 'A Soak Test tests the reliability and performance of your system over extended periods of use.' -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/ +canonicalUrl: https://grafana.com/blog/2024/01/30/soak-testing/ --- Soak testing is another variation of the Average-Load test. It focuses on extended periods, analyzing the following: diff --git a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md index 8179d08fb..740e4712e 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md @@ -1,7 +1,7 @@ --- title: 'Spike testing' excerpt: 'Spike tests simulate moments of short, extreme load' -canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/test-types/spike-testing/ +canonicalUrl: https://grafana.com/blog/2024/01/30/spike-testing/ --- A spike test verifies whether the system survives and performs under sudden and massive rushes of utilization. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md index 8d09a6519..1dc1db855 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md @@ -1,8 +1,7 @@ --- title: 'Breakpoint testing' excerpt: 'Breakpoint tests aim to find system limits. They increase load until the system fails.' -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/ +canonicalUrl: https://grafana.com/blog/2024/01/30/breakpoint-testing/ --- Breakpoint testing aims to find system limits. Reasons you might want to know the limits include: diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md index 0f58fb69f..91a2ad99a 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md @@ -2,8 +2,7 @@ title: 'API load testing' head_title: 'Intro to API Load Testing: The k6 Guide' excerpt: 'Load testing APIs has many facets. This guide introduces you to performance testing and provides best practices to load test your APIs with k6.' -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/ +canonicalUrl: https://grafana.com/blog/2024/01/30/api-load-testing/ --- An API load test generally starts with small loads on isolated components. diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md b/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md index 43533f76f..5517c8252 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md @@ -2,8 +2,7 @@ title: 'Load testing websites' head_title: 'How to Load Test a Website: The k6 Guide' excerpt: 'Do you know how many users your site can handle? This guide answers the WHY and WHEN you should load test your website and gives you the best practices for load testing websites or web apps with k6. Let’s get started.' -# // TODO: Point canonical to new URL once it's published -# canonicalUrl: https://grafana.com/ +canonicalUrl: https://grafana.com/blog/2024/01/30/load-testing-websites/ --- This doc explains some key concepts about load testing websites, including: diff --git a/src/utils/seo-metadata.js b/src/utils/seo-metadata.js index 3639b580c..415f447ad 100644 --- a/src/utils/seo-metadata.js +++ b/src/utils/seo-metadata.js @@ -44,8 +44,7 @@ export default { examples: { data: { title: 'k6 Examples & Tutorials', - // TODO: Point canonical to new URL once it's published - // canonicalUrl: 'https://grafana.com/load-testing/load-testing-examples/', + canonicalUrl: 'https://grafana.com/docs/k6/latest/examples/', description: 'The k6 Examples & Tutorials is a directory with common k6 examples and the most popular tutorials using k6.', },