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

Common weights for JS pages #2834

Merged
merged 6 commits into from
Jun 7, 2023
Merged
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
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ linkTitle: API
redirect: https://open-telemetry.github.io/opentelemetry-js/
manualLinkTarget: _blank
_build: { render: link }
weight: 50
weight: 210
---
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/automatic/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Automatic Instrumentation
linkTitle: Automatic
weight: 30
weight: 20
---

Automatic instrumentation provides a way to instrument any Node.js application
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Automatic Instrumentation Configuration
linkTitle: Configuration
weight: 45
weight: 10
---

This module is highly configurable by setting
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Context
description: OpenTelemetry JavaScript Context API Documentation
aliases: [/docs/instrumentation/js/api/context]
weight: 8
weight: 60
---

In order for OpenTelemetry to work, it must store and propagate important
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Instrumentation Examples
title: Examples
aliases: [/docs/instrumentation/js/instrumentation_examples]
weight: 99
weight: 220
---

Here are some of the resources for OpenTelemetry instrumentation examples.
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/exporters.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Exporters
weight: 5
weight: 50
spelling: cSpell:ignore proto nginx openzipkin
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Getting Started
aliases: [/docs/js/getting_started]
weight: 1
weight: 10
---

These two guides for Node.js and the browser use simple examples in javascript
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Browser
aliases: [/docs/js/getting_started/browser]
weight: 3
weight: 20
---

While this guide uses the example application presented below, the steps to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Node.js
description: Get telemetry for your app in less than 5 minutes!
aliases: [/docs/js/getting_started/nodejs]
spelling: cSpell:ignore rolldice autoinstrumentation autoinstrumentations KHTML
weight: 2
weight: 10
---

This page will show you how to get started with OpenTelemetry in Node.js.
Expand Down Expand Up @@ -454,8 +454,8 @@ the console output, such as the following:
## Next Steps

Enrich your instrumentation generated automatically with
[manual instrumentation](/docs/instrumentation/js/instrumentation) of your own
codebase. This gets you customized observability data.
[manual instrumentation](/docs/instrumentation/js/manual) of your own codebase.
This gets you customized observability data.

You'll also want to configure an appropriate exporter to
[export your telemetry data](/docs/instrumentation/js/exporters) to one or more
Expand Down
6 changes: 3 additions & 3 deletions content/en/docs/instrumentation/js/libraries.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Using instrumentation libraries
linkTitle: Libraries
weight: 3
weight: 40
spelling: cSpell:ignore autoinstrumentation metapackage
---

Expand Down Expand Up @@ -256,8 +256,8 @@ You can also find more instrumentations available in the
## Next steps

After you have set up instrumentation libraries, you may want to add
[manual instrumentation](/docs/instrumentation/js/instrumentation) to collect
custom telemetry data.
[manual instrumentation](/docs/instrumentation/js/manual) to collect custom
telemetry data.

You'll also want to configure an appropriate exporter to
[export your telemetry data](/docs/instrumentation/js/exporters) to one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
title: Instrumentation
aliases: [/docs/instrumentation/js/api/tracing]
weight: 4
title: Manual
aliases:
- /docs/instrumentation/js/api/tracing
- /docs/instrumentation/js/instrumentation
weight: 30
spelling: cSpell:ignore Millis
---

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/propagation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Propagation
description: Context propagation for the JS SDK
aliases: [/docs/instrumentation/js/api/propagation]
weight: 7
weight: 65
spelling: cSpell:ignore traceparent tracestate
---

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Resources
weight: 6
weight: 70
---

A [resource][] represents the entity producing telemetry as resource attributes.
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/sampling.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Sampling
weight: 9
weight: 80
---

[Sampling](/docs/concepts/sampling/) is a process that restricts the amount of
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/js/serverless.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Serverless
weight: 8
weight: 100
spelling: cSpell:ignore otelwrapper
---

Expand Down