Skip to content

Commit

Permalink
Undo test code
Browse files Browse the repository at this point in the history
  • Loading branch information
mhennoch committed Oct 15, 2021
1 parent fa08ab3 commit 0ef012e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions examples/web/examples/document-load/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
</head>

<body>
Example of using Web Tracer with document load plugin with console exporter and collector exporter
<script type="text/javascript" src="document-load.js"></script>

<button id="button1">asd</button>
<br/>
<button id="button1">Test WebTracer with ZoneContextManager - async</button>

</body>

Expand Down
2 changes: 0 additions & 2 deletions examples/web/examples/document-load/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { CollectorTraceExporter } from '@opentelemetry/exporter-collector';
import { B3Propagator } from '@opentelemetry/propagator-b3';
import { CompositePropagator, HttpTraceContextPropagator } from '@opentelemetry/core';
import { registerInstrumentations } from '@opentelemetry/instrumentation';
import { WebVitalsInstrumentation } from '@opentelemetry/instrumentation-web-vitals';

const provider = new WebTracerProvider();
provider.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));
Expand All @@ -32,7 +31,6 @@ registerInstrumentations({
'http://localhost:8090',
],
}),
new WebVitalsInstrumentation({enabled: false})
],
tracerProvider: provider,
});
Expand Down
1 change: 0 additions & 1 deletion examples/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"@opentelemetry/instrumentation": "^0.25.0",
"@opentelemetry/instrumentation-document-load": "^0.23.0",
"@opentelemetry/instrumentation-user-interaction": "^0.23.0",
"@opentelemetry/instrumentation-web-vitals": "file:../../plugins/web/opentelemetry-instrumentation-web-vitals/opentelemetry-instrumentation-web-vitals-0.25.0.tgz",
"@opentelemetry/instrumentation-xml-http-request": "^0.25.0",
"@opentelemetry/propagator-b3": "^0.25.0",
"@opentelemetry/sdk-trace-base": "^0.25.0",
Expand Down

0 comments on commit 0ef012e

Please sign in to comment.