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 link intra-site links #1198

Merged
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 11 additions & 12 deletions content/en/docs/instrumentation/erlang/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ run as a Release and export spans from.
{{< tabs Erlang Elixir >}}

{{< tab >}}
{deps, [{opentelemetry_api, "~> 1.0"},
{deps, [{opentelemetry_api, "~> 1.0"},
{opentelemetry, "~> 1.0"}]}.
{{< /tab >}}

Expand All @@ -71,7 +71,7 @@ end

In the case of Erlang, the Applications will also need to be added to
`src/otel_getting_started.app.src`. In an Elixir project, a `releases`
section needs to be added to `mix.exs`:
section needs to be added to `mix.exs`:

{{< tabs Erlang Elixir >}}

Expand Down Expand Up @@ -131,7 +131,7 @@ of span processor that batches up multiple spans over a period of time:

{{< tab >}}
# config/runtime.exs
config :opentelemetry,
config :opentelemetry,
span_processor: :batch,
exporter: {:otel_exporter_stdout, []}
{{< /tab >}}
Expand Down Expand Up @@ -196,12 +196,12 @@ context propagation and for getting the tracer.
Inside our function, we're creating a new span named `operation` with the
`with_span` macro. The macro sets the new span as `active` in the current
context -- stored in the process dictionary, since we aren't passing a
context as a variable.
context as a variable.

Spans can have attributes and events, which are metadata and log statements that
help you interpret traces after-the-fact. The first span has an event `Nice
operation!`, with attributes on the event, as well as an attribute set on the
span itself.
span itself.

Finally, in this code snippet, we can see an example of creating a child span of
the currently-active span. When the `with_span` macro starts a new span, it uses
Expand Down Expand Up @@ -247,7 +247,7 @@ Compiling 1 file (.ex)
Interactive Elixir (1.11.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> OtelGettingStarted.hello()
true
iex(2)>
iex(2)>
*SPANS FOR DEBUG*
{span,180094370450826032544967824850795294459,5969980227405956772,undefined,
14276444653144535440,<<"Sub operation...">>,'INTERNAL',
Expand All @@ -271,10 +271,9 @@ The [Collector](/docs/collector/) provides a vendor agnostic way to receive,
process and export telemetry data. The package
[opentelemetry_exporter](https://hex.pm/packages/opentelemetry_exporter)
provides support for both exporting over both HTTP (the default) and gRPC to the
collector which can then export Spans to a self-hosted service like Zipkin or
collector, which can then export Spans to a self-hosted service like Zipkin or
Jaeger, as well as commercial services. For a full list of available exporters,
see [the exporters in the OpenTelemetry
Registry](https://opentelemetry.io/registry/?component=exporter).
see the [registry](/registry/?component=exporter).

For testing purposes the `opentelemetry-erlang` repo has a Collector
configuration,
Expand All @@ -290,7 +289,7 @@ added to the project's dependencies:
{{< tabs Erlang Elixir >}}

{{< tab >}}
{deps, [{opentelemetry_api, "~> 1.0"},
{deps, [{opentelemetry_api, "~> 1.0"},
{opentelemetry, "~> 1.0"},
{opentelemetry_exporter, "~> 1.0"}]}.
{{< /tab >}}
Expand Down Expand Up @@ -358,15 +357,15 @@ for the `otlp_protocol` the endpoint should be changed to `http://localhost:4317
[{span_processor, batch},
{exporter, otlp}]},

{opentelemetry_exporter,
{opentelemetry_exporter,
[{otlp_protocol, http_protobuf},
{otlp_endpoint, "http://localhost:4318"}]}]}
].
{{< /tab >}}

{{< tab >}}
# config/runtime.exs
config :opentelemetry,
config :opentelemetry,
span_processor: :batch,
exporter: :otlp

Expand Down
12 changes: 6 additions & 6 deletions content/en/docs/instrumentation/net/automatic.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ linkTitle: Automatic
---

.NET supports automatic instrumentation with [instrumentation
libraries](https://opentelemetry.io/docs/reference/specification/glossary/#instrumentation-library)
libraries](/docs/reference/specification/glossary/#instrumentation-library)
that generate telemetry data for a particular instrumented library.

For example, the instrumentation library for ASP.NET Core will automatically
Expand Down Expand Up @@ -98,12 +98,10 @@ automatically.
## Available instrumentation libraries

A full list of instrumentation libraries produced by OpenTelemetry is available
in the
[opentelemetry-dotnet](https://github.com/open-telemetry/opentelemetry-dotnet)
repository.
from the [opentelemetry-dotnet][] repository.

You can also find more instrumentations available in the [opentelemetry
registry](https://opentelemetry.io/registry/?language=dotnet&component=instrumentation).
You can also find more instrumentations available in the
[registry](/registry/?language=dotnet&component=instrumentation).

## Next steps

Expand All @@ -116,3 +114,5 @@ instrumentation libraries on .NET Framework.

You'll also want to configure an appropriate exporter to [export your telemetry
data]({{< relref "exporters" >}}) to one or more telemetry backends.

[opentelemetry-dotnet]: https://github.com/open-telemetry/opentelemetry-dotnet
2 changes: 1 addition & 1 deletion content/en/docs/migration/opentracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ For details on how each individual OpenTracing shim works, see the appropriate
language-specific documentation. For details on the design of the OpenTracing
shim, see [OpenTracing Compatibility][OT_spec].

[.NET]: https://opentelemetry.io/docs/instrumentation/net/shim/
[.NET]: /docs/instrumentation/net/shim/
[Go]: https://pkg.go.dev/go.opentelemetry.io/otel/bridge/opentracing
[Java]: https://github.com/open-telemetry/opentelemetry-java/tree/main/opentracing-shim
[Javascript]: https://www.npmjs.com/package/@opentelemetry/shim-opentracing
Expand Down