UNPKG

2.57 kBTypeScriptView Raw
1/**
2 * Copyright 2018, OpenCensus Authors
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 */
16export * from './trace/types';
17export * from './trace/model/types';
18export * from './trace/config/types';
19export * from './trace/sampler/types';
20export * from './trace/instrumentation/types';
21export * from './trace/propagation/types';
22export * from './exporters/types';
23export * from './common/types';
24export * from './metrics/types';
25export * from './metrics/cumulative/types';
26export * from './metrics/gauges/types';
27export { Metric, MetricDescriptor, TimeSeries, MetricDescriptorType, LabelKey, LabelValue, Point as TimeSeriesPoint, DistributionValue, BucketOptions, Bucket as DistributionBucket, SummaryValue, Explicit, Exemplar, Timestamp, Snapshot, ValueAtPercentile, MetricProducerManager, MetricProducer, } from './metrics/export/types';
28export * from './trace/model/tracer-base';
29export * from './trace/model/tracer';
30export * from './trace/sampler/sampler';
31export * from './trace/instrumentation/base-plugin';
32export * from './exporters/exporter-buffer';
33export * from './exporters/console-exporter';
34export * from './stats/view';
35export * from './stats/recorder';
36export * from './stats/bucket-boundaries';
37export * from './stats/metric-utils';
38export * from './tags/tag-map';
39export * from './tags/tagger';
40export * from './tags/propagation/binary-serializer';
41export * from './tags/propagation/text-format';
42export * from './resource/resource';
43export * from './stats/types';
44export { TagKey, TagValue, TagMetadata, TagTtl } from './tags/types';
45export * from './resource/types';
46import * as logger from './common/console-logger';
47export { logger };
48export * from './common/version';
49export * from './metrics/metrics';
50export * from './metrics/metric-registry';
51export * from './metrics/cumulative/cumulative';
52export * from './metrics/cumulative/derived-cumulative';
53export * from './metrics/gauges/derived-gauge';
54export * from './metrics/gauges/gauge';
55import { Stats } from './stats/types';
56declare const globalStats: Stats;
57export { globalStats };