mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
Update telemetry imports
This commit is contained in:
parent
ccb960f30e
commit
dfbf9a827f
@ -12,8 +12,8 @@ import {
|
||||
OpenTelemetryExporterOtlpEndpoint,
|
||||
OpenTelemetryExporterOtlpHeaders,
|
||||
} from '../Config';
|
||||
import {FetchInstrumentation} from '@opentelemetry/instrumentation-fetch';
|
||||
import { XMLHttpRequestInstrumentation } from "@opentelemetry/instrumentation-xml-http-request";
|
||||
import { FetchInstrumentation } from '@opentelemetry/instrumentation-fetch';
|
||||
import { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';
|
||||
|
||||
const providerConfig: TracerConfig = {
|
||||
resource: new Resource({
|
||||
@ -46,6 +46,6 @@ provider.register({
|
||||
registerInstrumentations({
|
||||
instrumentations: [
|
||||
new FetchInstrumentation(),
|
||||
new XMLHttpRequestInstrumentation()
|
||||
new XMLHttpRequestInstrumentation(),
|
||||
],
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user