You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALLING_OTEL.md
+21-10Lines changed: 21 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,9 @@ You will find files in different versions in this repository
10
10
-`v2a` is using on HTTP protocol for sending traces
11
11
-`v2b` is using on GRPC protocol for sending traces
12
12
-`v3` are files with Otel Instrumentation sending output to otel-collector (using grpc), and otel-Collector sending them to different backends (Jaeger and Lightstep)
13
-
-`v4` are files when we add custom attributes and log events to the auto-instrumentation
14
-
-`v5` are files when we add custom spans
15
-
-`v6` are files when we add metrics
16
-
-`v7` are files when we add custom metrics to the auto-instrumentation
13
+
-`v4` are files when we add custom attributes, log events, and new spans to the auto-instrumentation
14
+
-`v5` are files when we add metrics
15
+
-`v6` are files when we add custom metrics to the auto-instrumentation
17
16
18
17
If you don't find files in a specific version, it may just be because this file is not impacted by the new features we are adding
19
18
@@ -237,6 +236,8 @@ environment:
237
236
238
237
## v4 - Add custom attributes and log events
239
238
239
+
- Edit `docker-compose.yml` file, for each line `- OTEL_RESOURCE_ATTRIBUTES=service.name=<yourServiceName>`, add a new attribute `service.version=4.0.0` with a comma separator, so lines become something like `- OTEL_RESOURCE_ATTRIBUTES=service.name=<yourServiceName>,service.version=4.0.0`
240
+
240
241
- In `/src` folder of the web component, update file `index.js` file with code below:
241
242
- Add the OpenTelemetry library by putting this at top of your code `const api = require('@opentelemetry/api');`
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@ Need to build a microservices application? Learn how to do this with [Bootstrapp
21
21
-`v1` are files with Otel Instrumentation sending output (traces or metrics) to console logs
22
22
-`v2` are files with Otel Instrumentation sending output to otel-collector
23
23
-`v3` are files with Otel Instrumentation sending output to otel-collector, and otel-Collector sending them to different backends (Jaeger and Lightstep)
24
-
-`v4` are files when we add custom attributes and log events to the auto-instrumentation
24
+
-`v4` are files when we add custom attributes, log events, and new spans to the auto-instrumentation
0 commit comments