From 2fc69e96a46fc4284a25196ef40816fa7a16b4a5 Mon Sep 17 00:00:00 2001 From: svrnm Date: Wed, 7 Jun 2023 14:29:00 +0200 Subject: [PATCH 1/6] Common weights for Erlang/Elixir pages --- content/en/docs/instrumentation/erlang/api.md | 2 +- content/en/docs/instrumentation/erlang/examples.md | 2 +- .../en/docs/instrumentation/erlang/getting-started/_index.md | 2 +- content/en/docs/instrumentation/erlang/instrumentation.md | 3 ++- content/en/docs/instrumentation/erlang/propagation.md | 2 +- content/en/docs/instrumentation/erlang/resources.md | 2 +- content/en/docs/instrumentation/erlang/sampling.md | 2 +- content/en/docs/instrumentation/erlang/testing.md | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/content/en/docs/instrumentation/erlang/api.md b/content/en/docs/instrumentation/erlang/api.md index c2aeb06dd787..c0aa0591bdc7 100644 --- a/content/en/docs/instrumentation/erlang/api.md +++ b/content/en/docs/instrumentation/erlang/api.md @@ -4,5 +4,5 @@ linkTitle: API redirect: https://hexdocs.pm/opentelemetry_api/OpenTelemetry.html manualLinkTarget: _blank _build: { render: link } -weight: 50 +weight: 210 --- diff --git a/content/en/docs/instrumentation/erlang/examples.md b/content/en/docs/instrumentation/erlang/examples.md index 001c26c43d0e..57d5c59c5eb5 100644 --- a/content/en/docs/instrumentation/erlang/examples.md +++ b/content/en/docs/instrumentation/erlang/examples.md @@ -3,5 +3,5 @@ title: Examples redirect: https://github.com/open-telemetry/opentelemetry-erlang-contrib/tree/main/examples manualLinkTarget: _blank _build: { render: link } -weight: 60 +weight: 220 --- diff --git a/content/en/docs/instrumentation/erlang/getting-started/_index.md b/content/en/docs/instrumentation/erlang/getting-started/_index.md index c02007f7ac3f..af01bfde597c 100644 --- a/content/en/docs/instrumentation/erlang/getting-started/_index.md +++ b/content/en/docs/instrumentation/erlang/getting-started/_index.md @@ -1,6 +1,6 @@ --- title: Getting Started -weight: 20 +weight: 10 spelling: cSpell:ignore rebar relx stdlib bogons spelling: cSpell:ignore defmodule erts hipe Eshell erlang --- diff --git a/content/en/docs/instrumentation/erlang/instrumentation.md b/content/en/docs/instrumentation/erlang/instrumentation.md index e3dbdc8c6831..3f8b88f5a916 100644 --- a/content/en/docs/instrumentation/erlang/instrumentation.md +++ b/content/en/docs/instrumentation/erlang/instrumentation.md @@ -1,5 +1,6 @@ --- -title: Instrumentation +title: Manual +aliases: [/docs/instrumentation/erlang/instrumentation/] weight: 30 --- diff --git a/content/en/docs/instrumentation/erlang/propagation.md b/content/en/docs/instrumentation/erlang/propagation.md index 7fa81eb61439..a3810578fb55 100644 --- a/content/en/docs/instrumentation/erlang/propagation.md +++ b/content/en/docs/instrumentation/erlang/propagation.md @@ -1,6 +1,6 @@ --- title: Propagation -weight: 35 +weight: 60 --- ## Cross Service Propagators diff --git a/content/en/docs/instrumentation/erlang/resources.md b/content/en/docs/instrumentation/erlang/resources.md index 6ac2837a332c..a3175f11fc79 100644 --- a/content/en/docs/instrumentation/erlang/resources.md +++ b/content/en/docs/instrumentation/erlang/resources.md @@ -1,6 +1,6 @@ --- title: Resources -weight: 36 +weight: 70 --- A [resource](/docs/specs/otel/overview/#resources) represents an entity diff --git a/content/en/docs/instrumentation/erlang/sampling.md b/content/en/docs/instrumentation/erlang/sampling.md index d620f477e36f..f24208a9758a 100644 --- a/content/en/docs/instrumentation/erlang/sampling.md +++ b/content/en/docs/instrumentation/erlang/sampling.md @@ -1,6 +1,6 @@ --- title: Sampling -weight: 37 +weight: 80 --- [Sampling](/docs/concepts/sampling/) is a process that restricts the amount of diff --git a/content/en/docs/instrumentation/erlang/testing.md b/content/en/docs/instrumentation/erlang/testing.md index 7dd3ebec3132..639a964fae44 100644 --- a/content/en/docs/instrumentation/erlang/testing.md +++ b/content/en/docs/instrumentation/erlang/testing.md @@ -1,6 +1,6 @@ --- title: Testing -weight: 40 +weight: 90 --- When relying on OpenTelemetry for your Observability needs, it can be important From a415af53bb6e41a1a32f1cf186ffe0b4c1c2ebb2 Mon Sep 17 00:00:00 2001 From: svrnm Date: Wed, 7 Jun 2023 14:39:06 +0200 Subject: [PATCH 2/6] rename files --- .../erlang/{getting-started/_index.md => getting-started.md} | 0 .../docs/instrumentation/erlang/{instrumentation.md => manual.md} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename content/en/docs/instrumentation/erlang/{getting-started/_index.md => getting-started.md} (100%) rename content/en/docs/instrumentation/erlang/{instrumentation.md => manual.md} (100%) diff --git a/content/en/docs/instrumentation/erlang/getting-started/_index.md b/content/en/docs/instrumentation/erlang/getting-started.md similarity index 100% rename from content/en/docs/instrumentation/erlang/getting-started/_index.md rename to content/en/docs/instrumentation/erlang/getting-started.md diff --git a/content/en/docs/instrumentation/erlang/instrumentation.md b/content/en/docs/instrumentation/erlang/manual.md similarity index 100% rename from content/en/docs/instrumentation/erlang/instrumentation.md rename to content/en/docs/instrumentation/erlang/manual.md From ce22f36848468d98064f26888697f2d6cce06e69 Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Wed, 7 Jun 2023 14:47:31 +0200 Subject: [PATCH 3/6] Update testing.md --- content/en/docs/instrumentation/erlang/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/instrumentation/erlang/testing.md b/content/en/docs/instrumentation/erlang/testing.md index 639a964fae44..2627f2e6259e 100644 --- a/content/en/docs/instrumentation/erlang/testing.md +++ b/content/en/docs/instrumentation/erlang/testing.md @@ -1,6 +1,6 @@ --- title: Testing -weight: 90 +weight: 100 --- When relying on OpenTelemetry for your Observability needs, it can be important From 449bd417238ab9de6d4b1119362bbf6699d897cf Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Wed, 7 Jun 2023 14:47:45 +0200 Subject: [PATCH 4/6] Update content/en/docs/instrumentation/erlang/manual.md Co-authored-by: Patrice Chalin --- content/en/docs/instrumentation/erlang/manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/instrumentation/erlang/manual.md b/content/en/docs/instrumentation/erlang/manual.md index 3f8b88f5a916..bd5da190a92f 100644 --- a/content/en/docs/instrumentation/erlang/manual.md +++ b/content/en/docs/instrumentation/erlang/manual.md @@ -1,6 +1,6 @@ --- title: Manual -aliases: [/docs/instrumentation/erlang/instrumentation/] +aliases: [/docs/instrumentation/erlang/instrumentation] weight: 30 --- From 7d027216efd0bc1bbee2d7c9d0046bbc2d5c42ea Mon Sep 17 00:00:00 2001 From: svrnm Date: Wed, 7 Jun 2023 16:25:47 +0200 Subject: [PATCH 5/6] fix links --- content/en/docs/instrumentation/erlang/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/instrumentation/erlang/getting-started.md b/content/en/docs/instrumentation/erlang/getting-started.md index af01bfde597c..3032e9571d2c 100644 --- a/content/en/docs/instrumentation/erlang/getting-started.md +++ b/content/en/docs/instrumentation/erlang/getting-started.md @@ -287,7 +287,7 @@ when rendered in your tracing tool of choice. ### Next Steps Enrich your automatically generated instrumentation with -[manual instrumentation](/docs/instrumentation/erlang/instrumentation) of your +[manual instrumentation](/docs/instrumentation/erlang/manual) of your own codebase. This allows you to customize the observability data your application emits. From 0115f179c5e9b550bc2b9f6c382dd638b3dcbf24 Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Wed, 7 Jun 2023 16:50:13 +0200 Subject: [PATCH 6/6] Update content/en/docs/instrumentation/erlang/getting-started.md Co-authored-by: Fred Hebert --- content/en/docs/instrumentation/erlang/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/instrumentation/erlang/getting-started.md b/content/en/docs/instrumentation/erlang/getting-started.md index 3032e9571d2c..55dfcc2da0a0 100644 --- a/content/en/docs/instrumentation/erlang/getting-started.md +++ b/content/en/docs/instrumentation/erlang/getting-started.md @@ -287,9 +287,9 @@ when rendered in your tracing tool of choice. ### Next Steps Enrich your automatically generated instrumentation with -[manual instrumentation](/docs/instrumentation/erlang/manual) of your -own codebase. This allows you to customize the observability data your -application emits. +[manual instrumentation](/docs/instrumentation/erlang/manual) of your own +codebase. This allows you to customize the observability data your application +emits. You'll also want to configure an appropriate exporter to [export your telemetry data](/docs/instrumentation/erlang/getting-started#exporting-to-the-opentelemetry-collector)