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
Example of using Web Tracer with document load plugin with console exporter and collector exporter
36
+
Example of using Web Tracer with document load instrumentation with console exporter and collector exporter
37
37
</body>
38
38
</html>
39
39
```
40
40
41
41
## Installation
42
42
43
-
To create traces in the browser, you will need `@opentelemetry/sdk-web-tracing`, and the plugin`@opentelemetry/plugin-document-load`:
43
+
To create traces in the browser, you will need `@opentelemetry/sdk-web-tracing`, and the instrumentation`@opentelemetry/instrumentation-document-load`:
44
44
45
45
```shell
46
46
npm init -y
@@ -59,7 +59,7 @@ We will add some code that will trace the document load timings and output those
59
59
60
60
## Creating a Tracer Provider
61
61
62
-
Add the following code to the `document-load.js` to create a tracer provider, which brings the plugin to trace document load:
62
+
Add the following code to the `document-load.js` to create a tracer provider, which brings the instrumentaion to trace document load:
0 commit comments