Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix java redirects #4562

Closed
wants to merge 1 commit into from
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
9 changes: 5 additions & 4 deletions content/en/docs/zero-code/java/agent/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
title: Java Agent
linkTitle: Agent
breedx-splk marked this conversation as resolved.
Show resolved Hide resolved
aliases:
breedx-splk marked this conversation as resolved.
Show resolved Hide resolved
- /docs/java/automatic_instrumentation
- /docs/languages/java/automatic_instrumentation
redirects: [{ from: /docs/languages/java/automatic/*, to: ':splat' }]
redirects:
- from: /docs/languages/java/automatic/spring-boot/
to: /docs/zero-code/java/spring-boot-starter
- from: /docs/languages/java/automatic/*
to: ':splat'
cSpell:ignore: Dotel myapp
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
title: Spring Boot starter
aliases:
[
/docs/languages/java/automatic/spring-boot/,
/docs/zero-code/java/spring-boot/,
]
aliases: [/docs/zero-code/java/spring-boot/]
---

You can use two options to instrument
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Out of the box instrumentation
description: Out of the box instrumentation for the starter
aliases: [../annotations]
aliases: [../instrumentation]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want the alias to stay under /spring-boot-starter/*, e.g.

Suggested change
aliases: [../instrumentation]
aliases: [instrumentation]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That alias shouldn't be there in the first place. It's been dropped in #4563.

weight: 40
cSpell:ignore: autoconfigurations autoconfigures logback webflux webmvc
---
Expand Down