Skip to content

Commit

Permalink
test7
Browse files Browse the repository at this point in the history
  • Loading branch information
akram185 committed Jun 17, 2021
1 parent 74b14ec commit 7d10780
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { Route } from "react-router-dom";
import tracer from "dd-trace";
// import tracer from "dd-trace";


import CreateMotorcycle from "./CreateMotorcycle";
Expand All @@ -26,8 +26,15 @@ datadogRum.init({

// tracer = require('dd-trace').init();

const tracer = require('dd-trace').init()
const span = tracer.scope().active(span)
import { tracer } from "dd-trace";

tracer.init({
DD_ENV: 'production',
DD_LOGS_INJECTION: true
});

//const tracer = require('dd-trace').init()
// const span = tracer.scope().active()


function App() {
Expand Down

0 comments on commit 7d10780

Please sign in to comment.