File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2018 Expedia, Inc.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ import SpanContext from './span_context' ;
18+ import Span from './span' ;
19+ import Tracer from './tracer' ;
20+
21+ import NoopDispatcher from './dispatchers/noop' ;
22+ import InMemoryDispatcher from './dispatchers/in_memory' ;
23+ import FileDispatcher from './dispatchers/file' ;
24+ import AgentDispatcher from './dispatchers/remote' ;
25+ import Configuration from './configuration' ;
26+
27+ import * as opentracing from 'opentracing' ;
28+
29+ export {
30+ Configuration ,
31+ Tracer ,
32+ SpanContext ,
33+ Span ,
34+ NoopDispatcher ,
35+ InMemoryDispatcher ,
36+ FileDispatcher ,
37+ AgentDispatcher ,
38+ opentracing
39+ } ;
40+
41+ module . exports = {
42+ Configuration,
43+ initTracer : Tracer . initTracer ,
44+ SpanContext,
45+ Span,
46+ Tracer,
47+ NoopDispatcher,
48+ InMemoryDispatcher,
49+ FileDispatcher,
50+ AgentDispatcher,
51+ opentracing
52+ } ;
You can’t perform that action at this time.
0 commit comments