@@ -5,20 +5,19 @@ installing and configuring upstream OpenTelemetry .NET packages. Follow these
5
5
steps if you want to migrate from this distribution to the upstream
6
6
OpenTelemetry .NET project.
7
7
8
- - Set appropriate environment variables or web.config/ app.config values as
9
- explained [ here] ( https://grafana.com/docs/grafana-cloud/send- data/otlp/send-data-otlp/#push-directly-from-applications-using- the-opentelemetry-sdks )
8
+ - Set appropriate environment variables or ` web.config ` / ` app.config ` values as
9
+ explained here: [ Send data to the Grafana Cloud OTLP endpoint ] [ publish-otlp ]
10
10
- Install and activate the OpenTelemetry SDK,
11
- as covered in the upstream [ Getting Started] ( https://github.com/open-telemetry/opentelemetry-dotnet#getting-started )
12
- guide
11
+ as covered in the upstream [ Getting Started] [ getting-started ] guide
13
12
- Setup the OTLP exporter for metrics, logs, and traces - see the
14
- [ exporter README] ( https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md )
15
- for details. The exporter will respect the previously set environment variables:
13
+ [ exporter README] [ exporter-readme ] for details. The exporter will respect the
14
+ previously set environment variables:
16
15
- ` OTEL_EXPORTER_OTLP_PROTOCOL `
17
16
- ` OTEL_EXPORTER_OTLP_ENDPOINT `
18
17
- ` OTEL_EXPORTER_OTLP_HEADERS `
19
18
- Install and configure any desired instrumentation packages
20
- [ listed here] ( ./supported-instrumentations.md )
21
- - [ Add the OpenTelemetry resource attributes] ( https://grafana.com/docs/opentelemetry/instrumentation/configuration/ resource-attributes/ )
19
+ [ listed here] ( ./supported-instrumentations.md )
20
+ - [ Add the OpenTelemetry resource attributes] [ resource-attributes ]
22
21
via the ` OTEL_RESOURCE_ATTRIBUTES ` environment variable
23
22
- ` service.name `
24
23
- ` service.namespace `
@@ -29,3 +28,8 @@ via the `OTEL_RESOURCE_ATTRIBUTES` environment variable
29
28
``` shell
30
29
export OTEL_RESOURCE_ATTRIBUTES=service.instance.id=< pod123> ,deployment.environment=...
31
30
```
31
+
32
+ [ exporter-readme ] : https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md
33
+ [ getting-started ] : https://github.com/open-telemetry/opentelemetry-dotnet#getting-started
34
+ [ publish-otlp ] : https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/#quickstart-architecture
35
+ [ resource-attributes ] : https://grafana.com/docs/grafana-cloud/monitor-applications/application-observability/instrument/resource-attributes/
0 commit comments