@@ -12,12 +12,12 @@ cSpell:ignore: dicelib rolldice
12
12
13
13
On this page you will learn how you can add traces, metrics and logs to your
14
14
code manually. You are not limited to using one kind of instrumentation: you can
15
- also use [ automatic instrumentation] ( /docs/zero-code/net / ) to get started and
15
+ also use [ automatic instrumentation] ( /docs/zero-code/dotnet / ) to get started and
16
16
then enrich your code with manual instrumentation as needed.
17
17
18
18
Also, for libraries your code depends on, you don't have to write
19
19
instrumentation code yourself, since they might be already instrumented or there
20
- are [ instrumentation libraries] ( /docs/languages/net /libraries/ ) for them.
20
+ are [ instrumentation libraries] ( /docs/languages/dotnet /libraries/ ) for them.
21
21
22
22
{{% /alert %}}
23
23
@@ -39,7 +39,7 @@ you can refer to the [OpenTelemetry API Shim docs for tracing](../shim).
39
39
## Example app preparation {#example-app}
40
40
41
41
This page uses a modified version of the example app from
42
- [ Getting Started] ( /docs/languages/net /getting-started/ ) to help you learn about
42
+ [ Getting Started] ( /docs/languages/dotnet /getting-started/ ) to help you learn about
43
43
manual instrumentation.
44
44
45
45
You don't have to use the example app: if you want to instrument your own app or
@@ -307,15 +307,15 @@ loggerFactory.Dispose();
307
307
For debugging and local development purposes, the example exports telemetry to
308
308
the console. After you have finished setting up manual instrumentation, you need
309
309
to configure an appropriate exporter to
310
- [ export the app's telemetry data] ( /docs/languages/net /exporters/ ) to one or more
310
+ [ export the app's telemetry data] ( /docs/languages/dotnet /exporters/ ) to one or more
311
311
telemetry backends.
312
312
313
313
The example also sets up the mandatory SDK default attribute ` service.name ` ,
314
314
which holds the logical name of the service, and the optional, but highly
315
315
encouraged, attribute ` service.version ` , which holds the version of the service
316
316
API or implementation. Alternative methods exist for setting up resource
317
317
attributes. For more information, see
318
- [ Resources] ( /docs/languages/net /resources/ ) .
318
+ [ Resources] ( /docs/languages/dotnet /resources/ ) .
319
319
320
320
To verify your code, build and run the app:
321
321
@@ -670,13 +670,13 @@ private int rollOnce()
670
670
671
671
The documentation for the metrics API & SDK is missing, you can help make it
672
672
available by
673
- [ editing this page] ( https://github.com/open-telemetry/opentelemetry.io/edit/main/content/en/docs/languages/net /instrumentation.md ) .
673
+ [ editing this page] ( https://github.com/open-telemetry/opentelemetry.io/edit/main/content/en/docs/languages/dotnet /instrumentation.md ) .
674
674
675
675
## Logs
676
676
677
677
The documentation for the logs API and SDK is missing. You can help make it
678
678
available by
679
- [ editing this page] ( https://github.com/open-telemetry/opentelemetry.io/edit/main/content/en/docs/languages/net /instrumentation.md ) .
679
+ [ editing this page] ( https://github.com/open-telemetry/opentelemetry.io/edit/main/content/en/docs/languages/dotnet /instrumentation.md ) .
680
680
681
681
## Next steps
682
682
@@ -689,5 +689,5 @@ You'll also want to configure an appropriate exporter to
689
689
[ export your telemetry data] ( ../exporters/ ) to one or more telemetry backends.
690
690
691
691
You can also check the
692
- [ automatic instrumentation for .NET] ( /docs/zero-code/net / ) , which is currently
692
+ [ automatic instrumentation for .NET] ( /docs/zero-code/dotnet / ) , which is currently
693
693
in beta.
0 commit comments