basant307/AI_Governance_Project
048
1/*2 * Copyright The OpenTelemetry Authors3 *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 at7 *8 * https://www.apache.org/licenses/LICENSE-2.09 *10 * Unless required by applicable law or agreed to in writing, software11 * 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 and14 * limitations under the License.15 */16export { baggageEntryMetadataFromString } from './baggage/utils';17// Context APIs18export { createContextKey, ROOT_CONTEXT } from './context/context';19// Diag APIs20export { DiagConsoleLogger } from './diag/consoleLogger';21export { DiagLogLevel, } from './diag/types';22// Metrics APIs23export { createNoopMeter } from './metrics/NoopMeter';24export { ValueType, } from './metrics/Metric';25// Propagation APIs26export { defaultTextMapGetter, defaultTextMapSetter, } from './propagation/TextMapPropagator';27export { ProxyTracer } from './trace/ProxyTracer';28export { ProxyTracerProvider } from './trace/ProxyTracerProvider';29export { SamplingDecision } from './trace/SamplingResult';30export { SpanKind } from './trace/span_kind';31export { SpanStatusCode } from './trace/status';32export { TraceFlags } from './trace/trace_flags';33export { createTraceState } from './trace/internal/utils';34export { isSpanContextValid, isValidTraceId, isValidSpanId, } from './trace/spancontext-utils';35export { INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT, } from './trace/invalid-span-constants';36// Split module-level variable definition into separate files to allow37// tree-shaking on each api instance.38import { context } from './context-api';39import { diag } from './diag-api';40import { metrics } from './metrics-api';41import { propagation } from './propagation-api';42import { trace } from './trace-api';43// Named export.44export { context, diag, metrics, propagation, trace };45// Default export.46export default {47 context,48 diag,49 metrics,50 propagation,51 trace,52};53//# sourceMappingURL=index.js.map