Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Serkan ÖZAL committed Mar 1, 2021
1 parent 73a0cdc commit a05b885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export const SpanTypes = {
};

export const INTEGRATIONS: any = {

http: HttpIntegration,
pg: PostgreIntegration,
mysql2: MySQL2Integration,
mysql: MySQLIntegration,
Expand All @@ -541,7 +541,6 @@ export const INTEGRATIONS: any = {
aws: AWSIntegration,
es: ESIntegration,
mongodb: MongoDBIntegration,
http: HttpIntegration,
};

export const LISTENERS: any = {
Expand Down
3 changes: 1 addition & 2 deletions src/integrations/HttpIntegration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import ThundraLogger from '../ThundraLogger';
import HttpError from '../error/HttpError';
import ThundraSpan from '../opentracing/Span';
import ThundraChaosError from '../error/ThundraChaosError';
import ExecutionContextManager from '../context/ExecutionContextManager';

const shimmer = require('shimmer');
const has = require('lodash.has');
Expand Down Expand Up @@ -78,7 +77,7 @@ class HttpIntegration implements Integration {
let span: ThundraSpan;
try {
ThundraLogger.debug('<HTTPIntegration> Tracing HTTP request:', options);

const ExecutionContextManager = require('../context/ExecutionContextManager').default;
const { tracer } = ExecutionContextManager.get();
// @ts-ignore
const { id } = ExecutionContextManager.get();
Expand Down

0 comments on commit a05b885

Please sign in to comment.