From b4a2f4b4a369b44ee079b909eefaa7f12364af56 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Mon, 26 Jun 2023 17:27:47 +0200 Subject: [PATCH] ts 4.9.5 --- api/build/esm/baggage/types.d.ts | 2 +- api/build/esm/common/Attributes.d.ts | 2 +- api/build/esm/common/Exception.d.ts | 2 +- api/build/esm/common/Time.d.ts | 4 +-- api/build/esm/diag/types.d.ts | 2 +- api/build/esm/internal/global-utils.d.ts | 2 +- api/build/esm/metrics/Metric.d.ts | 14 +++++----- api/build/esm/trace/attributes.d.ts | 4 +-- api/build/esnext/baggage/types.d.ts | 2 +- api/build/esnext/common/Attributes.d.ts | 2 +- api/build/esnext/common/Exception.d.ts | 2 +- api/build/esnext/common/Time.d.ts | 4 +-- api/build/esnext/diag/types.d.ts | 2 +- api/build/esnext/internal/global-utils.d.ts | 2 +- api/build/esnext/metrics/Metric.d.ts | 14 +++++----- api/build/esnext/trace/attributes.d.ts | 4 +-- api/build/src/baggage/types.d.ts | 2 +- api/build/src/common/Attributes.d.ts | 2 +- api/build/src/common/Exception.d.ts | 2 +- api/build/src/common/Time.d.ts | 4 +-- api/build/src/diag/types.d.ts | 2 +- api/build/src/internal/global-utils.d.ts | 2 +- api/build/src/metrics/Metric.d.ts | 14 +++++----- api/build/src/trace/attributes.d.ts | 4 +-- .../build/esm/internal/global-utils.d.ts | 2 +- .../build/esnext/internal/global-utils.d.ts | 2 +- .../build/src/internal/global-utils.d.ts | 2 +- .../build/esm/internal/global-utils.d.ts | 2 +- .../api-logs/build/esm/types/LogRecord.d.ts | 2 +- .../build/esnext/internal/global-utils.d.ts | 2 +- .../build/esnext/types/LogRecord.d.ts | 2 +- .../build/src/internal/global-utils.d.ts | 2 +- .../api-logs/build/src/types/LogRecord.d.ts | 2 +- .../build/esm/types.d.ts | 2 +- .../build/esnext/types.d.ts | 2 +- .../build/src/types.d.ts | 2 +- .../build/src/grpc-js/types.d.ts | 14 +++++----- .../build/src/internal-types.d.ts | 2 +- .../build/src/types.d.ts | 2 +- .../build/src/utils.d.ts | 2 +- .../build/src/http.d.ts | 1 + .../build/src/types.d.ts | 24 +++++++++-------- .../build/src/utils.d.ts | 8 +++--- .../build/test/utils/httpRequest.d.ts | 3 ++- .../build/test/utils/httpsRequest.d.ts | 4 ++- .../build/esm/types.d.ts | 10 +++---- .../build/esm/xhr.d.ts | 2 +- .../build/esnext/types.d.ts | 10 +++---- .../build/esnext/xhr.d.ts | 2 +- .../build/src/types.d.ts | 10 +++---- .../build/src/xhr.d.ts | 2 +- .../esm/platform/node/ModuleNameTrie.d.ts | 2 +- .../node/RequireInTheMiddleSingleton.d.ts | 2 +- .../instrumentationNodeModuleDefinition.d.ts | 6 ++--- .../build/esm/types_internal.d.ts | 2 +- .../esnext/platform/node/ModuleNameTrie.d.ts | 2 +- .../node/RequireInTheMiddleSingleton.d.ts | 2 +- .../instrumentationNodeModuleDefinition.d.ts | 6 ++--- .../build/esnext/types_internal.d.ts | 2 +- .../src/platform/node/ModuleNameTrie.d.ts | 2 +- .../node/RequireInTheMiddleSingleton.d.ts | 2 +- .../instrumentationNodeModuleDefinition.d.ts | 6 ++--- .../build/src/types_internal.d.ts | 2 +- .../opentelemetry-sdk-node/build/src/sdk.d.ts | 2 +- .../platform/node/OTLPExporterNodeBase.d.ts | 1 + .../build/esm/platform/node/types.d.ts | 1 + .../build/esm/platform/node/util.d.ts | 2 ++ .../platform/node/OTLPExporterNodeBase.d.ts | 1 + .../build/esnext/platform/node/types.d.ts | 1 + .../build/esnext/platform/node/util.d.ts | 2 ++ .../platform/node/OTLPExporterNodeBase.d.ts | 1 + .../build/src/platform/node/types.d.ts | 1 + .../build/src/platform/node/util.d.ts | 2 ++ .../build/esm/types.d.ts | 2 +- .../build/esnext/types.d.ts | 2 +- .../build/src/types.d.ts | 2 +- .../build/esm/baggage/utils.d.ts | 2 +- .../build/esm/common/types.d.ts | 2 +- .../build/esm/trace/rpc-metadata.d.ts | 4 +-- .../build/esm/utils/environment.d.ts | 10 +++---- .../build/esnext/baggage/utils.d.ts | 2 +- .../build/esnext/common/types.d.ts | 2 +- .../build/esnext/trace/rpc-metadata.d.ts | 4 +-- .../build/esnext/utils/environment.d.ts | 10 +++---- .../build/src/baggage/utils.d.ts | 2 +- .../build/src/common/types.d.ts | 2 +- .../build/src/trace/rpc-metadata.d.ts | 4 +-- .../build/src/utils/environment.d.ts | 10 +++---- .../build/src/types.d.ts | 4 +-- .../build/esm/types.d.ts | 6 ++--- .../build/esnext/types.d.ts | 6 ++--- .../build/src/types.d.ts | 6 ++--- .../build/esm/types.d.ts | 2 +- .../build/esnext/types.d.ts | 2 +- .../build/src/types.d.ts | 2 +- .../build/esm/BasicTracerProvider.d.ts | 4 +-- .../build/esnext/BasicTracerProvider.d.ts | 4 +-- .../build/src/BasicTracerProvider.d.ts | 4 +-- .../build/src/config.d.ts | 2 +- .../build/esm/WebTracerProvider.d.ts | 2 +- .../build/esm/types.d.ts | 6 ++--- .../build/esnext/WebTracerProvider.d.ts | 2 +- .../build/esnext/types.d.ts | 6 ++--- .../build/src/WebTracerProvider.d.ts | 2 +- .../build/src/types.d.ts | 6 ++--- .../resource/SemanticResourceAttributes.d.ts | 12 ++++----- .../build/esm/trace/SemanticAttributes.d.ts | 26 +++++++++---------- .../resource/SemanticResourceAttributes.d.ts | 12 ++++----- .../esnext/trace/SemanticAttributes.d.ts | 26 +++++++++---------- .../resource/SemanticResourceAttributes.d.ts | 12 ++++----- .../build/src/trace/SemanticAttributes.d.ts | 26 +++++++++---------- .../build/esm/aggregator/types.d.ts | 6 ++--- .../build/esm/exemplar/Exemplar.d.ts | 2 +- .../build/esm/export/AggregationSelector.d.ts | 4 +-- .../build/esm/export/MetricData.d.ts | 2 +- .../export/PeriodicExportingMetricReader.d.ts | 2 +- packages/sdk-metrics/build/esm/types.d.ts | 8 +++--- packages/sdk-metrics/build/esm/utils.d.ts | 4 +-- packages/sdk-metrics/build/esm/view/View.d.ts | 2 +- .../build/esnext/aggregator/types.d.ts | 6 ++--- .../build/esnext/exemplar/Exemplar.d.ts | 2 +- .../esnext/export/AggregationSelector.d.ts | 4 +-- .../build/esnext/export/MetricData.d.ts | 2 +- .../export/PeriodicExportingMetricReader.d.ts | 2 +- packages/sdk-metrics/build/esnext/types.d.ts | 8 +++--- packages/sdk-metrics/build/esnext/utils.d.ts | 4 +-- .../sdk-metrics/build/esnext/view/View.d.ts | 2 +- .../build/src/aggregator/types.d.ts | 6 ++--- .../build/src/exemplar/Exemplar.d.ts | 2 +- .../build/src/export/AggregationSelector.d.ts | 4 +-- .../build/src/export/MetricData.d.ts | 2 +- .../export/PeriodicExportingMetricReader.d.ts | 2 +- packages/sdk-metrics/build/src/types.d.ts | 8 +++--- packages/sdk-metrics/build/src/utils.d.ts | 4 +-- packages/sdk-metrics/build/src/view/View.d.ts | 2 +- packages/sdk-metrics/build/test/util.d.ts | 2 +- 136 files changed, 308 insertions(+), 290 deletions(-) diff --git a/api/build/esm/baggage/types.d.ts b/api/build/esm/baggage/types.d.ts index 32fa0ec..12eabaf 100644 --- a/api/build/esm/baggage/types.d.ts +++ b/api/build/esm/baggage/types.d.ts @@ -12,7 +12,7 @@ export interface BaggageEntry { * Serializable Metadata defined by the W3C baggage specification. * It currently has no special meaning defined by the OpenTelemetry or W3C. */ -export declare type BaggageEntryMetadata = { +export type BaggageEntryMetadata = { toString(): string; } & { __TYPE__: typeof baggageEntryMetadataSymbol; diff --git a/api/build/esm/common/Attributes.d.ts b/api/build/esm/common/Attributes.d.ts index 19994fb..71bc8a4 100644 --- a/api/build/esm/common/Attributes.d.ts +++ b/api/build/esm/common/Attributes.d.ts @@ -11,5 +11,5 @@ export interface Attributes { * * null or undefined attribute values are invalid and will result in undefined behavior. */ -export declare type AttributeValue = string | number | boolean | Array | Array | Array; +export type AttributeValue = string | number | boolean | Array | Array | Array; //# sourceMappingURL=Attributes.d.ts.map \ No newline at end of file diff --git a/api/build/esm/common/Exception.d.ts b/api/build/esm/common/Exception.d.ts index e175a7f..fd82c54 100644 --- a/api/build/esm/common/Exception.d.ts +++ b/api/build/esm/common/Exception.d.ts @@ -21,6 +21,6 @@ interface ExceptionWithName { * * string or an object with one of (message or name or code) and optional stack */ -export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; +export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; export {}; //# sourceMappingURL=Exception.d.ts.map \ No newline at end of file diff --git a/api/build/esm/common/Time.d.ts b/api/build/esm/common/Time.d.ts index cc3c502..7b02f6d 100644 --- a/api/build/esm/common/Time.d.ts +++ b/api/build/esm/common/Time.d.ts @@ -10,11 +10,11 @@ * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000. * This is represented in HrTime format as [1609504210, 150000000]. */ -export declare type HrTime = [number, number]; +export type HrTime = [number, number]; /** * Defines TimeInput. * * hrtime, epoch milliseconds, performance.now() or Date */ -export declare type TimeInput = HrTime | number | Date; +export type TimeInput = HrTime | number | Date; //# sourceMappingURL=Time.d.ts.map \ No newline at end of file diff --git a/api/build/esm/diag/types.d.ts b/api/build/esm/diag/types.d.ts index e992cc5..602739f 100644 --- a/api/build/esm/diag/types.d.ts +++ b/api/build/esm/diag/types.d.ts @@ -1,4 +1,4 @@ -export declare type DiagLogFunction = (message: string, ...args: unknown[]) => void; +export type DiagLogFunction = (message: string, ...args: unknown[]) => void; /** * Defines an internal diagnostic logger interface which is used to log internal diagnostic * messages, you can set the default diagnostic logger via the {@link DiagAPI} setLogger function. diff --git a/api/build/esm/internal/global-utils.d.ts b/api/build/esm/internal/global-utils.d.ts index 320db97..144a107 100644 --- a/api/build/esm/internal/global-utils.d.ts +++ b/api/build/esm/internal/global-utils.d.ts @@ -6,7 +6,7 @@ import type { TracerProvider } from '../trace/tracer_provider'; export declare function registerGlobal(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean; export declare function getGlobal(type: Type): OTelGlobalAPI[Type] | undefined; export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void; -declare type OTelGlobalAPI = { +type OTelGlobalAPI = { version: string; diag?: DiagLogger; trace?: TracerProvider; diff --git a/api/build/esm/metrics/Metric.d.ts b/api/build/esm/metrics/Metric.d.ts index 5396082..4d10a0c 100644 --- a/api/build/esm/metrics/Metric.d.ts +++ b/api/build/esm/metrics/Metric.d.ts @@ -62,19 +62,19 @@ export interface Histogram = (observableResult: ObservableResult) => void | Promise; +export type ObservableCallback = (observableResult: ObservableResult) => void | Promise; /** * The observable callback for a batch of Observable instruments. */ -export declare type BatchObservableCallback = (observableResult: BatchObservableResult) => void | Promise; +export type BatchObservableCallback = (observableResult: BatchObservableResult) => void | Promise; export interface Observable { /** * Sets up a function that will be called whenever a metric collection is initiated. @@ -87,7 +87,7 @@ export interface Observable): void; } -export declare type ObservableCounter = Observable; -export declare type ObservableUpDownCounter = Observable; -export declare type ObservableGauge = Observable; +export type ObservableCounter = Observable; +export type ObservableUpDownCounter = Observable; +export type ObservableGauge = Observable; //# sourceMappingURL=Metric.d.ts.map \ No newline at end of file diff --git a/api/build/esm/trace/attributes.d.ts b/api/build/esm/trace/attributes.d.ts index a2a5d2a..7dffd79 100644 --- a/api/build/esm/trace/attributes.d.ts +++ b/api/build/esm/trace/attributes.d.ts @@ -2,9 +2,9 @@ import { Attributes, AttributeValue } from '../common/Attributes'; /** * @deprecated please use {@link Attributes} */ -export declare type SpanAttributes = Attributes; +export type SpanAttributes = Attributes; /** * @deprecated please use {@link AttributeValue} */ -export declare type SpanAttributeValue = AttributeValue; +export type SpanAttributeValue = AttributeValue; //# sourceMappingURL=attributes.d.ts.map \ No newline at end of file diff --git a/api/build/esnext/baggage/types.d.ts b/api/build/esnext/baggage/types.d.ts index 32fa0ec..12eabaf 100644 --- a/api/build/esnext/baggage/types.d.ts +++ b/api/build/esnext/baggage/types.d.ts @@ -12,7 +12,7 @@ export interface BaggageEntry { * Serializable Metadata defined by the W3C baggage specification. * It currently has no special meaning defined by the OpenTelemetry or W3C. */ -export declare type BaggageEntryMetadata = { +export type BaggageEntryMetadata = { toString(): string; } & { __TYPE__: typeof baggageEntryMetadataSymbol; diff --git a/api/build/esnext/common/Attributes.d.ts b/api/build/esnext/common/Attributes.d.ts index 19994fb..71bc8a4 100644 --- a/api/build/esnext/common/Attributes.d.ts +++ b/api/build/esnext/common/Attributes.d.ts @@ -11,5 +11,5 @@ export interface Attributes { * * null or undefined attribute values are invalid and will result in undefined behavior. */ -export declare type AttributeValue = string | number | boolean | Array | Array | Array; +export type AttributeValue = string | number | boolean | Array | Array | Array; //# sourceMappingURL=Attributes.d.ts.map \ No newline at end of file diff --git a/api/build/esnext/common/Exception.d.ts b/api/build/esnext/common/Exception.d.ts index e175a7f..fd82c54 100644 --- a/api/build/esnext/common/Exception.d.ts +++ b/api/build/esnext/common/Exception.d.ts @@ -21,6 +21,6 @@ interface ExceptionWithName { * * string or an object with one of (message or name or code) and optional stack */ -export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; +export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; export {}; //# sourceMappingURL=Exception.d.ts.map \ No newline at end of file diff --git a/api/build/esnext/common/Time.d.ts b/api/build/esnext/common/Time.d.ts index cc3c502..7b02f6d 100644 --- a/api/build/esnext/common/Time.d.ts +++ b/api/build/esnext/common/Time.d.ts @@ -10,11 +10,11 @@ * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000. * This is represented in HrTime format as [1609504210, 150000000]. */ -export declare type HrTime = [number, number]; +export type HrTime = [number, number]; /** * Defines TimeInput. * * hrtime, epoch milliseconds, performance.now() or Date */ -export declare type TimeInput = HrTime | number | Date; +export type TimeInput = HrTime | number | Date; //# sourceMappingURL=Time.d.ts.map \ No newline at end of file diff --git a/api/build/esnext/diag/types.d.ts b/api/build/esnext/diag/types.d.ts index e992cc5..602739f 100644 --- a/api/build/esnext/diag/types.d.ts +++ b/api/build/esnext/diag/types.d.ts @@ -1,4 +1,4 @@ -export declare type DiagLogFunction = (message: string, ...args: unknown[]) => void; +export type DiagLogFunction = (message: string, ...args: unknown[]) => void; /** * Defines an internal diagnostic logger interface which is used to log internal diagnostic * messages, you can set the default diagnostic logger via the {@link DiagAPI} setLogger function. diff --git a/api/build/esnext/internal/global-utils.d.ts b/api/build/esnext/internal/global-utils.d.ts index 320db97..144a107 100644 --- a/api/build/esnext/internal/global-utils.d.ts +++ b/api/build/esnext/internal/global-utils.d.ts @@ -6,7 +6,7 @@ import type { TracerProvider } from '../trace/tracer_provider'; export declare function registerGlobal(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean; export declare function getGlobal(type: Type): OTelGlobalAPI[Type] | undefined; export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void; -declare type OTelGlobalAPI = { +type OTelGlobalAPI = { version: string; diag?: DiagLogger; trace?: TracerProvider; diff --git a/api/build/esnext/metrics/Metric.d.ts b/api/build/esnext/metrics/Metric.d.ts index 5396082..4d10a0c 100644 --- a/api/build/esnext/metrics/Metric.d.ts +++ b/api/build/esnext/metrics/Metric.d.ts @@ -62,19 +62,19 @@ export interface Histogram = (observableResult: ObservableResult) => void | Promise; +export type ObservableCallback = (observableResult: ObservableResult) => void | Promise; /** * The observable callback for a batch of Observable instruments. */ -export declare type BatchObservableCallback = (observableResult: BatchObservableResult) => void | Promise; +export type BatchObservableCallback = (observableResult: BatchObservableResult) => void | Promise; export interface Observable { /** * Sets up a function that will be called whenever a metric collection is initiated. @@ -87,7 +87,7 @@ export interface Observable): void; } -export declare type ObservableCounter = Observable; -export declare type ObservableUpDownCounter = Observable; -export declare type ObservableGauge = Observable; +export type ObservableCounter = Observable; +export type ObservableUpDownCounter = Observable; +export type ObservableGauge = Observable; //# sourceMappingURL=Metric.d.ts.map \ No newline at end of file diff --git a/api/build/esnext/trace/attributes.d.ts b/api/build/esnext/trace/attributes.d.ts index a2a5d2a..7dffd79 100644 --- a/api/build/esnext/trace/attributes.d.ts +++ b/api/build/esnext/trace/attributes.d.ts @@ -2,9 +2,9 @@ import { Attributes, AttributeValue } from '../common/Attributes'; /** * @deprecated please use {@link Attributes} */ -export declare type SpanAttributes = Attributes; +export type SpanAttributes = Attributes; /** * @deprecated please use {@link AttributeValue} */ -export declare type SpanAttributeValue = AttributeValue; +export type SpanAttributeValue = AttributeValue; //# sourceMappingURL=attributes.d.ts.map \ No newline at end of file diff --git a/api/build/src/baggage/types.d.ts b/api/build/src/baggage/types.d.ts index 32fa0ec..12eabaf 100644 --- a/api/build/src/baggage/types.d.ts +++ b/api/build/src/baggage/types.d.ts @@ -12,7 +12,7 @@ export interface BaggageEntry { * Serializable Metadata defined by the W3C baggage specification. * It currently has no special meaning defined by the OpenTelemetry or W3C. */ -export declare type BaggageEntryMetadata = { +export type BaggageEntryMetadata = { toString(): string; } & { __TYPE__: typeof baggageEntryMetadataSymbol; diff --git a/api/build/src/common/Attributes.d.ts b/api/build/src/common/Attributes.d.ts index 19994fb..71bc8a4 100644 --- a/api/build/src/common/Attributes.d.ts +++ b/api/build/src/common/Attributes.d.ts @@ -11,5 +11,5 @@ export interface Attributes { * * null or undefined attribute values are invalid and will result in undefined behavior. */ -export declare type AttributeValue = string | number | boolean | Array | Array | Array; +export type AttributeValue = string | number | boolean | Array | Array | Array; //# sourceMappingURL=Attributes.d.ts.map \ No newline at end of file diff --git a/api/build/src/common/Exception.d.ts b/api/build/src/common/Exception.d.ts index e175a7f..fd82c54 100644 --- a/api/build/src/common/Exception.d.ts +++ b/api/build/src/common/Exception.d.ts @@ -21,6 +21,6 @@ interface ExceptionWithName { * * string or an object with one of (message or name or code) and optional stack */ -export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; +export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; export {}; //# sourceMappingURL=Exception.d.ts.map \ No newline at end of file diff --git a/api/build/src/common/Time.d.ts b/api/build/src/common/Time.d.ts index cc3c502..7b02f6d 100644 --- a/api/build/src/common/Time.d.ts +++ b/api/build/src/common/Time.d.ts @@ -10,11 +10,11 @@ * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000. * This is represented in HrTime format as [1609504210, 150000000]. */ -export declare type HrTime = [number, number]; +export type HrTime = [number, number]; /** * Defines TimeInput. * * hrtime, epoch milliseconds, performance.now() or Date */ -export declare type TimeInput = HrTime | number | Date; +export type TimeInput = HrTime | number | Date; //# sourceMappingURL=Time.d.ts.map \ No newline at end of file diff --git a/api/build/src/diag/types.d.ts b/api/build/src/diag/types.d.ts index e992cc5..602739f 100644 --- a/api/build/src/diag/types.d.ts +++ b/api/build/src/diag/types.d.ts @@ -1,4 +1,4 @@ -export declare type DiagLogFunction = (message: string, ...args: unknown[]) => void; +export type DiagLogFunction = (message: string, ...args: unknown[]) => void; /** * Defines an internal diagnostic logger interface which is used to log internal diagnostic * messages, you can set the default diagnostic logger via the {@link DiagAPI} setLogger function. diff --git a/api/build/src/internal/global-utils.d.ts b/api/build/src/internal/global-utils.d.ts index 320db97..144a107 100644 --- a/api/build/src/internal/global-utils.d.ts +++ b/api/build/src/internal/global-utils.d.ts @@ -6,7 +6,7 @@ import type { TracerProvider } from '../trace/tracer_provider'; export declare function registerGlobal(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean; export declare function getGlobal(type: Type): OTelGlobalAPI[Type] | undefined; export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void; -declare type OTelGlobalAPI = { +type OTelGlobalAPI = { version: string; diag?: DiagLogger; trace?: TracerProvider; diff --git a/api/build/src/metrics/Metric.d.ts b/api/build/src/metrics/Metric.d.ts index 5396082..4d10a0c 100644 --- a/api/build/src/metrics/Metric.d.ts +++ b/api/build/src/metrics/Metric.d.ts @@ -62,19 +62,19 @@ export interface Histogram = (observableResult: ObservableResult) => void | Promise; +export type ObservableCallback = (observableResult: ObservableResult) => void | Promise; /** * The observable callback for a batch of Observable instruments. */ -export declare type BatchObservableCallback = (observableResult: BatchObservableResult) => void | Promise; +export type BatchObservableCallback = (observableResult: BatchObservableResult) => void | Promise; export interface Observable { /** * Sets up a function that will be called whenever a metric collection is initiated. @@ -87,7 +87,7 @@ export interface Observable): void; } -export declare type ObservableCounter = Observable; -export declare type ObservableUpDownCounter = Observable; -export declare type ObservableGauge = Observable; +export type ObservableCounter = Observable; +export type ObservableUpDownCounter = Observable; +export type ObservableGauge = Observable; //# sourceMappingURL=Metric.d.ts.map \ No newline at end of file diff --git a/api/build/src/trace/attributes.d.ts b/api/build/src/trace/attributes.d.ts index a2a5d2a..7dffd79 100644 --- a/api/build/src/trace/attributes.d.ts +++ b/api/build/src/trace/attributes.d.ts @@ -2,9 +2,9 @@ import { Attributes, AttributeValue } from '../common/Attributes'; /** * @deprecated please use {@link Attributes} */ -export declare type SpanAttributes = Attributes; +export type SpanAttributes = Attributes; /** * @deprecated please use {@link AttributeValue} */ -export declare type SpanAttributeValue = AttributeValue; +export type SpanAttributeValue = AttributeValue; //# sourceMappingURL=attributes.d.ts.map \ No newline at end of file diff --git a/experimental/packages/api-events/build/esm/internal/global-utils.d.ts b/experimental/packages/api-events/build/esm/internal/global-utils.d.ts index 4c6b211..f498c66 100644 --- a/experimental/packages/api-events/build/esm/internal/global-utils.d.ts +++ b/experimental/packages/api-events/build/esm/internal/global-utils.d.ts @@ -1,6 +1,6 @@ import { EventEmitterProvider } from '../types/EventEmitterProvider'; export declare const GLOBAL_EVENTS_API_KEY: unique symbol; -declare type Get = (version: number) => T; +type Get = (version: number) => T; export declare const _global: Partial<{ [GLOBAL_EVENTS_API_KEY]: Get; }>; diff --git a/experimental/packages/api-events/build/esnext/internal/global-utils.d.ts b/experimental/packages/api-events/build/esnext/internal/global-utils.d.ts index 4c6b211..f498c66 100644 --- a/experimental/packages/api-events/build/esnext/internal/global-utils.d.ts +++ b/experimental/packages/api-events/build/esnext/internal/global-utils.d.ts @@ -1,6 +1,6 @@ import { EventEmitterProvider } from '../types/EventEmitterProvider'; export declare const GLOBAL_EVENTS_API_KEY: unique symbol; -declare type Get = (version: number) => T; +type Get = (version: number) => T; export declare const _global: Partial<{ [GLOBAL_EVENTS_API_KEY]: Get; }>; diff --git a/experimental/packages/api-events/build/src/internal/global-utils.d.ts b/experimental/packages/api-events/build/src/internal/global-utils.d.ts index 4c6b211..f498c66 100644 --- a/experimental/packages/api-events/build/src/internal/global-utils.d.ts +++ b/experimental/packages/api-events/build/src/internal/global-utils.d.ts @@ -1,6 +1,6 @@ import { EventEmitterProvider } from '../types/EventEmitterProvider'; export declare const GLOBAL_EVENTS_API_KEY: unique symbol; -declare type Get = (version: number) => T; +type Get = (version: number) => T; export declare const _global: Partial<{ [GLOBAL_EVENTS_API_KEY]: Get; }>; diff --git a/experimental/packages/api-logs/build/esm/internal/global-utils.d.ts b/experimental/packages/api-logs/build/esm/internal/global-utils.d.ts index 3707935..f54b065 100644 --- a/experimental/packages/api-logs/build/esm/internal/global-utils.d.ts +++ b/experimental/packages/api-logs/build/esm/internal/global-utils.d.ts @@ -1,6 +1,6 @@ import { LoggerProvider } from '../types/LoggerProvider'; export declare const GLOBAL_LOGS_API_KEY: unique symbol; -declare type Get = (version: number) => T; +type Get = (version: number) => T; export declare const _global: Partial<{ [GLOBAL_LOGS_API_KEY]: Get; }>; diff --git a/experimental/packages/api-logs/build/esm/types/LogRecord.d.ts b/experimental/packages/api-logs/build/esm/types/LogRecord.d.ts index 8e0866e..7313f76 100644 --- a/experimental/packages/api-logs/build/esm/types/LogRecord.d.ts +++ b/experimental/packages/api-logs/build/esm/types/LogRecord.d.ts @@ -1,5 +1,5 @@ import { AttributeValue, Context } from '@opentelemetry/api'; -export declare type LogAttributeValue = AttributeValue | LogAttributes; +export type LogAttributeValue = AttributeValue | LogAttributes; export interface LogAttributes { [attributeKey: string]: LogAttributeValue | undefined; } diff --git a/experimental/packages/api-logs/build/esnext/internal/global-utils.d.ts b/experimental/packages/api-logs/build/esnext/internal/global-utils.d.ts index 3707935..f54b065 100644 --- a/experimental/packages/api-logs/build/esnext/internal/global-utils.d.ts +++ b/experimental/packages/api-logs/build/esnext/internal/global-utils.d.ts @@ -1,6 +1,6 @@ import { LoggerProvider } from '../types/LoggerProvider'; export declare const GLOBAL_LOGS_API_KEY: unique symbol; -declare type Get = (version: number) => T; +type Get = (version: number) => T; export declare const _global: Partial<{ [GLOBAL_LOGS_API_KEY]: Get; }>; diff --git a/experimental/packages/api-logs/build/esnext/types/LogRecord.d.ts b/experimental/packages/api-logs/build/esnext/types/LogRecord.d.ts index 8e0866e..7313f76 100644 --- a/experimental/packages/api-logs/build/esnext/types/LogRecord.d.ts +++ b/experimental/packages/api-logs/build/esnext/types/LogRecord.d.ts @@ -1,5 +1,5 @@ import { AttributeValue, Context } from '@opentelemetry/api'; -export declare type LogAttributeValue = AttributeValue | LogAttributes; +export type LogAttributeValue = AttributeValue | LogAttributes; export interface LogAttributes { [attributeKey: string]: LogAttributeValue | undefined; } diff --git a/experimental/packages/api-logs/build/src/internal/global-utils.d.ts b/experimental/packages/api-logs/build/src/internal/global-utils.d.ts index 3707935..f54b065 100644 --- a/experimental/packages/api-logs/build/src/internal/global-utils.d.ts +++ b/experimental/packages/api-logs/build/src/internal/global-utils.d.ts @@ -1,6 +1,6 @@ import { LoggerProvider } from '../types/LoggerProvider'; export declare const GLOBAL_LOGS_API_KEY: unique symbol; -declare type Get = (version: number) => T; +type Get = (version: number) => T; export declare const _global: Partial<{ [GLOBAL_LOGS_API_KEY]: Get; }>; diff --git a/experimental/packages/api-logs/build/src/types/LogRecord.d.ts b/experimental/packages/api-logs/build/src/types/LogRecord.d.ts index 8e0866e..7313f76 100644 --- a/experimental/packages/api-logs/build/src/types/LogRecord.d.ts +++ b/experimental/packages/api-logs/build/src/types/LogRecord.d.ts @@ -1,5 +1,5 @@ import { AttributeValue, Context } from '@opentelemetry/api'; -export declare type LogAttributeValue = AttributeValue | LogAttributes; +export type LogAttributeValue = AttributeValue | LogAttributes; export interface LogAttributes { [attributeKey: string]: LogAttributeValue | undefined; } diff --git a/experimental/packages/opentelemetry-browser-detector/build/esm/types.d.ts b/experimental/packages/opentelemetry-browser-detector/build/esm/types.d.ts index 7f80830..01aa736 100644 --- a/experimental/packages/opentelemetry-browser-detector/build/esm/types.d.ts +++ b/experimental/packages/opentelemetry-browser-detector/build/esm/types.d.ts @@ -1,4 +1,4 @@ -export declare type UserAgentData = { +export type UserAgentData = { brands: { brand: string; version: string; diff --git a/experimental/packages/opentelemetry-browser-detector/build/esnext/types.d.ts b/experimental/packages/opentelemetry-browser-detector/build/esnext/types.d.ts index 7f80830..01aa736 100644 --- a/experimental/packages/opentelemetry-browser-detector/build/esnext/types.d.ts +++ b/experimental/packages/opentelemetry-browser-detector/build/esnext/types.d.ts @@ -1,4 +1,4 @@ -export declare type UserAgentData = { +export type UserAgentData = { brands: { brand: string; version: string; diff --git a/experimental/packages/opentelemetry-browser-detector/build/src/types.d.ts b/experimental/packages/opentelemetry-browser-detector/build/src/types.d.ts index 7f80830..01aa736 100644 --- a/experimental/packages/opentelemetry-browser-detector/build/src/types.d.ts +++ b/experimental/packages/opentelemetry-browser-detector/build/src/types.d.ts @@ -1,4 +1,4 @@ -export declare type UserAgentData = { +export type UserAgentData = { brands: { brand: string; version: string; diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/grpc-js/types.d.ts b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/grpc-js/types.d.ts index 1a08fe6..561b301 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/grpc-js/types.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/grpc-js/types.d.ts @@ -5,33 +5,33 @@ import type { CALL_SPAN_ENDED } from './serverUtils'; /** * Server Unary callback type */ -export declare type SendUnaryDataCallback = grpcJs.requestCallback; +export type SendUnaryDataCallback = grpcJs.requestCallback; /** * Intersection type of all grpc server call types */ -export declare type ServerCall = grpcJs.ServerUnaryCall | grpcJs.ServerReadableStream | grpcJs.ServerWritableStream | grpcJs.ServerDuplexStream; +export type ServerCall = grpcJs.ServerUnaryCall | grpcJs.ServerReadableStream | grpcJs.ServerWritableStream | grpcJs.ServerDuplexStream; /** * {@link ServerCall} ServerCall extended with misc. missing utility types */ -export declare type ServerCallWithMeta = ServerCall & { +export type ServerCallWithMeta = ServerCall & { metadata: grpcJs.Metadata; }; /** * EventEmitter with span ended symbol indicator */ -export declare type GrpcEmitter = EventEmitter & { +export type GrpcEmitter = EventEmitter & { [CALL_SPAN_ENDED]?: boolean; }; /** * Grpc client callback function extended with missing utility types */ -export declare type GrpcClientFunc = ((...args: unknown[]) => GrpcEmitter) & { +export type GrpcClientFunc = ((...args: unknown[]) => GrpcEmitter) & { path: string; requestStream: boolean; responseStream: boolean; }; -export declare type ServerRegisterFunction = typeof grpcJs.Server.prototype.register; -export declare type MakeClientConstructorFunction = typeof grpcJs.makeGenericClientConstructor; +export type ServerRegisterFunction = typeof grpcJs.Server.prototype.register; +export type MakeClientConstructorFunction = typeof grpcJs.makeGenericClientConstructor; export type { HandleCall } from '@grpc/grpc-js/build/src/server-call'; export type { PackageDefinition } from '@grpc/grpc-js/build/src/make-client'; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/internal-types.d.ts b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/internal-types.d.ts index e882a89..e90dfca 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/internal-types.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/internal-types.d.ts @@ -1,6 +1,6 @@ import { Span } from '@opentelemetry/api'; import type * as grpcJsTypes from '@grpc/grpc-js'; -export declare type metadataCaptureType = { +export type metadataCaptureType = { client: { captureRequestMetadata: (span: Span, metadata: grpcJsTypes.Metadata) => void; captureResponseMetadata: (span: Span, metadata: grpcJsTypes.Metadata) => void; diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/types.d.ts b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/types.d.ts index 747a57f..335abf2 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/types.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/types.d.ts @@ -1,5 +1,5 @@ import { InstrumentationConfig } from '@opentelemetry/instrumentation'; -export declare type IgnoreMatcher = string | RegExp | ((str: string) => boolean); +export type IgnoreMatcher = string | RegExp | ((str: string) => boolean); export interface GrpcInstrumentationConfig extends InstrumentationConfig { ignoreGrpcMethods?: IgnoreMatcher[]; /** Map the following gRPC metadata to span attributes. */ diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/utils.d.ts b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/utils.d.ts index 9c3d82e..06e2b31 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/build/src/utils.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-grpc/build/src/utils.d.ts @@ -16,7 +16,7 @@ export declare const _grpcStatusCodeToSpanStatus: (status: number) => SpanStatus * @param ignoredMethods a list of matching patterns * @param onException an error handler for matching exceptions */ -export declare const _methodIsIgnored: (methodName: string, ignoredMethods?: IgnoreMatcher[] | undefined) => boolean; +export declare const _methodIsIgnored: (methodName: string, ignoredMethods?: IgnoreMatcher[]) => boolean; /** * Return method and service values getting from grpc name/path * @param name the grpc name/path diff --git a/experimental/packages/opentelemetry-instrumentation-http/build/src/http.d.ts b/experimental/packages/opentelemetry-instrumentation-http/build/src/http.d.ts index 1257789..f1df420 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/build/src/http.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/build/src/http.d.ts @@ -1,4 +1,5 @@ /// +/// import type * as http from 'http'; import * as url from 'url'; import { Func, Http, HttpInstrumentationConfig, HttpRequestArgs, Https } from './types'; diff --git a/experimental/packages/opentelemetry-instrumentation-http/build/src/types.d.ts b/experimental/packages/opentelemetry-instrumentation-http/build/src/types.d.ts index 9f297b4..f51ce89 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/build/src/types.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/build/src/types.d.ts @@ -1,21 +1,23 @@ /// +/// +/// import { Span, SpanAttributes } from '@opentelemetry/api'; import type * as http from 'http'; import type * as https from 'https'; import { ClientRequest, get, IncomingMessage, request, ServerResponse, RequestOptions } from 'http'; import * as url from 'url'; import { InstrumentationConfig } from '@opentelemetry/instrumentation'; -export declare type IgnoreMatcher = string | RegExp | ((url: string) => boolean); -export declare type HttpCallback = (res: IncomingMessage) => void; -export declare type RequestFunction = typeof request; -export declare type GetFunction = typeof get; -export declare type HttpCallbackOptional = HttpCallback | undefined; -export declare type RequestSignature = [http.RequestOptions, HttpCallbackOptional] & HttpCallback; -export declare type HttpRequestArgs = Array; -export declare type ParsedRequestOptions = (http.RequestOptions & Partial) | http.RequestOptions; -export declare type Http = typeof http; -export declare type Https = typeof https; -export declare type Func = (...args: any[]) => T; +export type IgnoreMatcher = string | RegExp | ((url: string) => boolean); +export type HttpCallback = (res: IncomingMessage) => void; +export type RequestFunction = typeof request; +export type GetFunction = typeof get; +export type HttpCallbackOptional = HttpCallback | undefined; +export type RequestSignature = [http.RequestOptions, HttpCallbackOptional] & HttpCallback; +export type HttpRequestArgs = Array; +export type ParsedRequestOptions = (http.RequestOptions & Partial) | http.RequestOptions; +export type Http = typeof http; +export type Https = typeof https; +export type Func = (...args: any[]) => T; export interface HttpCustomAttributeFunction { (span: Span, request: ClientRequest | IncomingMessage, response: IncomingMessage | ServerResponse): void; } diff --git a/experimental/packages/opentelemetry-instrumentation-http/build/src/utils.d.ts b/experimental/packages/opentelemetry-instrumentation-http/build/src/utils.d.ts index 35a0b8d..e22b041 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/build/src/utils.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/build/src/utils.d.ts @@ -9,7 +9,7 @@ export declare const getAbsoluteUrl: (requestUrl: ParsedRequestOptions | null, h /** * Parse status code from HTTP response. [More details](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/data-http.md#status) */ -export declare const parseResponseStatus: (kind: SpanKind, statusCode?: number | undefined) => SpanStatusCode; +export declare const parseResponseStatus: (kind: SpanKind, statusCode?: number) => SpanStatusCode; /** * Check whether the given obj match pattern * @param constant e.g URL of request @@ -24,7 +24,7 @@ export declare const satisfiesPattern: (constant: string, pattern: IgnoreMatcher * @param [onException] callback for doing something when an exception has * occurred */ -export declare const isIgnored: (constant: string, list?: IgnoreMatcher[] | undefined, onException?: ((error: unknown) => void) | undefined) => boolean; +export declare const isIgnored: (constant: string, list?: IgnoreMatcher[], onException?: ((error: unknown) => void) | undefined) => boolean; /** * Sets the span with the error passed in params * @param {Span} span the span that need to be set @@ -50,7 +50,7 @@ export declare const isCompressed: (headers: OutgoingHttpHeaders | IncomingHttpH * @param options original options for the request * @param [extraOptions] additional options for the request */ -export declare const getRequestInfo: (options: url.URL | RequestOptions | string, extraOptions?: RequestOptions | undefined) => { +export declare const getRequestInfo: (options: url.URL | RequestOptions | string, extraOptions?: RequestOptions) => { origin: string; pathname: string; method: string; @@ -85,7 +85,7 @@ export declare const getOutgoingRequestMetricAttributes: (spanAttributes: SpanAt * Returns attributes related to the kind of HTTP protocol used * @param {string} [kind] Kind of HTTP protocol used: "1.0", "1.1", "2", "SPDY" or "QUIC". */ -export declare const getAttributesFromHttpKind: (kind?: string | undefined) => SpanAttributes; +export declare const getAttributesFromHttpKind: (kind?: string) => SpanAttributes; /** * Returns outgoing request attributes scoped to the response data * @param {IncomingMessage} response the response object diff --git a/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpRequest.d.ts b/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpRequest.d.ts index e8c1600..1962427 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpRequest.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpRequest.d.ts @@ -1,7 +1,8 @@ /// +/// import * as http from 'http'; import { URL } from 'url'; -declare type GetResult = Promise<{ +type GetResult = Promise<{ data: string; statusCode: number | undefined; resHeaders: http.IncomingHttpHeaders; diff --git a/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpsRequest.d.ts b/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpsRequest.d.ts index ac06a3a..a8f3b5f 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpsRequest.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/build/test/utils/httpsRequest.d.ts @@ -1,8 +1,10 @@ /// +/// +/// import * as http from 'http'; import * as https from 'https'; import { URL } from 'url'; -declare type GetResult = Promise<{ +type GetResult = Promise<{ data: string; statusCode: number | undefined; resHeaders: http.IncomingHttpHeaders; diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/types.d.ts b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/types.d.ts index 2db902a..785f8b8 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/types.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/types.d.ts @@ -2,12 +2,12 @@ import * as api from '@opentelemetry/api'; /** * method "open" from XMLHttpRequest */ -export declare type OpenFunction = (method: string, url: string, async?: boolean, user?: string | null, pass?: string | null) => void; +export type OpenFunction = (method: string, url: string, async?: boolean, user?: string | null, pass?: string | null) => void; /** * method "send" from XMLHttpRequest */ -export declare type SendFunction = typeof XMLHttpRequest.prototype.send; -export declare type SendBody = string | Document | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream | null; +export type SendFunction = typeof XMLHttpRequest.prototype.send; +export type SendBody = string | Document | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream | null; /** * interface to store information in weak map about spans, resources and * callbacks @@ -24,6 +24,6 @@ export interface XhrMem { }; callbackToRemoveEvents?: Function; } -export declare type PropagateTraceHeaderCorsUrl = string | RegExp; -export declare type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; +export type PropagateTraceHeaderCorsUrl = string | RegExp; +export type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/xhr.d.ts b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/xhr.d.ts index 2ff6523..bcf2c8a 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/xhr.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esm/xhr.d.ts @@ -1,7 +1,7 @@ import * as api from '@opentelemetry/api'; import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation'; import { OpenFunction, PropagateTraceHeaderCorsUrls, SendFunction, XhrMem } from './types'; -export declare type XHRCustomAttributeFunction = (span: api.Span, xhr: XMLHttpRequest) => void; +export type XHRCustomAttributeFunction = (span: api.Span, xhr: XMLHttpRequest) => void; /** * XMLHttpRequest config */ diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/types.d.ts b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/types.d.ts index 2db902a..785f8b8 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/types.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/types.d.ts @@ -2,12 +2,12 @@ import * as api from '@opentelemetry/api'; /** * method "open" from XMLHttpRequest */ -export declare type OpenFunction = (method: string, url: string, async?: boolean, user?: string | null, pass?: string | null) => void; +export type OpenFunction = (method: string, url: string, async?: boolean, user?: string | null, pass?: string | null) => void; /** * method "send" from XMLHttpRequest */ -export declare type SendFunction = typeof XMLHttpRequest.prototype.send; -export declare type SendBody = string | Document | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream | null; +export type SendFunction = typeof XMLHttpRequest.prototype.send; +export type SendBody = string | Document | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream | null; /** * interface to store information in weak map about spans, resources and * callbacks @@ -24,6 +24,6 @@ export interface XhrMem { }; callbackToRemoveEvents?: Function; } -export declare type PropagateTraceHeaderCorsUrl = string | RegExp; -export declare type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; +export type PropagateTraceHeaderCorsUrl = string | RegExp; +export type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/xhr.d.ts b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/xhr.d.ts index 2ff6523..bcf2c8a 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/xhr.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/esnext/xhr.d.ts @@ -1,7 +1,7 @@ import * as api from '@opentelemetry/api'; import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation'; import { OpenFunction, PropagateTraceHeaderCorsUrls, SendFunction, XhrMem } from './types'; -export declare type XHRCustomAttributeFunction = (span: api.Span, xhr: XMLHttpRequest) => void; +export type XHRCustomAttributeFunction = (span: api.Span, xhr: XMLHttpRequest) => void; /** * XMLHttpRequest config */ diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/types.d.ts b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/types.d.ts index 2db902a..785f8b8 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/types.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/types.d.ts @@ -2,12 +2,12 @@ import * as api from '@opentelemetry/api'; /** * method "open" from XMLHttpRequest */ -export declare type OpenFunction = (method: string, url: string, async?: boolean, user?: string | null, pass?: string | null) => void; +export type OpenFunction = (method: string, url: string, async?: boolean, user?: string | null, pass?: string | null) => void; /** * method "send" from XMLHttpRequest */ -export declare type SendFunction = typeof XMLHttpRequest.prototype.send; -export declare type SendBody = string | Document | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream | null; +export type SendFunction = typeof XMLHttpRequest.prototype.send; +export type SendBody = string | Document | Blob | ArrayBufferView | ArrayBuffer | FormData | URLSearchParams | ReadableStream | null; /** * interface to store information in weak map about spans, resources and * callbacks @@ -24,6 +24,6 @@ export interface XhrMem { }; callbackToRemoveEvents?: Function; } -export declare type PropagateTraceHeaderCorsUrl = string | RegExp; -export declare type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; +export type PropagateTraceHeaderCorsUrl = string | RegExp; +export type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/xhr.d.ts b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/xhr.d.ts index 2ff6523..bcf2c8a 100644 --- a/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/xhr.d.ts +++ b/experimental/packages/opentelemetry-instrumentation-xml-http-request/build/src/xhr.d.ts @@ -1,7 +1,7 @@ import * as api from '@opentelemetry/api'; import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation'; import { OpenFunction, PropagateTraceHeaderCorsUrls, SendFunction, XhrMem } from './types'; -export declare type XHRCustomAttributeFunction = (span: api.Span, xhr: XMLHttpRequest) => void; +export type XHRCustomAttributeFunction = (span: api.Span, xhr: XMLHttpRequest) => void; /** * XMLHttpRequest config */ diff --git a/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/ModuleNameTrie.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/ModuleNameTrie.d.ts index 5c1d2cf..6da6060 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/ModuleNameTrie.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/ModuleNameTrie.d.ts @@ -1,6 +1,6 @@ import type { Hooked } from './RequireInTheMiddleSingleton'; export declare const ModuleNameSeparator = "/"; -declare type ModuleNameTrieSearchOptions = { +type ModuleNameTrieSearchOptions = { /** * Whether to return the results in insertion order */ diff --git a/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.d.ts index 36cbb6d..e1b8733 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.d.ts @@ -1,5 +1,5 @@ import type { OnRequireFn } from 'require-in-the-middle'; -export declare type Hooked = { +export type Hooked = { moduleName: string; onRequire: OnRequireFn; }; diff --git a/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/instrumentationNodeModuleDefinition.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/instrumentationNodeModuleDefinition.d.ts index 11b6e43..b6afd53 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/instrumentationNodeModuleDefinition.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esm/platform/node/instrumentationNodeModuleDefinition.d.ts @@ -2,9 +2,9 @@ import { InstrumentationModuleDefinition, InstrumentationModuleFile } from './ty export declare class InstrumentationNodeModuleDefinition implements InstrumentationModuleDefinition { name: string; supportedVersions: string[]; - patch?: ((exports: T, moduleVersion?: string | undefined) => T) | undefined; - unpatch?: ((exports: T, moduleVersion?: string | undefined) => void) | undefined; + patch?: ((exports: T, moduleVersion?: string) => T) | undefined; + unpatch?: ((exports: T, moduleVersion?: string) => void) | undefined; files: InstrumentationModuleFile[]; - constructor(name: string, supportedVersions: string[], patch?: ((exports: T, moduleVersion?: string | undefined) => T) | undefined, unpatch?: ((exports: T, moduleVersion?: string | undefined) => void) | undefined, files?: InstrumentationModuleFile[]); + constructor(name: string, supportedVersions: string[], patch?: ((exports: T, moduleVersion?: string) => T) | undefined, unpatch?: ((exports: T, moduleVersion?: string) => void) | undefined, files?: InstrumentationModuleFile[]); } //# sourceMappingURL=instrumentationNodeModuleDefinition.d.ts.map \ No newline at end of file diff --git a/experimental/packages/opentelemetry-instrumentation/build/esm/types_internal.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esm/types_internal.d.ts index a160ccc..bfb7a9e 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esm/types_internal.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esm/types_internal.d.ts @@ -1,7 +1,7 @@ import { TracerProvider, MeterProvider } from '@opentelemetry/api'; import { InstrumentationBase } from './platform'; import { Instrumentation } from './types'; -export declare type InstrumentationOption = typeof InstrumentationBase | (typeof InstrumentationBase)[] | Instrumentation | Instrumentation[]; +export type InstrumentationOption = typeof InstrumentationBase | (typeof InstrumentationBase)[] | Instrumentation | Instrumentation[]; export interface AutoLoaderResult { instrumentations: Instrumentation[]; } diff --git a/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/ModuleNameTrie.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/ModuleNameTrie.d.ts index 5c1d2cf..6da6060 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/ModuleNameTrie.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/ModuleNameTrie.d.ts @@ -1,6 +1,6 @@ import type { Hooked } from './RequireInTheMiddleSingleton'; export declare const ModuleNameSeparator = "/"; -declare type ModuleNameTrieSearchOptions = { +type ModuleNameTrieSearchOptions = { /** * Whether to return the results in insertion order */ diff --git a/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/RequireInTheMiddleSingleton.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/RequireInTheMiddleSingleton.d.ts index 36cbb6d..e1b8733 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/RequireInTheMiddleSingleton.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/RequireInTheMiddleSingleton.d.ts @@ -1,5 +1,5 @@ import type { OnRequireFn } from 'require-in-the-middle'; -export declare type Hooked = { +export type Hooked = { moduleName: string; onRequire: OnRequireFn; }; diff --git a/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/instrumentationNodeModuleDefinition.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/instrumentationNodeModuleDefinition.d.ts index 11b6e43..b6afd53 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/instrumentationNodeModuleDefinition.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esnext/platform/node/instrumentationNodeModuleDefinition.d.ts @@ -2,9 +2,9 @@ import { InstrumentationModuleDefinition, InstrumentationModuleFile } from './ty export declare class InstrumentationNodeModuleDefinition implements InstrumentationModuleDefinition { name: string; supportedVersions: string[]; - patch?: ((exports: T, moduleVersion?: string | undefined) => T) | undefined; - unpatch?: ((exports: T, moduleVersion?: string | undefined) => void) | undefined; + patch?: ((exports: T, moduleVersion?: string) => T) | undefined; + unpatch?: ((exports: T, moduleVersion?: string) => void) | undefined; files: InstrumentationModuleFile[]; - constructor(name: string, supportedVersions: string[], patch?: ((exports: T, moduleVersion?: string | undefined) => T) | undefined, unpatch?: ((exports: T, moduleVersion?: string | undefined) => void) | undefined, files?: InstrumentationModuleFile[]); + constructor(name: string, supportedVersions: string[], patch?: ((exports: T, moduleVersion?: string) => T) | undefined, unpatch?: ((exports: T, moduleVersion?: string) => void) | undefined, files?: InstrumentationModuleFile[]); } //# sourceMappingURL=instrumentationNodeModuleDefinition.d.ts.map \ No newline at end of file diff --git a/experimental/packages/opentelemetry-instrumentation/build/esnext/types_internal.d.ts b/experimental/packages/opentelemetry-instrumentation/build/esnext/types_internal.d.ts index a160ccc..bfb7a9e 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/esnext/types_internal.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/esnext/types_internal.d.ts @@ -1,7 +1,7 @@ import { TracerProvider, MeterProvider } from '@opentelemetry/api'; import { InstrumentationBase } from './platform'; import { Instrumentation } from './types'; -export declare type InstrumentationOption = typeof InstrumentationBase | (typeof InstrumentationBase)[] | Instrumentation | Instrumentation[]; +export type InstrumentationOption = typeof InstrumentationBase | (typeof InstrumentationBase)[] | Instrumentation | Instrumentation[]; export interface AutoLoaderResult { instrumentations: Instrumentation[]; } diff --git a/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/ModuleNameTrie.d.ts b/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/ModuleNameTrie.d.ts index 5c1d2cf..6da6060 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/ModuleNameTrie.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/ModuleNameTrie.d.ts @@ -1,6 +1,6 @@ import type { Hooked } from './RequireInTheMiddleSingleton'; export declare const ModuleNameSeparator = "/"; -declare type ModuleNameTrieSearchOptions = { +type ModuleNameTrieSearchOptions = { /** * Whether to return the results in insertion order */ diff --git a/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/RequireInTheMiddleSingleton.d.ts b/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/RequireInTheMiddleSingleton.d.ts index 36cbb6d..e1b8733 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/RequireInTheMiddleSingleton.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/RequireInTheMiddleSingleton.d.ts @@ -1,5 +1,5 @@ import type { OnRequireFn } from 'require-in-the-middle'; -export declare type Hooked = { +export type Hooked = { moduleName: string; onRequire: OnRequireFn; }; diff --git a/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/instrumentationNodeModuleDefinition.d.ts b/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/instrumentationNodeModuleDefinition.d.ts index 11b6e43..b6afd53 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/instrumentationNodeModuleDefinition.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/src/platform/node/instrumentationNodeModuleDefinition.d.ts @@ -2,9 +2,9 @@ import { InstrumentationModuleDefinition, InstrumentationModuleFile } from './ty export declare class InstrumentationNodeModuleDefinition implements InstrumentationModuleDefinition { name: string; supportedVersions: string[]; - patch?: ((exports: T, moduleVersion?: string | undefined) => T) | undefined; - unpatch?: ((exports: T, moduleVersion?: string | undefined) => void) | undefined; + patch?: ((exports: T, moduleVersion?: string) => T) | undefined; + unpatch?: ((exports: T, moduleVersion?: string) => void) | undefined; files: InstrumentationModuleFile[]; - constructor(name: string, supportedVersions: string[], patch?: ((exports: T, moduleVersion?: string | undefined) => T) | undefined, unpatch?: ((exports: T, moduleVersion?: string | undefined) => void) | undefined, files?: InstrumentationModuleFile[]); + constructor(name: string, supportedVersions: string[], patch?: ((exports: T, moduleVersion?: string) => T) | undefined, unpatch?: ((exports: T, moduleVersion?: string) => void) | undefined, files?: InstrumentationModuleFile[]); } //# sourceMappingURL=instrumentationNodeModuleDefinition.d.ts.map \ No newline at end of file diff --git a/experimental/packages/opentelemetry-instrumentation/build/src/types_internal.d.ts b/experimental/packages/opentelemetry-instrumentation/build/src/types_internal.d.ts index a160ccc..bfb7a9e 100644 --- a/experimental/packages/opentelemetry-instrumentation/build/src/types_internal.d.ts +++ b/experimental/packages/opentelemetry-instrumentation/build/src/types_internal.d.ts @@ -1,7 +1,7 @@ import { TracerProvider, MeterProvider } from '@opentelemetry/api'; import { InstrumentationBase } from './platform'; import { Instrumentation } from './types'; -export declare type InstrumentationOption = typeof InstrumentationBase | (typeof InstrumentationBase)[] | Instrumentation | Instrumentation[]; +export type InstrumentationOption = typeof InstrumentationBase | (typeof InstrumentationBase)[] | Instrumentation | Instrumentation[]; export interface AutoLoaderResult { instrumentations: Instrumentation[]; } diff --git a/experimental/packages/opentelemetry-sdk-node/build/src/sdk.d.ts b/experimental/packages/opentelemetry-sdk-node/build/src/sdk.d.ts index 9f24d5c..561d18b 100644 --- a/experimental/packages/opentelemetry-sdk-node/build/src/sdk.d.ts +++ b/experimental/packages/opentelemetry-sdk-node/build/src/sdk.d.ts @@ -5,7 +5,7 @@ import { SpanProcessor } from '@opentelemetry/sdk-trace-base'; import { NodeTracerConfig } from '@opentelemetry/sdk-trace-node'; import { NodeSDKConfiguration } from './types'; /** This class represents everything needed to register a fully configured OpenTelemetry Node.js SDK */ -export declare type MeterProviderConfig = { +export type MeterProviderConfig = { /** * Reference to the MetricReader instance by the NodeSDK */ diff --git a/experimental/packages/otlp-exporter-base/build/esm/platform/node/OTLPExporterNodeBase.d.ts b/experimental/packages/otlp-exporter-base/build/esm/platform/node/OTLPExporterNodeBase.d.ts index cdead90..176bd19 100644 --- a/experimental/packages/otlp-exporter-base/build/esm/platform/node/OTLPExporterNodeBase.d.ts +++ b/experimental/packages/otlp-exporter-base/build/esm/platform/node/OTLPExporterNodeBase.d.ts @@ -1,4 +1,5 @@ /// +/// import type * as http from 'http'; import type * as https from 'https'; import { OTLPExporterBase } from '../../OTLPExporterBase'; diff --git a/experimental/packages/otlp-exporter-base/build/esm/platform/node/types.d.ts b/experimental/packages/otlp-exporter-base/build/esm/platform/node/types.d.ts index e5cbda1..332848b 100644 --- a/experimental/packages/otlp-exporter-base/build/esm/platform/node/types.d.ts +++ b/experimental/packages/otlp-exporter-base/build/esm/platform/node/types.d.ts @@ -1,4 +1,5 @@ /// +/// import type * as http from 'http'; import type * as https from 'https'; import { OTLPExporterConfigBase } from '../../types'; diff --git a/experimental/packages/otlp-exporter-base/build/esm/platform/node/util.d.ts b/experimental/packages/otlp-exporter-base/build/esm/platform/node/util.d.ts index 099a4b0..92b9855 100644 --- a/experimental/packages/otlp-exporter-base/build/esm/platform/node/util.d.ts +++ b/experimental/packages/otlp-exporter-base/build/esm/platform/node/util.d.ts @@ -1,4 +1,6 @@ /// +/// +/// import * as http from 'http'; import * as https from 'https'; import { OTLPExporterNodeBase } from './OTLPExporterNodeBase'; diff --git a/experimental/packages/otlp-exporter-base/build/esnext/platform/node/OTLPExporterNodeBase.d.ts b/experimental/packages/otlp-exporter-base/build/esnext/platform/node/OTLPExporterNodeBase.d.ts index cdead90..176bd19 100644 --- a/experimental/packages/otlp-exporter-base/build/esnext/platform/node/OTLPExporterNodeBase.d.ts +++ b/experimental/packages/otlp-exporter-base/build/esnext/platform/node/OTLPExporterNodeBase.d.ts @@ -1,4 +1,5 @@ /// +/// import type * as http from 'http'; import type * as https from 'https'; import { OTLPExporterBase } from '../../OTLPExporterBase'; diff --git a/experimental/packages/otlp-exporter-base/build/esnext/platform/node/types.d.ts b/experimental/packages/otlp-exporter-base/build/esnext/platform/node/types.d.ts index e5cbda1..332848b 100644 --- a/experimental/packages/otlp-exporter-base/build/esnext/platform/node/types.d.ts +++ b/experimental/packages/otlp-exporter-base/build/esnext/platform/node/types.d.ts @@ -1,4 +1,5 @@ /// +/// import type * as http from 'http'; import type * as https from 'https'; import { OTLPExporterConfigBase } from '../../types'; diff --git a/experimental/packages/otlp-exporter-base/build/esnext/platform/node/util.d.ts b/experimental/packages/otlp-exporter-base/build/esnext/platform/node/util.d.ts index 099a4b0..92b9855 100644 --- a/experimental/packages/otlp-exporter-base/build/esnext/platform/node/util.d.ts +++ b/experimental/packages/otlp-exporter-base/build/esnext/platform/node/util.d.ts @@ -1,4 +1,6 @@ /// +/// +/// import * as http from 'http'; import * as https from 'https'; import { OTLPExporterNodeBase } from './OTLPExporterNodeBase'; diff --git a/experimental/packages/otlp-exporter-base/build/src/platform/node/OTLPExporterNodeBase.d.ts b/experimental/packages/otlp-exporter-base/build/src/platform/node/OTLPExporterNodeBase.d.ts index cdead90..176bd19 100644 --- a/experimental/packages/otlp-exporter-base/build/src/platform/node/OTLPExporterNodeBase.d.ts +++ b/experimental/packages/otlp-exporter-base/build/src/platform/node/OTLPExporterNodeBase.d.ts @@ -1,4 +1,5 @@ /// +/// import type * as http from 'http'; import type * as https from 'https'; import { OTLPExporterBase } from '../../OTLPExporterBase'; diff --git a/experimental/packages/otlp-exporter-base/build/src/platform/node/types.d.ts b/experimental/packages/otlp-exporter-base/build/src/platform/node/types.d.ts index e5cbda1..332848b 100644 --- a/experimental/packages/otlp-exporter-base/build/src/platform/node/types.d.ts +++ b/experimental/packages/otlp-exporter-base/build/src/platform/node/types.d.ts @@ -1,4 +1,5 @@ /// +/// import type * as http from 'http'; import type * as https from 'https'; import { OTLPExporterConfigBase } from '../../types'; diff --git a/experimental/packages/otlp-exporter-base/build/src/platform/node/util.d.ts b/experimental/packages/otlp-exporter-base/build/src/platform/node/util.d.ts index 099a4b0..92b9855 100644 --- a/experimental/packages/otlp-exporter-base/build/src/platform/node/util.d.ts +++ b/experimental/packages/otlp-exporter-base/build/src/platform/node/util.d.ts @@ -1,4 +1,6 @@ /// +/// +/// import * as http from 'http'; import * as https from 'https'; import { OTLPExporterNodeBase } from './OTLPExporterNodeBase'; diff --git a/packages/opentelemetry-context-zone-peer-dep/build/esm/types.d.ts b/packages/opentelemetry-context-zone-peer-dep/build/esm/types.d.ts index 5c22cef..1722416 100644 --- a/packages/opentelemetry-context-zone-peer-dep/build/esm/types.d.ts +++ b/packages/opentelemetry-context-zone-peer-dep/build/esm/types.d.ts @@ -1,4 +1,4 @@ -export declare type Func = (...args: unknown[]) => T; +export type Func = (...args: unknown[]) => T; /** * Minimum requirements that the object needs to have so that it can bind to the events instead of function * this is "addEventListener" and "removeEventListener" - see {@link isListenerObject} diff --git a/packages/opentelemetry-context-zone-peer-dep/build/esnext/types.d.ts b/packages/opentelemetry-context-zone-peer-dep/build/esnext/types.d.ts index 5c22cef..1722416 100644 --- a/packages/opentelemetry-context-zone-peer-dep/build/esnext/types.d.ts +++ b/packages/opentelemetry-context-zone-peer-dep/build/esnext/types.d.ts @@ -1,4 +1,4 @@ -export declare type Func = (...args: unknown[]) => T; +export type Func = (...args: unknown[]) => T; /** * Minimum requirements that the object needs to have so that it can bind to the events instead of function * this is "addEventListener" and "removeEventListener" - see {@link isListenerObject} diff --git a/packages/opentelemetry-context-zone-peer-dep/build/src/types.d.ts b/packages/opentelemetry-context-zone-peer-dep/build/src/types.d.ts index 5c22cef..1722416 100644 --- a/packages/opentelemetry-context-zone-peer-dep/build/src/types.d.ts +++ b/packages/opentelemetry-context-zone-peer-dep/build/src/types.d.ts @@ -1,4 +1,4 @@ -export declare type Func = (...args: unknown[]) => T; +export type Func = (...args: unknown[]) => T; /** * Minimum requirements that the object needs to have so that it can bind to the events instead of function * this is "addEventListener" and "removeEventListener" - see {@link isListenerObject} diff --git a/packages/opentelemetry-core/build/esm/baggage/utils.d.ts b/packages/opentelemetry-core/build/esm/baggage/utils.d.ts index dc585b3..f6fe906 100644 --- a/packages/opentelemetry-core/build/esm/baggage/utils.d.ts +++ b/packages/opentelemetry-core/build/esm/baggage/utils.d.ts @@ -1,5 +1,5 @@ import { Baggage, BaggageEntryMetadata } from '@opentelemetry/api'; -declare type ParsedBaggageKeyValue = { +type ParsedBaggageKeyValue = { key: string; value: string; metadata: BaggageEntryMetadata | undefined; diff --git a/packages/opentelemetry-core/build/esm/common/types.d.ts b/packages/opentelemetry-core/build/esm/common/types.d.ts index 65f0b21..b157ade 100644 --- a/packages/opentelemetry-core/build/esm/common/types.d.ts +++ b/packages/opentelemetry-core/build/esm/common/types.d.ts @@ -40,5 +40,5 @@ export interface InstrumentationScope { readonly schemaUrl?: string; } /** Defines an error handler function */ -export declare type ErrorHandler = (ex: Exception) => void; +export type ErrorHandler = (ex: Exception) => void; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-core/build/esm/trace/rpc-metadata.d.ts b/packages/opentelemetry-core/build/esm/trace/rpc-metadata.d.ts index 3b95aa3..3a0808b 100644 --- a/packages/opentelemetry-core/build/esm/trace/rpc-metadata.d.ts +++ b/packages/opentelemetry-core/build/esm/trace/rpc-metadata.d.ts @@ -2,7 +2,7 @@ import { Context, Span } from '@opentelemetry/api'; export declare enum RPCType { HTTP = "http" } -declare type HTTPMetadata = { +type HTTPMetadata = { type: RPCType.HTTP; route?: string; span: Span; @@ -10,7 +10,7 @@ declare type HTTPMetadata = { /** * Allows for future rpc metadata to be used with this mechanism */ -export declare type RPCMetadata = HTTPMetadata; +export type RPCMetadata = HTTPMetadata; export declare function setRPCMetadata(context: Context, meta: RPCMetadata): Context; export declare function deleteRPCMetadata(context: Context): Context; export declare function getRPCMetadata(context: Context): RPCMetadata | undefined; diff --git a/packages/opentelemetry-core/build/esm/utils/environment.d.ts b/packages/opentelemetry-core/build/esm/utils/environment.d.ts index 55fece9..29e9654 100644 --- a/packages/opentelemetry-core/build/esm/utils/environment.d.ts +++ b/packages/opentelemetry-core/build/esm/utils/environment.d.ts @@ -3,18 +3,18 @@ import { DiagLogLevel } from '@opentelemetry/api'; * Environment interface to define all names */ declare const ENVIRONMENT_BOOLEAN_KEYS: readonly ["OTEL_SDK_DISABLED"]; -declare type ENVIRONMENT_BOOLEANS = { +type ENVIRONMENT_BOOLEANS = { [K in (typeof ENVIRONMENT_BOOLEAN_KEYS)[number]]?: boolean; }; declare const ENVIRONMENT_NUMBERS_KEYS: readonly ["OTEL_BSP_EXPORT_TIMEOUT", "OTEL_BSP_MAX_EXPORT_BATCH_SIZE", "OTEL_BSP_MAX_QUEUE_SIZE", "OTEL_BSP_SCHEDULE_DELAY", "OTEL_BLRP_EXPORT_TIMEOUT", "OTEL_BLRP_MAX_EXPORT_BATCH_SIZE", "OTEL_BLRP_MAX_QUEUE_SIZE", "OTEL_BLRP_SCHEDULE_DELAY", "OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_ATTRIBUTE_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT", "OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT", "OTEL_SPAN_EVENT_COUNT_LIMIT", "OTEL_SPAN_LINK_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT", "OTEL_EXPORTER_OTLP_TIMEOUT", "OTEL_EXPORTER_OTLP_TRACES_TIMEOUT", "OTEL_EXPORTER_OTLP_METRICS_TIMEOUT", "OTEL_EXPORTER_OTLP_LOGS_TIMEOUT", "OTEL_EXPORTER_JAEGER_AGENT_PORT"]; -declare type ENVIRONMENT_NUMBERS = { +type ENVIRONMENT_NUMBERS = { [K in (typeof ENVIRONMENT_NUMBERS_KEYS)[number]]?: number; }; declare const ENVIRONMENT_LISTS_KEYS: readonly ["OTEL_NO_PATCH_MODULES", "OTEL_PROPAGATORS"]; -declare type ENVIRONMENT_LISTS = { +type ENVIRONMENT_LISTS = { [K in (typeof ENVIRONMENT_LISTS_KEYS)[number]]?: string[]; }; -export declare type ENVIRONMENT = { +export type ENVIRONMENT = { CONTAINER_NAME?: string; ECS_CONTAINER_METADATA_URI_V4?: string; ECS_CONTAINER_METADATA_URI?: string; @@ -67,7 +67,7 @@ export declare type ENVIRONMENT = { OTEL_EXPORTER_OTLP_LOGS_PROTOCOL?: string; OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE?: string; } & ENVIRONMENT_BOOLEANS & ENVIRONMENT_NUMBERS & ENVIRONMENT_LISTS; -export declare type RAW_ENVIRONMENT = { +export type RAW_ENVIRONMENT = { [key: string]: string | number | undefined | string[]; }; export declare const DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT: number; diff --git a/packages/opentelemetry-core/build/esnext/baggage/utils.d.ts b/packages/opentelemetry-core/build/esnext/baggage/utils.d.ts index dc585b3..f6fe906 100644 --- a/packages/opentelemetry-core/build/esnext/baggage/utils.d.ts +++ b/packages/opentelemetry-core/build/esnext/baggage/utils.d.ts @@ -1,5 +1,5 @@ import { Baggage, BaggageEntryMetadata } from '@opentelemetry/api'; -declare type ParsedBaggageKeyValue = { +type ParsedBaggageKeyValue = { key: string; value: string; metadata: BaggageEntryMetadata | undefined; diff --git a/packages/opentelemetry-core/build/esnext/common/types.d.ts b/packages/opentelemetry-core/build/esnext/common/types.d.ts index 65f0b21..b157ade 100644 --- a/packages/opentelemetry-core/build/esnext/common/types.d.ts +++ b/packages/opentelemetry-core/build/esnext/common/types.d.ts @@ -40,5 +40,5 @@ export interface InstrumentationScope { readonly schemaUrl?: string; } /** Defines an error handler function */ -export declare type ErrorHandler = (ex: Exception) => void; +export type ErrorHandler = (ex: Exception) => void; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-core/build/esnext/trace/rpc-metadata.d.ts b/packages/opentelemetry-core/build/esnext/trace/rpc-metadata.d.ts index 3b95aa3..3a0808b 100644 --- a/packages/opentelemetry-core/build/esnext/trace/rpc-metadata.d.ts +++ b/packages/opentelemetry-core/build/esnext/trace/rpc-metadata.d.ts @@ -2,7 +2,7 @@ import { Context, Span } from '@opentelemetry/api'; export declare enum RPCType { HTTP = "http" } -declare type HTTPMetadata = { +type HTTPMetadata = { type: RPCType.HTTP; route?: string; span: Span; @@ -10,7 +10,7 @@ declare type HTTPMetadata = { /** * Allows for future rpc metadata to be used with this mechanism */ -export declare type RPCMetadata = HTTPMetadata; +export type RPCMetadata = HTTPMetadata; export declare function setRPCMetadata(context: Context, meta: RPCMetadata): Context; export declare function deleteRPCMetadata(context: Context): Context; export declare function getRPCMetadata(context: Context): RPCMetadata | undefined; diff --git a/packages/opentelemetry-core/build/esnext/utils/environment.d.ts b/packages/opentelemetry-core/build/esnext/utils/environment.d.ts index 55fece9..29e9654 100644 --- a/packages/opentelemetry-core/build/esnext/utils/environment.d.ts +++ b/packages/opentelemetry-core/build/esnext/utils/environment.d.ts @@ -3,18 +3,18 @@ import { DiagLogLevel } from '@opentelemetry/api'; * Environment interface to define all names */ declare const ENVIRONMENT_BOOLEAN_KEYS: readonly ["OTEL_SDK_DISABLED"]; -declare type ENVIRONMENT_BOOLEANS = { +type ENVIRONMENT_BOOLEANS = { [K in (typeof ENVIRONMENT_BOOLEAN_KEYS)[number]]?: boolean; }; declare const ENVIRONMENT_NUMBERS_KEYS: readonly ["OTEL_BSP_EXPORT_TIMEOUT", "OTEL_BSP_MAX_EXPORT_BATCH_SIZE", "OTEL_BSP_MAX_QUEUE_SIZE", "OTEL_BSP_SCHEDULE_DELAY", "OTEL_BLRP_EXPORT_TIMEOUT", "OTEL_BLRP_MAX_EXPORT_BATCH_SIZE", "OTEL_BLRP_MAX_QUEUE_SIZE", "OTEL_BLRP_SCHEDULE_DELAY", "OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_ATTRIBUTE_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT", "OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT", "OTEL_SPAN_EVENT_COUNT_LIMIT", "OTEL_SPAN_LINK_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT", "OTEL_EXPORTER_OTLP_TIMEOUT", "OTEL_EXPORTER_OTLP_TRACES_TIMEOUT", "OTEL_EXPORTER_OTLP_METRICS_TIMEOUT", "OTEL_EXPORTER_OTLP_LOGS_TIMEOUT", "OTEL_EXPORTER_JAEGER_AGENT_PORT"]; -declare type ENVIRONMENT_NUMBERS = { +type ENVIRONMENT_NUMBERS = { [K in (typeof ENVIRONMENT_NUMBERS_KEYS)[number]]?: number; }; declare const ENVIRONMENT_LISTS_KEYS: readonly ["OTEL_NO_PATCH_MODULES", "OTEL_PROPAGATORS"]; -declare type ENVIRONMENT_LISTS = { +type ENVIRONMENT_LISTS = { [K in (typeof ENVIRONMENT_LISTS_KEYS)[number]]?: string[]; }; -export declare type ENVIRONMENT = { +export type ENVIRONMENT = { CONTAINER_NAME?: string; ECS_CONTAINER_METADATA_URI_V4?: string; ECS_CONTAINER_METADATA_URI?: string; @@ -67,7 +67,7 @@ export declare type ENVIRONMENT = { OTEL_EXPORTER_OTLP_LOGS_PROTOCOL?: string; OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE?: string; } & ENVIRONMENT_BOOLEANS & ENVIRONMENT_NUMBERS & ENVIRONMENT_LISTS; -export declare type RAW_ENVIRONMENT = { +export type RAW_ENVIRONMENT = { [key: string]: string | number | undefined | string[]; }; export declare const DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT: number; diff --git a/packages/opentelemetry-core/build/src/baggage/utils.d.ts b/packages/opentelemetry-core/build/src/baggage/utils.d.ts index dc585b3..f6fe906 100644 --- a/packages/opentelemetry-core/build/src/baggage/utils.d.ts +++ b/packages/opentelemetry-core/build/src/baggage/utils.d.ts @@ -1,5 +1,5 @@ import { Baggage, BaggageEntryMetadata } from '@opentelemetry/api'; -declare type ParsedBaggageKeyValue = { +type ParsedBaggageKeyValue = { key: string; value: string; metadata: BaggageEntryMetadata | undefined; diff --git a/packages/opentelemetry-core/build/src/common/types.d.ts b/packages/opentelemetry-core/build/src/common/types.d.ts index 65f0b21..b157ade 100644 --- a/packages/opentelemetry-core/build/src/common/types.d.ts +++ b/packages/opentelemetry-core/build/src/common/types.d.ts @@ -40,5 +40,5 @@ export interface InstrumentationScope { readonly schemaUrl?: string; } /** Defines an error handler function */ -export declare type ErrorHandler = (ex: Exception) => void; +export type ErrorHandler = (ex: Exception) => void; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-core/build/src/trace/rpc-metadata.d.ts b/packages/opentelemetry-core/build/src/trace/rpc-metadata.d.ts index 3b95aa3..3a0808b 100644 --- a/packages/opentelemetry-core/build/src/trace/rpc-metadata.d.ts +++ b/packages/opentelemetry-core/build/src/trace/rpc-metadata.d.ts @@ -2,7 +2,7 @@ import { Context, Span } from '@opentelemetry/api'; export declare enum RPCType { HTTP = "http" } -declare type HTTPMetadata = { +type HTTPMetadata = { type: RPCType.HTTP; route?: string; span: Span; @@ -10,7 +10,7 @@ declare type HTTPMetadata = { /** * Allows for future rpc metadata to be used with this mechanism */ -export declare type RPCMetadata = HTTPMetadata; +export type RPCMetadata = HTTPMetadata; export declare function setRPCMetadata(context: Context, meta: RPCMetadata): Context; export declare function deleteRPCMetadata(context: Context): Context; export declare function getRPCMetadata(context: Context): RPCMetadata | undefined; diff --git a/packages/opentelemetry-core/build/src/utils/environment.d.ts b/packages/opentelemetry-core/build/src/utils/environment.d.ts index 55fece9..29e9654 100644 --- a/packages/opentelemetry-core/build/src/utils/environment.d.ts +++ b/packages/opentelemetry-core/build/src/utils/environment.d.ts @@ -3,18 +3,18 @@ import { DiagLogLevel } from '@opentelemetry/api'; * Environment interface to define all names */ declare const ENVIRONMENT_BOOLEAN_KEYS: readonly ["OTEL_SDK_DISABLED"]; -declare type ENVIRONMENT_BOOLEANS = { +type ENVIRONMENT_BOOLEANS = { [K in (typeof ENVIRONMENT_BOOLEAN_KEYS)[number]]?: boolean; }; declare const ENVIRONMENT_NUMBERS_KEYS: readonly ["OTEL_BSP_EXPORT_TIMEOUT", "OTEL_BSP_MAX_EXPORT_BATCH_SIZE", "OTEL_BSP_MAX_QUEUE_SIZE", "OTEL_BSP_SCHEDULE_DELAY", "OTEL_BLRP_EXPORT_TIMEOUT", "OTEL_BLRP_MAX_EXPORT_BATCH_SIZE", "OTEL_BLRP_MAX_QUEUE_SIZE", "OTEL_BLRP_SCHEDULE_DELAY", "OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_ATTRIBUTE_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT", "OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT", "OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT", "OTEL_SPAN_EVENT_COUNT_LIMIT", "OTEL_SPAN_LINK_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT", "OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT", "OTEL_EXPORTER_OTLP_TIMEOUT", "OTEL_EXPORTER_OTLP_TRACES_TIMEOUT", "OTEL_EXPORTER_OTLP_METRICS_TIMEOUT", "OTEL_EXPORTER_OTLP_LOGS_TIMEOUT", "OTEL_EXPORTER_JAEGER_AGENT_PORT"]; -declare type ENVIRONMENT_NUMBERS = { +type ENVIRONMENT_NUMBERS = { [K in (typeof ENVIRONMENT_NUMBERS_KEYS)[number]]?: number; }; declare const ENVIRONMENT_LISTS_KEYS: readonly ["OTEL_NO_PATCH_MODULES", "OTEL_PROPAGATORS"]; -declare type ENVIRONMENT_LISTS = { +type ENVIRONMENT_LISTS = { [K in (typeof ENVIRONMENT_LISTS_KEYS)[number]]?: string[]; }; -export declare type ENVIRONMENT = { +export type ENVIRONMENT = { CONTAINER_NAME?: string; ECS_CONTAINER_METADATA_URI_V4?: string; ECS_CONTAINER_METADATA_URI?: string; @@ -67,7 +67,7 @@ export declare type ENVIRONMENT = { OTEL_EXPORTER_OTLP_LOGS_PROTOCOL?: string; OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE?: string; } & ENVIRONMENT_BOOLEANS & ENVIRONMENT_NUMBERS & ENVIRONMENT_LISTS; -export declare type RAW_ENVIRONMENT = { +export type RAW_ENVIRONMENT = { [key: string]: string | number | undefined | string[]; }; export declare const DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT: number; diff --git a/packages/opentelemetry-exporter-jaeger/build/src/types.d.ts b/packages/opentelemetry-exporter-jaeger/build/src/types.d.ts index e7184ae..57e2175 100644 --- a/packages/opentelemetry-exporter-jaeger/build/src/types.d.ts +++ b/packages/opentelemetry-exporter-jaeger/build/src/types.d.ts @@ -17,7 +17,7 @@ export declare const UDPSender: any; export declare const Utils: any; export declare const ThriftUtils: any; export declare const HTTPSender: any; -export declare type TagValue = string | number | boolean; +export type TagValue = string | number | boolean; export interface Tag { key: string; value: TagValue; @@ -26,7 +26,7 @@ export interface Log { timestamp: number; fields: Tag[]; } -export declare type SenderCallback = (numSpans: number, err?: string) => void; +export type SenderCallback = (numSpans: number, err?: string) => void; export interface ThriftProcess { serviceName: string; tags: ThriftTag[]; diff --git a/packages/opentelemetry-exporter-zipkin/build/esm/types.d.ts b/packages/opentelemetry-exporter-zipkin/build/esm/types.d.ts index 43862af..ebcac49 100644 --- a/packages/opentelemetry-exporter-zipkin/build/esm/types.d.ts +++ b/packages/opentelemetry-exporter-zipkin/build/esm/types.d.ts @@ -152,7 +152,7 @@ export declare enum SpanKind { /** * interface for function that will send zipkin spans */ -export declare type SendFunction = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; -export declare type GetHeaders = () => Record | undefined; -export declare type SendFn = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; +export type SendFunction = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; +export type GetHeaders = () => Record | undefined; +export type SendFn = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-exporter-zipkin/build/esnext/types.d.ts b/packages/opentelemetry-exporter-zipkin/build/esnext/types.d.ts index 43862af..ebcac49 100644 --- a/packages/opentelemetry-exporter-zipkin/build/esnext/types.d.ts +++ b/packages/opentelemetry-exporter-zipkin/build/esnext/types.d.ts @@ -152,7 +152,7 @@ export declare enum SpanKind { /** * interface for function that will send zipkin spans */ -export declare type SendFunction = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; -export declare type GetHeaders = () => Record | undefined; -export declare type SendFn = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; +export type SendFunction = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; +export type GetHeaders = () => Record | undefined; +export type SendFn = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-exporter-zipkin/build/src/types.d.ts b/packages/opentelemetry-exporter-zipkin/build/src/types.d.ts index 43862af..ebcac49 100644 --- a/packages/opentelemetry-exporter-zipkin/build/src/types.d.ts +++ b/packages/opentelemetry-exporter-zipkin/build/src/types.d.ts @@ -152,7 +152,7 @@ export declare enum SpanKind { /** * interface for function that will send zipkin spans */ -export declare type SendFunction = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; -export declare type GetHeaders = () => Record | undefined; -export declare type SendFn = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; +export type SendFunction = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; +export type GetHeaders = () => Record | undefined; +export type SendFn = (zipkinSpans: Span[], done: (result: ExportResult) => void) => void; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-resources/build/esm/types.d.ts b/packages/opentelemetry-resources/build/esm/types.d.ts index f30022b..3eb67a7 100644 --- a/packages/opentelemetry-resources/build/esm/types.d.ts +++ b/packages/opentelemetry-resources/build/esm/types.d.ts @@ -6,7 +6,7 @@ import { IResource } from './IResource'; * General `Attributes` interface is added in api v1.1.0. * To backward support older api (1.0.x), the deprecated `SpanAttributes` is used here. */ -export declare type ResourceAttributes = SpanAttributes; +export type ResourceAttributes = SpanAttributes; /** * @deprecated please use {@link DetectorSync} */ diff --git a/packages/opentelemetry-resources/build/esnext/types.d.ts b/packages/opentelemetry-resources/build/esnext/types.d.ts index f30022b..3eb67a7 100644 --- a/packages/opentelemetry-resources/build/esnext/types.d.ts +++ b/packages/opentelemetry-resources/build/esnext/types.d.ts @@ -6,7 +6,7 @@ import { IResource } from './IResource'; * General `Attributes` interface is added in api v1.1.0. * To backward support older api (1.0.x), the deprecated `SpanAttributes` is used here. */ -export declare type ResourceAttributes = SpanAttributes; +export type ResourceAttributes = SpanAttributes; /** * @deprecated please use {@link DetectorSync} */ diff --git a/packages/opentelemetry-resources/build/src/types.d.ts b/packages/opentelemetry-resources/build/src/types.d.ts index f30022b..3eb67a7 100644 --- a/packages/opentelemetry-resources/build/src/types.d.ts +++ b/packages/opentelemetry-resources/build/src/types.d.ts @@ -6,7 +6,7 @@ import { IResource } from './IResource'; * General `Attributes` interface is added in api v1.1.0. * To backward support older api (1.0.x), the deprecated `SpanAttributes` is used here. */ -export declare type ResourceAttributes = SpanAttributes; +export type ResourceAttributes = SpanAttributes; /** * @deprecated please use {@link DetectorSync} */ diff --git a/packages/opentelemetry-sdk-trace-base/build/esm/BasicTracerProvider.d.ts b/packages/opentelemetry-sdk-trace-base/build/esm/BasicTracerProvider.d.ts index f1edfc1..df5d1da 100644 --- a/packages/opentelemetry-sdk-trace-base/build/esm/BasicTracerProvider.d.ts +++ b/packages/opentelemetry-sdk-trace-base/build/esm/BasicTracerProvider.d.ts @@ -3,8 +3,8 @@ import { IResource } from '@opentelemetry/resources'; import { SpanProcessor, Tracer } from '.'; import { SDKRegistrationConfig, TracerConfig } from './types'; import { SpanExporter } from './export/SpanExporter'; -export declare type PROPAGATOR_FACTORY = () => TextMapPropagator; -export declare type EXPORTER_FACTORY = () => SpanExporter; +export type PROPAGATOR_FACTORY = () => TextMapPropagator; +export type EXPORTER_FACTORY = () => SpanExporter; export declare enum ForceFlushState { 'resolved' = 0, 'timeout' = 1, diff --git a/packages/opentelemetry-sdk-trace-base/build/esnext/BasicTracerProvider.d.ts b/packages/opentelemetry-sdk-trace-base/build/esnext/BasicTracerProvider.d.ts index f1edfc1..df5d1da 100644 --- a/packages/opentelemetry-sdk-trace-base/build/esnext/BasicTracerProvider.d.ts +++ b/packages/opentelemetry-sdk-trace-base/build/esnext/BasicTracerProvider.d.ts @@ -3,8 +3,8 @@ import { IResource } from '@opentelemetry/resources'; import { SpanProcessor, Tracer } from '.'; import { SDKRegistrationConfig, TracerConfig } from './types'; import { SpanExporter } from './export/SpanExporter'; -export declare type PROPAGATOR_FACTORY = () => TextMapPropagator; -export declare type EXPORTER_FACTORY = () => SpanExporter; +export type PROPAGATOR_FACTORY = () => TextMapPropagator; +export type EXPORTER_FACTORY = () => SpanExporter; export declare enum ForceFlushState { 'resolved' = 0, 'timeout' = 1, diff --git a/packages/opentelemetry-sdk-trace-base/build/src/BasicTracerProvider.d.ts b/packages/opentelemetry-sdk-trace-base/build/src/BasicTracerProvider.d.ts index f1edfc1..df5d1da 100644 --- a/packages/opentelemetry-sdk-trace-base/build/src/BasicTracerProvider.d.ts +++ b/packages/opentelemetry-sdk-trace-base/build/src/BasicTracerProvider.d.ts @@ -3,8 +3,8 @@ import { IResource } from '@opentelemetry/resources'; import { SpanProcessor, Tracer } from '.'; import { SDKRegistrationConfig, TracerConfig } from './types'; import { SpanExporter } from './export/SpanExporter'; -export declare type PROPAGATOR_FACTORY = () => TextMapPropagator; -export declare type EXPORTER_FACTORY = () => SpanExporter; +export type PROPAGATOR_FACTORY = () => TextMapPropagator; +export type EXPORTER_FACTORY = () => SpanExporter; export declare enum ForceFlushState { 'resolved' = 0, 'timeout' = 1, diff --git a/packages/opentelemetry-sdk-trace-node/build/src/config.d.ts b/packages/opentelemetry-sdk-trace-node/build/src/config.d.ts index 9815db6..0e98a42 100644 --- a/packages/opentelemetry-sdk-trace-node/build/src/config.d.ts +++ b/packages/opentelemetry-sdk-trace-node/build/src/config.d.ts @@ -2,5 +2,5 @@ import { TracerConfig } from '@opentelemetry/sdk-trace-base'; /** * NodeTracerConfig provides an interface for configuring a Node Tracer. */ -export declare type NodeTracerConfig = TracerConfig; +export type NodeTracerConfig = TracerConfig; //# sourceMappingURL=config.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-sdk-trace-web/build/esm/WebTracerProvider.d.ts b/packages/opentelemetry-sdk-trace-web/build/esm/WebTracerProvider.d.ts index 0893472..a52c65f 100644 --- a/packages/opentelemetry-sdk-trace-web/build/esm/WebTracerProvider.d.ts +++ b/packages/opentelemetry-sdk-trace-web/build/esm/WebTracerProvider.d.ts @@ -2,7 +2,7 @@ import { BasicTracerProvider, SDKRegistrationConfig, TracerConfig } from '@opent /** * WebTracerConfig provides an interface for configuring a Web Tracer. */ -export declare type WebTracerConfig = TracerConfig; +export type WebTracerConfig = TracerConfig; /** * This class represents a web tracer with {@link StackContextManager} */ diff --git a/packages/opentelemetry-sdk-trace-web/build/esm/types.d.ts b/packages/opentelemetry-sdk-trace-web/build/esm/types.d.ts index 6434e1b..d51d027 100644 --- a/packages/opentelemetry-sdk-trace-web/build/esm/types.d.ts +++ b/packages/opentelemetry-sdk-trace-web/build/esm/types.d.ts @@ -1,5 +1,5 @@ import { PerformanceTimingNames } from './enums/PerformanceTimingNames'; -export declare type PerformanceEntries = { +export type PerformanceEntries = { [PerformanceTimingNames.CONNECT_END]?: number; [PerformanceTimingNames.CONNECT_START]?: number; [PerformanceTimingNames.DECODED_BODY_SIZE]?: number; @@ -37,10 +37,10 @@ export interface PerformanceResourceTimingInfo { corsPreFlightRequest?: PerformanceResourceTiming; mainRequest?: PerformanceResourceTiming; } -declare type PropagateTraceHeaderCorsUrl = string | RegExp; +type PropagateTraceHeaderCorsUrl = string | RegExp; /** * urls which should include trace headers when origin doesn't match */ -export declare type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; +export type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; export {}; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-sdk-trace-web/build/esnext/WebTracerProvider.d.ts b/packages/opentelemetry-sdk-trace-web/build/esnext/WebTracerProvider.d.ts index 0893472..a52c65f 100644 --- a/packages/opentelemetry-sdk-trace-web/build/esnext/WebTracerProvider.d.ts +++ b/packages/opentelemetry-sdk-trace-web/build/esnext/WebTracerProvider.d.ts @@ -2,7 +2,7 @@ import { BasicTracerProvider, SDKRegistrationConfig, TracerConfig } from '@opent /** * WebTracerConfig provides an interface for configuring a Web Tracer. */ -export declare type WebTracerConfig = TracerConfig; +export type WebTracerConfig = TracerConfig; /** * This class represents a web tracer with {@link StackContextManager} */ diff --git a/packages/opentelemetry-sdk-trace-web/build/esnext/types.d.ts b/packages/opentelemetry-sdk-trace-web/build/esnext/types.d.ts index 6434e1b..d51d027 100644 --- a/packages/opentelemetry-sdk-trace-web/build/esnext/types.d.ts +++ b/packages/opentelemetry-sdk-trace-web/build/esnext/types.d.ts @@ -1,5 +1,5 @@ import { PerformanceTimingNames } from './enums/PerformanceTimingNames'; -export declare type PerformanceEntries = { +export type PerformanceEntries = { [PerformanceTimingNames.CONNECT_END]?: number; [PerformanceTimingNames.CONNECT_START]?: number; [PerformanceTimingNames.DECODED_BODY_SIZE]?: number; @@ -37,10 +37,10 @@ export interface PerformanceResourceTimingInfo { corsPreFlightRequest?: PerformanceResourceTiming; mainRequest?: PerformanceResourceTiming; } -declare type PropagateTraceHeaderCorsUrl = string | RegExp; +type PropagateTraceHeaderCorsUrl = string | RegExp; /** * urls which should include trace headers when origin doesn't match */ -export declare type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; +export type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; export {}; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-sdk-trace-web/build/src/WebTracerProvider.d.ts b/packages/opentelemetry-sdk-trace-web/build/src/WebTracerProvider.d.ts index 0893472..a52c65f 100644 --- a/packages/opentelemetry-sdk-trace-web/build/src/WebTracerProvider.d.ts +++ b/packages/opentelemetry-sdk-trace-web/build/src/WebTracerProvider.d.ts @@ -2,7 +2,7 @@ import { BasicTracerProvider, SDKRegistrationConfig, TracerConfig } from '@opent /** * WebTracerConfig provides an interface for configuring a Web Tracer. */ -export declare type WebTracerConfig = TracerConfig; +export type WebTracerConfig = TracerConfig; /** * This class represents a web tracer with {@link StackContextManager} */ diff --git a/packages/opentelemetry-sdk-trace-web/build/src/types.d.ts b/packages/opentelemetry-sdk-trace-web/build/src/types.d.ts index 6434e1b..d51d027 100644 --- a/packages/opentelemetry-sdk-trace-web/build/src/types.d.ts +++ b/packages/opentelemetry-sdk-trace-web/build/src/types.d.ts @@ -1,5 +1,5 @@ import { PerformanceTimingNames } from './enums/PerformanceTimingNames'; -export declare type PerformanceEntries = { +export type PerformanceEntries = { [PerformanceTimingNames.CONNECT_END]?: number; [PerformanceTimingNames.CONNECT_START]?: number; [PerformanceTimingNames.DECODED_BODY_SIZE]?: number; @@ -37,10 +37,10 @@ export interface PerformanceResourceTimingInfo { corsPreFlightRequest?: PerformanceResourceTiming; mainRequest?: PerformanceResourceTiming; } -declare type PropagateTraceHeaderCorsUrl = string | RegExp; +type PropagateTraceHeaderCorsUrl = string | RegExp; /** * urls which should include trace headers when origin doesn't match */ -export declare type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; +export type PropagateTraceHeaderCorsUrls = PropagateTraceHeaderCorsUrl | PropagateTraceHeaderCorsUrl[]; export {}; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-semantic-conventions/build/esm/resource/SemanticResourceAttributes.d.ts b/packages/opentelemetry-semantic-conventions/build/esm/resource/SemanticResourceAttributes.d.ts index 7128ef4..d1529a7 100644 --- a/packages/opentelemetry-semantic-conventions/build/esm/resource/SemanticResourceAttributes.d.ts +++ b/packages/opentelemetry-semantic-conventions/build/esm/resource/SemanticResourceAttributes.d.ts @@ -387,7 +387,7 @@ export declare const CloudProviderValues: { /** Google Cloud Platform. */ readonly GCP: "gcp"; }; -export declare type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues]; +export type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues]; export declare const CloudPlatformValues: { /** Alibaba Cloud Elastic Compute Service. */ readonly ALIBABA_CLOUD_ECS: "alibaba_cloud_ecs"; @@ -424,14 +424,14 @@ export declare const CloudPlatformValues: { /** Google Cloud App Engine (GAE). */ readonly GCP_APP_ENGINE: "gcp_app_engine"; }; -export declare type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues]; +export type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues]; export declare const AwsEcsLaunchtypeValues: { /** ec2. */ readonly EC2: "ec2"; /** fargate. */ readonly FARGATE: "fargate"; }; -export declare type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues]; +export type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues]; export declare const HostArchValues: { /** AMD64. */ readonly AMD64: "amd64"; @@ -448,7 +448,7 @@ export declare const HostArchValues: { /** 32-bit x86. */ readonly X86: "x86"; }; -export declare type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues]; +export type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues]; export declare const OsTypeValues: { /** Microsoft Windows. */ readonly WINDOWS: "windows"; @@ -473,7 +473,7 @@ export declare const OsTypeValues: { /** IBM z/OS. */ readonly Z_OS: "z_os"; }; -export declare type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues]; +export type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues]; export declare const TelemetrySdkLanguageValues: { /** cpp. */ readonly CPP: "cpp"; @@ -496,5 +496,5 @@ export declare const TelemetrySdkLanguageValues: { /** webjs. */ readonly WEBJS: "webjs"; }; -export declare type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues]; +export type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues]; //# sourceMappingURL=SemanticResourceAttributes.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-semantic-conventions/build/esm/trace/SemanticAttributes.d.ts b/packages/opentelemetry-semantic-conventions/build/esm/trace/SemanticAttributes.d.ts index 8ff7a81..6b79999 100644 --- a/packages/opentelemetry-semantic-conventions/build/esm/trace/SemanticAttributes.d.ts +++ b/packages/opentelemetry-semantic-conventions/build/esm/trace/SemanticAttributes.d.ts @@ -673,7 +673,7 @@ export declare const DbSystemValues: { /** CockroachDB. */ readonly COCKROACHDB: "cockroachdb"; }; -export declare type DbSystemValues = (typeof DbSystemValues)[keyof typeof DbSystemValues]; +export type DbSystemValues = (typeof DbSystemValues)[keyof typeof DbSystemValues]; export declare const DbCassandraConsistencyLevelValues: { /** all. */ readonly ALL: "all"; @@ -698,7 +698,7 @@ export declare const DbCassandraConsistencyLevelValues: { /** local_serial. */ readonly LOCAL_SERIAL: "local_serial"; }; -export declare type DbCassandraConsistencyLevelValues = (typeof DbCassandraConsistencyLevelValues)[keyof typeof DbCassandraConsistencyLevelValues]; +export type DbCassandraConsistencyLevelValues = (typeof DbCassandraConsistencyLevelValues)[keyof typeof DbCassandraConsistencyLevelValues]; export declare const FaasTriggerValues: { /** A response to some data source operation such as a database or filesystem read/write. */ readonly DATASOURCE: "datasource"; @@ -711,7 +711,7 @@ export declare const FaasTriggerValues: { /** If none of the others apply. */ readonly OTHER: "other"; }; -export declare type FaasTriggerValues = (typeof FaasTriggerValues)[keyof typeof FaasTriggerValues]; +export type FaasTriggerValues = (typeof FaasTriggerValues)[keyof typeof FaasTriggerValues]; export declare const FaasDocumentOperationValues: { /** When a new object is created. */ readonly INSERT: "insert"; @@ -720,7 +720,7 @@ export declare const FaasDocumentOperationValues: { /** When an object is deleted. */ readonly DELETE: "delete"; }; -export declare type FaasDocumentOperationValues = (typeof FaasDocumentOperationValues)[keyof typeof FaasDocumentOperationValues]; +export type FaasDocumentOperationValues = (typeof FaasDocumentOperationValues)[keyof typeof FaasDocumentOperationValues]; export declare const FaasInvokedProviderValues: { /** Alibaba Cloud. */ readonly ALIBABA_CLOUD: "alibaba_cloud"; @@ -731,7 +731,7 @@ export declare const FaasInvokedProviderValues: { /** Google Cloud Platform. */ readonly GCP: "gcp"; }; -export declare type FaasInvokedProviderValues = (typeof FaasInvokedProviderValues)[keyof typeof FaasInvokedProviderValues]; +export type FaasInvokedProviderValues = (typeof FaasInvokedProviderValues)[keyof typeof FaasInvokedProviderValues]; export declare const NetTransportValues: { /** ip_tcp. */ readonly IP_TCP: "ip_tcp"; @@ -748,7 +748,7 @@ export declare const NetTransportValues: { /** Something else (non IP-based). */ readonly OTHER: "other"; }; -export declare type NetTransportValues = (typeof NetTransportValues)[keyof typeof NetTransportValues]; +export type NetTransportValues = (typeof NetTransportValues)[keyof typeof NetTransportValues]; export declare const NetHostConnectionTypeValues: { /** wifi. */ readonly WIFI: "wifi"; @@ -761,7 +761,7 @@ export declare const NetHostConnectionTypeValues: { /** unknown. */ readonly UNKNOWN: "unknown"; }; -export declare type NetHostConnectionTypeValues = (typeof NetHostConnectionTypeValues)[keyof typeof NetHostConnectionTypeValues]; +export type NetHostConnectionTypeValues = (typeof NetHostConnectionTypeValues)[keyof typeof NetHostConnectionTypeValues]; export declare const NetHostConnectionSubtypeValues: { /** GPRS. */ readonly GPRS: "gprs"; @@ -806,7 +806,7 @@ export declare const NetHostConnectionSubtypeValues: { /** LTE CA. */ readonly LTE_CA: "lte_ca"; }; -export declare type NetHostConnectionSubtypeValues = (typeof NetHostConnectionSubtypeValues)[keyof typeof NetHostConnectionSubtypeValues]; +export type NetHostConnectionSubtypeValues = (typeof NetHostConnectionSubtypeValues)[keyof typeof NetHostConnectionSubtypeValues]; export declare const HttpFlavorValues: { /** HTTP 1.0. */ readonly HTTP_1_0: "1.0"; @@ -819,21 +819,21 @@ export declare const HttpFlavorValues: { /** QUIC protocol. */ readonly QUIC: "QUIC"; }; -export declare type HttpFlavorValues = (typeof HttpFlavorValues)[keyof typeof HttpFlavorValues]; +export type HttpFlavorValues = (typeof HttpFlavorValues)[keyof typeof HttpFlavorValues]; export declare const MessagingDestinationKindValues: { /** A message sent to a queue. */ readonly QUEUE: "queue"; /** A message sent to a topic. */ readonly TOPIC: "topic"; }; -export declare type MessagingDestinationKindValues = (typeof MessagingDestinationKindValues)[keyof typeof MessagingDestinationKindValues]; +export type MessagingDestinationKindValues = (typeof MessagingDestinationKindValues)[keyof typeof MessagingDestinationKindValues]; export declare const MessagingOperationValues: { /** receive. */ readonly RECEIVE: "receive"; /** process. */ readonly PROCESS: "process"; }; -export declare type MessagingOperationValues = (typeof MessagingOperationValues)[keyof typeof MessagingOperationValues]; +export type MessagingOperationValues = (typeof MessagingOperationValues)[keyof typeof MessagingOperationValues]; export declare const RpcGrpcStatusCodeValues: { /** OK. */ readonly OK: 0; @@ -870,12 +870,12 @@ export declare const RpcGrpcStatusCodeValues: { /** UNAUTHENTICATED. */ readonly UNAUTHENTICATED: 16; }; -export declare type RpcGrpcStatusCodeValues = (typeof RpcGrpcStatusCodeValues)[keyof typeof RpcGrpcStatusCodeValues]; +export type RpcGrpcStatusCodeValues = (typeof RpcGrpcStatusCodeValues)[keyof typeof RpcGrpcStatusCodeValues]; export declare const MessageTypeValues: { /** sent. */ readonly SENT: "SENT"; /** received. */ readonly RECEIVED: "RECEIVED"; }; -export declare type MessageTypeValues = (typeof MessageTypeValues)[keyof typeof MessageTypeValues]; +export type MessageTypeValues = (typeof MessageTypeValues)[keyof typeof MessageTypeValues]; //# sourceMappingURL=SemanticAttributes.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-semantic-conventions/build/esnext/resource/SemanticResourceAttributes.d.ts b/packages/opentelemetry-semantic-conventions/build/esnext/resource/SemanticResourceAttributes.d.ts index 7128ef4..d1529a7 100644 --- a/packages/opentelemetry-semantic-conventions/build/esnext/resource/SemanticResourceAttributes.d.ts +++ b/packages/opentelemetry-semantic-conventions/build/esnext/resource/SemanticResourceAttributes.d.ts @@ -387,7 +387,7 @@ export declare const CloudProviderValues: { /** Google Cloud Platform. */ readonly GCP: "gcp"; }; -export declare type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues]; +export type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues]; export declare const CloudPlatformValues: { /** Alibaba Cloud Elastic Compute Service. */ readonly ALIBABA_CLOUD_ECS: "alibaba_cloud_ecs"; @@ -424,14 +424,14 @@ export declare const CloudPlatformValues: { /** Google Cloud App Engine (GAE). */ readonly GCP_APP_ENGINE: "gcp_app_engine"; }; -export declare type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues]; +export type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues]; export declare const AwsEcsLaunchtypeValues: { /** ec2. */ readonly EC2: "ec2"; /** fargate. */ readonly FARGATE: "fargate"; }; -export declare type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues]; +export type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues]; export declare const HostArchValues: { /** AMD64. */ readonly AMD64: "amd64"; @@ -448,7 +448,7 @@ export declare const HostArchValues: { /** 32-bit x86. */ readonly X86: "x86"; }; -export declare type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues]; +export type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues]; export declare const OsTypeValues: { /** Microsoft Windows. */ readonly WINDOWS: "windows"; @@ -473,7 +473,7 @@ export declare const OsTypeValues: { /** IBM z/OS. */ readonly Z_OS: "z_os"; }; -export declare type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues]; +export type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues]; export declare const TelemetrySdkLanguageValues: { /** cpp. */ readonly CPP: "cpp"; @@ -496,5 +496,5 @@ export declare const TelemetrySdkLanguageValues: { /** webjs. */ readonly WEBJS: "webjs"; }; -export declare type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues]; +export type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues]; //# sourceMappingURL=SemanticResourceAttributes.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-semantic-conventions/build/esnext/trace/SemanticAttributes.d.ts b/packages/opentelemetry-semantic-conventions/build/esnext/trace/SemanticAttributes.d.ts index 8ff7a81..6b79999 100644 --- a/packages/opentelemetry-semantic-conventions/build/esnext/trace/SemanticAttributes.d.ts +++ b/packages/opentelemetry-semantic-conventions/build/esnext/trace/SemanticAttributes.d.ts @@ -673,7 +673,7 @@ export declare const DbSystemValues: { /** CockroachDB. */ readonly COCKROACHDB: "cockroachdb"; }; -export declare type DbSystemValues = (typeof DbSystemValues)[keyof typeof DbSystemValues]; +export type DbSystemValues = (typeof DbSystemValues)[keyof typeof DbSystemValues]; export declare const DbCassandraConsistencyLevelValues: { /** all. */ readonly ALL: "all"; @@ -698,7 +698,7 @@ export declare const DbCassandraConsistencyLevelValues: { /** local_serial. */ readonly LOCAL_SERIAL: "local_serial"; }; -export declare type DbCassandraConsistencyLevelValues = (typeof DbCassandraConsistencyLevelValues)[keyof typeof DbCassandraConsistencyLevelValues]; +export type DbCassandraConsistencyLevelValues = (typeof DbCassandraConsistencyLevelValues)[keyof typeof DbCassandraConsistencyLevelValues]; export declare const FaasTriggerValues: { /** A response to some data source operation such as a database or filesystem read/write. */ readonly DATASOURCE: "datasource"; @@ -711,7 +711,7 @@ export declare const FaasTriggerValues: { /** If none of the others apply. */ readonly OTHER: "other"; }; -export declare type FaasTriggerValues = (typeof FaasTriggerValues)[keyof typeof FaasTriggerValues]; +export type FaasTriggerValues = (typeof FaasTriggerValues)[keyof typeof FaasTriggerValues]; export declare const FaasDocumentOperationValues: { /** When a new object is created. */ readonly INSERT: "insert"; @@ -720,7 +720,7 @@ export declare const FaasDocumentOperationValues: { /** When an object is deleted. */ readonly DELETE: "delete"; }; -export declare type FaasDocumentOperationValues = (typeof FaasDocumentOperationValues)[keyof typeof FaasDocumentOperationValues]; +export type FaasDocumentOperationValues = (typeof FaasDocumentOperationValues)[keyof typeof FaasDocumentOperationValues]; export declare const FaasInvokedProviderValues: { /** Alibaba Cloud. */ readonly ALIBABA_CLOUD: "alibaba_cloud"; @@ -731,7 +731,7 @@ export declare const FaasInvokedProviderValues: { /** Google Cloud Platform. */ readonly GCP: "gcp"; }; -export declare type FaasInvokedProviderValues = (typeof FaasInvokedProviderValues)[keyof typeof FaasInvokedProviderValues]; +export type FaasInvokedProviderValues = (typeof FaasInvokedProviderValues)[keyof typeof FaasInvokedProviderValues]; export declare const NetTransportValues: { /** ip_tcp. */ readonly IP_TCP: "ip_tcp"; @@ -748,7 +748,7 @@ export declare const NetTransportValues: { /** Something else (non IP-based). */ readonly OTHER: "other"; }; -export declare type NetTransportValues = (typeof NetTransportValues)[keyof typeof NetTransportValues]; +export type NetTransportValues = (typeof NetTransportValues)[keyof typeof NetTransportValues]; export declare const NetHostConnectionTypeValues: { /** wifi. */ readonly WIFI: "wifi"; @@ -761,7 +761,7 @@ export declare const NetHostConnectionTypeValues: { /** unknown. */ readonly UNKNOWN: "unknown"; }; -export declare type NetHostConnectionTypeValues = (typeof NetHostConnectionTypeValues)[keyof typeof NetHostConnectionTypeValues]; +export type NetHostConnectionTypeValues = (typeof NetHostConnectionTypeValues)[keyof typeof NetHostConnectionTypeValues]; export declare const NetHostConnectionSubtypeValues: { /** GPRS. */ readonly GPRS: "gprs"; @@ -806,7 +806,7 @@ export declare const NetHostConnectionSubtypeValues: { /** LTE CA. */ readonly LTE_CA: "lte_ca"; }; -export declare type NetHostConnectionSubtypeValues = (typeof NetHostConnectionSubtypeValues)[keyof typeof NetHostConnectionSubtypeValues]; +export type NetHostConnectionSubtypeValues = (typeof NetHostConnectionSubtypeValues)[keyof typeof NetHostConnectionSubtypeValues]; export declare const HttpFlavorValues: { /** HTTP 1.0. */ readonly HTTP_1_0: "1.0"; @@ -819,21 +819,21 @@ export declare const HttpFlavorValues: { /** QUIC protocol. */ readonly QUIC: "QUIC"; }; -export declare type HttpFlavorValues = (typeof HttpFlavorValues)[keyof typeof HttpFlavorValues]; +export type HttpFlavorValues = (typeof HttpFlavorValues)[keyof typeof HttpFlavorValues]; export declare const MessagingDestinationKindValues: { /** A message sent to a queue. */ readonly QUEUE: "queue"; /** A message sent to a topic. */ readonly TOPIC: "topic"; }; -export declare type MessagingDestinationKindValues = (typeof MessagingDestinationKindValues)[keyof typeof MessagingDestinationKindValues]; +export type MessagingDestinationKindValues = (typeof MessagingDestinationKindValues)[keyof typeof MessagingDestinationKindValues]; export declare const MessagingOperationValues: { /** receive. */ readonly RECEIVE: "receive"; /** process. */ readonly PROCESS: "process"; }; -export declare type MessagingOperationValues = (typeof MessagingOperationValues)[keyof typeof MessagingOperationValues]; +export type MessagingOperationValues = (typeof MessagingOperationValues)[keyof typeof MessagingOperationValues]; export declare const RpcGrpcStatusCodeValues: { /** OK. */ readonly OK: 0; @@ -870,12 +870,12 @@ export declare const RpcGrpcStatusCodeValues: { /** UNAUTHENTICATED. */ readonly UNAUTHENTICATED: 16; }; -export declare type RpcGrpcStatusCodeValues = (typeof RpcGrpcStatusCodeValues)[keyof typeof RpcGrpcStatusCodeValues]; +export type RpcGrpcStatusCodeValues = (typeof RpcGrpcStatusCodeValues)[keyof typeof RpcGrpcStatusCodeValues]; export declare const MessageTypeValues: { /** sent. */ readonly SENT: "SENT"; /** received. */ readonly RECEIVED: "RECEIVED"; }; -export declare type MessageTypeValues = (typeof MessageTypeValues)[keyof typeof MessageTypeValues]; +export type MessageTypeValues = (typeof MessageTypeValues)[keyof typeof MessageTypeValues]; //# sourceMappingURL=SemanticAttributes.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-semantic-conventions/build/src/resource/SemanticResourceAttributes.d.ts b/packages/opentelemetry-semantic-conventions/build/src/resource/SemanticResourceAttributes.d.ts index 7128ef4..d1529a7 100644 --- a/packages/opentelemetry-semantic-conventions/build/src/resource/SemanticResourceAttributes.d.ts +++ b/packages/opentelemetry-semantic-conventions/build/src/resource/SemanticResourceAttributes.d.ts @@ -387,7 +387,7 @@ export declare const CloudProviderValues: { /** Google Cloud Platform. */ readonly GCP: "gcp"; }; -export declare type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues]; +export type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues]; export declare const CloudPlatformValues: { /** Alibaba Cloud Elastic Compute Service. */ readonly ALIBABA_CLOUD_ECS: "alibaba_cloud_ecs"; @@ -424,14 +424,14 @@ export declare const CloudPlatformValues: { /** Google Cloud App Engine (GAE). */ readonly GCP_APP_ENGINE: "gcp_app_engine"; }; -export declare type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues]; +export type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues]; export declare const AwsEcsLaunchtypeValues: { /** ec2. */ readonly EC2: "ec2"; /** fargate. */ readonly FARGATE: "fargate"; }; -export declare type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues]; +export type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues]; export declare const HostArchValues: { /** AMD64. */ readonly AMD64: "amd64"; @@ -448,7 +448,7 @@ export declare const HostArchValues: { /** 32-bit x86. */ readonly X86: "x86"; }; -export declare type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues]; +export type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues]; export declare const OsTypeValues: { /** Microsoft Windows. */ readonly WINDOWS: "windows"; @@ -473,7 +473,7 @@ export declare const OsTypeValues: { /** IBM z/OS. */ readonly Z_OS: "z_os"; }; -export declare type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues]; +export type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues]; export declare const TelemetrySdkLanguageValues: { /** cpp. */ readonly CPP: "cpp"; @@ -496,5 +496,5 @@ export declare const TelemetrySdkLanguageValues: { /** webjs. */ readonly WEBJS: "webjs"; }; -export declare type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues]; +export type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues]; //# sourceMappingURL=SemanticResourceAttributes.d.ts.map \ No newline at end of file diff --git a/packages/opentelemetry-semantic-conventions/build/src/trace/SemanticAttributes.d.ts b/packages/opentelemetry-semantic-conventions/build/src/trace/SemanticAttributes.d.ts index 8ff7a81..6b79999 100644 --- a/packages/opentelemetry-semantic-conventions/build/src/trace/SemanticAttributes.d.ts +++ b/packages/opentelemetry-semantic-conventions/build/src/trace/SemanticAttributes.d.ts @@ -673,7 +673,7 @@ export declare const DbSystemValues: { /** CockroachDB. */ readonly COCKROACHDB: "cockroachdb"; }; -export declare type DbSystemValues = (typeof DbSystemValues)[keyof typeof DbSystemValues]; +export type DbSystemValues = (typeof DbSystemValues)[keyof typeof DbSystemValues]; export declare const DbCassandraConsistencyLevelValues: { /** all. */ readonly ALL: "all"; @@ -698,7 +698,7 @@ export declare const DbCassandraConsistencyLevelValues: { /** local_serial. */ readonly LOCAL_SERIAL: "local_serial"; }; -export declare type DbCassandraConsistencyLevelValues = (typeof DbCassandraConsistencyLevelValues)[keyof typeof DbCassandraConsistencyLevelValues]; +export type DbCassandraConsistencyLevelValues = (typeof DbCassandraConsistencyLevelValues)[keyof typeof DbCassandraConsistencyLevelValues]; export declare const FaasTriggerValues: { /** A response to some data source operation such as a database or filesystem read/write. */ readonly DATASOURCE: "datasource"; @@ -711,7 +711,7 @@ export declare const FaasTriggerValues: { /** If none of the others apply. */ readonly OTHER: "other"; }; -export declare type FaasTriggerValues = (typeof FaasTriggerValues)[keyof typeof FaasTriggerValues]; +export type FaasTriggerValues = (typeof FaasTriggerValues)[keyof typeof FaasTriggerValues]; export declare const FaasDocumentOperationValues: { /** When a new object is created. */ readonly INSERT: "insert"; @@ -720,7 +720,7 @@ export declare const FaasDocumentOperationValues: { /** When an object is deleted. */ readonly DELETE: "delete"; }; -export declare type FaasDocumentOperationValues = (typeof FaasDocumentOperationValues)[keyof typeof FaasDocumentOperationValues]; +export type FaasDocumentOperationValues = (typeof FaasDocumentOperationValues)[keyof typeof FaasDocumentOperationValues]; export declare const FaasInvokedProviderValues: { /** Alibaba Cloud. */ readonly ALIBABA_CLOUD: "alibaba_cloud"; @@ -731,7 +731,7 @@ export declare const FaasInvokedProviderValues: { /** Google Cloud Platform. */ readonly GCP: "gcp"; }; -export declare type FaasInvokedProviderValues = (typeof FaasInvokedProviderValues)[keyof typeof FaasInvokedProviderValues]; +export type FaasInvokedProviderValues = (typeof FaasInvokedProviderValues)[keyof typeof FaasInvokedProviderValues]; export declare const NetTransportValues: { /** ip_tcp. */ readonly IP_TCP: "ip_tcp"; @@ -748,7 +748,7 @@ export declare const NetTransportValues: { /** Something else (non IP-based). */ readonly OTHER: "other"; }; -export declare type NetTransportValues = (typeof NetTransportValues)[keyof typeof NetTransportValues]; +export type NetTransportValues = (typeof NetTransportValues)[keyof typeof NetTransportValues]; export declare const NetHostConnectionTypeValues: { /** wifi. */ readonly WIFI: "wifi"; @@ -761,7 +761,7 @@ export declare const NetHostConnectionTypeValues: { /** unknown. */ readonly UNKNOWN: "unknown"; }; -export declare type NetHostConnectionTypeValues = (typeof NetHostConnectionTypeValues)[keyof typeof NetHostConnectionTypeValues]; +export type NetHostConnectionTypeValues = (typeof NetHostConnectionTypeValues)[keyof typeof NetHostConnectionTypeValues]; export declare const NetHostConnectionSubtypeValues: { /** GPRS. */ readonly GPRS: "gprs"; @@ -806,7 +806,7 @@ export declare const NetHostConnectionSubtypeValues: { /** LTE CA. */ readonly LTE_CA: "lte_ca"; }; -export declare type NetHostConnectionSubtypeValues = (typeof NetHostConnectionSubtypeValues)[keyof typeof NetHostConnectionSubtypeValues]; +export type NetHostConnectionSubtypeValues = (typeof NetHostConnectionSubtypeValues)[keyof typeof NetHostConnectionSubtypeValues]; export declare const HttpFlavorValues: { /** HTTP 1.0. */ readonly HTTP_1_0: "1.0"; @@ -819,21 +819,21 @@ export declare const HttpFlavorValues: { /** QUIC protocol. */ readonly QUIC: "QUIC"; }; -export declare type HttpFlavorValues = (typeof HttpFlavorValues)[keyof typeof HttpFlavorValues]; +export type HttpFlavorValues = (typeof HttpFlavorValues)[keyof typeof HttpFlavorValues]; export declare const MessagingDestinationKindValues: { /** A message sent to a queue. */ readonly QUEUE: "queue"; /** A message sent to a topic. */ readonly TOPIC: "topic"; }; -export declare type MessagingDestinationKindValues = (typeof MessagingDestinationKindValues)[keyof typeof MessagingDestinationKindValues]; +export type MessagingDestinationKindValues = (typeof MessagingDestinationKindValues)[keyof typeof MessagingDestinationKindValues]; export declare const MessagingOperationValues: { /** receive. */ readonly RECEIVE: "receive"; /** process. */ readonly PROCESS: "process"; }; -export declare type MessagingOperationValues = (typeof MessagingOperationValues)[keyof typeof MessagingOperationValues]; +export type MessagingOperationValues = (typeof MessagingOperationValues)[keyof typeof MessagingOperationValues]; export declare const RpcGrpcStatusCodeValues: { /** OK. */ readonly OK: 0; @@ -870,12 +870,12 @@ export declare const RpcGrpcStatusCodeValues: { /** UNAUTHENTICATED. */ readonly UNAUTHENTICATED: 16; }; -export declare type RpcGrpcStatusCodeValues = (typeof RpcGrpcStatusCodeValues)[keyof typeof RpcGrpcStatusCodeValues]; +export type RpcGrpcStatusCodeValues = (typeof RpcGrpcStatusCodeValues)[keyof typeof RpcGrpcStatusCodeValues]; export declare const MessageTypeValues: { /** sent. */ readonly SENT: "SENT"; /** received. */ readonly RECEIVED: "RECEIVED"; }; -export declare type MessageTypeValues = (typeof MessageTypeValues)[keyof typeof MessageTypeValues]; +export type MessageTypeValues = (typeof MessageTypeValues)[keyof typeof MessageTypeValues]; //# sourceMappingURL=SemanticAttributes.d.ts.map \ No newline at end of file diff --git a/packages/sdk-metrics/build/esm/aggregator/types.d.ts b/packages/sdk-metrics/build/esm/aggregator/types.d.ts index b25562c..a6a761b 100644 --- a/packages/sdk-metrics/build/esm/aggregator/types.d.ts +++ b/packages/sdk-metrics/build/esm/aggregator/types.d.ts @@ -12,9 +12,9 @@ export declare enum AggregatorKind { EXPONENTIAL_HISTOGRAM = 4 } /** DataPoint value type for SumAggregation. */ -export declare type Sum = number; +export type Sum = number; /** DataPoint value type for LastValueAggregation. */ -export declare type LastValue = number; +export type LastValue = number; /** DataPoint value type for HistogramAggregation. */ export interface Histogram { /** @@ -66,7 +66,7 @@ export interface Accumulation { setStartTime(startTime: HrTime): void; record(value: number): void; } -export declare type AccumulationRecord = [MetricAttributes, T]; +export type AccumulationRecord = [MetricAttributes, T]; /** * Base interface for aggregators. Aggregators are responsible for holding * aggregated values and taking a snapshot of these values upon export. diff --git a/packages/sdk-metrics/build/esm/exemplar/Exemplar.d.ts b/packages/sdk-metrics/build/esm/exemplar/Exemplar.d.ts index 168f957..7b19597 100644 --- a/packages/sdk-metrics/build/esm/exemplar/Exemplar.d.ts +++ b/packages/sdk-metrics/build/esm/exemplar/Exemplar.d.ts @@ -5,7 +5,7 @@ import { HrTime, MetricAttributes } from '@opentelemetry/api'; * was recorded, for example the span and trace ID of the active span when the * exemplar was recorded. */ -export declare type Exemplar = { +export type Exemplar = { filteredAttributes: MetricAttributes; value: number; timestamp: HrTime; diff --git a/packages/sdk-metrics/build/esm/export/AggregationSelector.d.ts b/packages/sdk-metrics/build/esm/export/AggregationSelector.d.ts index ddad6b7..b277b2e 100644 --- a/packages/sdk-metrics/build/esm/export/AggregationSelector.d.ts +++ b/packages/sdk-metrics/build/esm/export/AggregationSelector.d.ts @@ -4,11 +4,11 @@ import { AggregationTemporality } from './AggregationTemporality'; /** * Aggregation selector based on metric instrument types. */ -export declare type AggregationSelector = (instrumentType: InstrumentType) => Aggregation; +export type AggregationSelector = (instrumentType: InstrumentType) => Aggregation; /** * Aggregation temporality selector based on metric instrument types. */ -export declare type AggregationTemporalitySelector = (instrumentType: InstrumentType) => AggregationTemporality; +export type AggregationTemporalitySelector = (instrumentType: InstrumentType) => AggregationTemporality; export declare const DEFAULT_AGGREGATION_SELECTOR: AggregationSelector; export declare const DEFAULT_AGGREGATION_TEMPORALITY_SELECTOR: AggregationTemporalitySelector; //# sourceMappingURL=AggregationSelector.d.ts.map \ No newline at end of file diff --git a/packages/sdk-metrics/build/esm/export/MetricData.d.ts b/packages/sdk-metrics/build/esm/export/MetricData.d.ts index 2604619..8dca6cf 100644 --- a/packages/sdk-metrics/build/esm/export/MetricData.d.ts +++ b/packages/sdk-metrics/build/esm/export/MetricData.d.ts @@ -45,7 +45,7 @@ export interface ExponentialHistogramMetricData extends BaseMetricData { /** * Represents an aggregated metric data. */ -export declare type MetricData = SumMetricData | GaugeMetricData | HistogramMetricData | ExponentialHistogramMetricData; +export type MetricData = SumMetricData | GaugeMetricData | HistogramMetricData | ExponentialHistogramMetricData; export interface ScopeMetrics { scope: InstrumentationScope; metrics: MetricData[]; diff --git a/packages/sdk-metrics/build/esm/export/PeriodicExportingMetricReader.d.ts b/packages/sdk-metrics/build/esm/export/PeriodicExportingMetricReader.d.ts index 32a0706..389db63 100644 --- a/packages/sdk-metrics/build/esm/export/PeriodicExportingMetricReader.d.ts +++ b/packages/sdk-metrics/build/esm/export/PeriodicExportingMetricReader.d.ts @@ -1,6 +1,6 @@ import { MetricReader } from './MetricReader'; import { PushMetricExporter } from './MetricExporter'; -export declare type PeriodicExportingMetricReaderOptions = { +export type PeriodicExportingMetricReaderOptions = { /** * The backing exporter for the metric reader. */ diff --git a/packages/sdk-metrics/build/esm/types.d.ts b/packages/sdk-metrics/build/esm/types.d.ts index 7db2be0..00d85c6 100644 --- a/packages/sdk-metrics/build/esm/types.d.ts +++ b/packages/sdk-metrics/build/esm/types.d.ts @@ -1,7 +1,7 @@ -export declare type CommonReaderOptions = { +export type CommonReaderOptions = { timeoutMillis?: number; }; -export declare type CollectionOptions = CommonReaderOptions; -export declare type ShutdownOptions = CommonReaderOptions; -export declare type ForceFlushOptions = CommonReaderOptions; +export type CollectionOptions = CommonReaderOptions; +export type ShutdownOptions = CommonReaderOptions; +export type ForceFlushOptions = CommonReaderOptions; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/sdk-metrics/build/esm/utils.d.ts b/packages/sdk-metrics/build/esm/utils.d.ts index 47c1e70..96df9b4 100644 --- a/packages/sdk-metrics/build/esm/utils.d.ts +++ b/packages/sdk-metrics/build/esm/utils.d.ts @@ -1,6 +1,6 @@ import { MetricAttributes } from '@opentelemetry/api'; import { InstrumentationScope } from '@opentelemetry/core'; -export declare type Maybe = T | undefined; +export type Maybe = T | undefined; export declare function isNotNullish(item: Maybe): item is T; /** * Converting the unordered attributes into unique identifier string. @@ -36,7 +36,7 @@ export interface PromiseAllSettledRejectionResult { status: 'rejected'; reason: unknown; } -export declare type PromiseAllSettledResult = PromiseAllSettledFulfillResult | PromiseAllSettledRejectionResult; +export type PromiseAllSettledResult = PromiseAllSettledFulfillResult | PromiseAllSettledRejectionResult; /** * Node.js v12.9 lower and browser compatible `Promise.allSettled`. */ diff --git a/packages/sdk-metrics/build/esm/view/View.d.ts b/packages/sdk-metrics/build/esm/view/View.d.ts index aa919b0..b62783e 100644 --- a/packages/sdk-metrics/build/esm/view/View.d.ts +++ b/packages/sdk-metrics/build/esm/view/View.d.ts @@ -3,7 +3,7 @@ import { InstrumentSelector } from './InstrumentSelector'; import { MeterSelector } from './MeterSelector'; import { Aggregation } from './Aggregation'; import { InstrumentType } from '../InstrumentDescriptor'; -export declare type ViewOptions = { +export type ViewOptions = { /** * Alters the metric stream: * This will be used as the name of the metrics stream. diff --git a/packages/sdk-metrics/build/esnext/aggregator/types.d.ts b/packages/sdk-metrics/build/esnext/aggregator/types.d.ts index b25562c..a6a761b 100644 --- a/packages/sdk-metrics/build/esnext/aggregator/types.d.ts +++ b/packages/sdk-metrics/build/esnext/aggregator/types.d.ts @@ -12,9 +12,9 @@ export declare enum AggregatorKind { EXPONENTIAL_HISTOGRAM = 4 } /** DataPoint value type for SumAggregation. */ -export declare type Sum = number; +export type Sum = number; /** DataPoint value type for LastValueAggregation. */ -export declare type LastValue = number; +export type LastValue = number; /** DataPoint value type for HistogramAggregation. */ export interface Histogram { /** @@ -66,7 +66,7 @@ export interface Accumulation { setStartTime(startTime: HrTime): void; record(value: number): void; } -export declare type AccumulationRecord = [MetricAttributes, T]; +export type AccumulationRecord = [MetricAttributes, T]; /** * Base interface for aggregators. Aggregators are responsible for holding * aggregated values and taking a snapshot of these values upon export. diff --git a/packages/sdk-metrics/build/esnext/exemplar/Exemplar.d.ts b/packages/sdk-metrics/build/esnext/exemplar/Exemplar.d.ts index 168f957..7b19597 100644 --- a/packages/sdk-metrics/build/esnext/exemplar/Exemplar.d.ts +++ b/packages/sdk-metrics/build/esnext/exemplar/Exemplar.d.ts @@ -5,7 +5,7 @@ import { HrTime, MetricAttributes } from '@opentelemetry/api'; * was recorded, for example the span and trace ID of the active span when the * exemplar was recorded. */ -export declare type Exemplar = { +export type Exemplar = { filteredAttributes: MetricAttributes; value: number; timestamp: HrTime; diff --git a/packages/sdk-metrics/build/esnext/export/AggregationSelector.d.ts b/packages/sdk-metrics/build/esnext/export/AggregationSelector.d.ts index ddad6b7..b277b2e 100644 --- a/packages/sdk-metrics/build/esnext/export/AggregationSelector.d.ts +++ b/packages/sdk-metrics/build/esnext/export/AggregationSelector.d.ts @@ -4,11 +4,11 @@ import { AggregationTemporality } from './AggregationTemporality'; /** * Aggregation selector based on metric instrument types. */ -export declare type AggregationSelector = (instrumentType: InstrumentType) => Aggregation; +export type AggregationSelector = (instrumentType: InstrumentType) => Aggregation; /** * Aggregation temporality selector based on metric instrument types. */ -export declare type AggregationTemporalitySelector = (instrumentType: InstrumentType) => AggregationTemporality; +export type AggregationTemporalitySelector = (instrumentType: InstrumentType) => AggregationTemporality; export declare const DEFAULT_AGGREGATION_SELECTOR: AggregationSelector; export declare const DEFAULT_AGGREGATION_TEMPORALITY_SELECTOR: AggregationTemporalitySelector; //# sourceMappingURL=AggregationSelector.d.ts.map \ No newline at end of file diff --git a/packages/sdk-metrics/build/esnext/export/MetricData.d.ts b/packages/sdk-metrics/build/esnext/export/MetricData.d.ts index 2604619..8dca6cf 100644 --- a/packages/sdk-metrics/build/esnext/export/MetricData.d.ts +++ b/packages/sdk-metrics/build/esnext/export/MetricData.d.ts @@ -45,7 +45,7 @@ export interface ExponentialHistogramMetricData extends BaseMetricData { /** * Represents an aggregated metric data. */ -export declare type MetricData = SumMetricData | GaugeMetricData | HistogramMetricData | ExponentialHistogramMetricData; +export type MetricData = SumMetricData | GaugeMetricData | HistogramMetricData | ExponentialHistogramMetricData; export interface ScopeMetrics { scope: InstrumentationScope; metrics: MetricData[]; diff --git a/packages/sdk-metrics/build/esnext/export/PeriodicExportingMetricReader.d.ts b/packages/sdk-metrics/build/esnext/export/PeriodicExportingMetricReader.d.ts index 32a0706..389db63 100644 --- a/packages/sdk-metrics/build/esnext/export/PeriodicExportingMetricReader.d.ts +++ b/packages/sdk-metrics/build/esnext/export/PeriodicExportingMetricReader.d.ts @@ -1,6 +1,6 @@ import { MetricReader } from './MetricReader'; import { PushMetricExporter } from './MetricExporter'; -export declare type PeriodicExportingMetricReaderOptions = { +export type PeriodicExportingMetricReaderOptions = { /** * The backing exporter for the metric reader. */ diff --git a/packages/sdk-metrics/build/esnext/types.d.ts b/packages/sdk-metrics/build/esnext/types.d.ts index 7db2be0..00d85c6 100644 --- a/packages/sdk-metrics/build/esnext/types.d.ts +++ b/packages/sdk-metrics/build/esnext/types.d.ts @@ -1,7 +1,7 @@ -export declare type CommonReaderOptions = { +export type CommonReaderOptions = { timeoutMillis?: number; }; -export declare type CollectionOptions = CommonReaderOptions; -export declare type ShutdownOptions = CommonReaderOptions; -export declare type ForceFlushOptions = CommonReaderOptions; +export type CollectionOptions = CommonReaderOptions; +export type ShutdownOptions = CommonReaderOptions; +export type ForceFlushOptions = CommonReaderOptions; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/sdk-metrics/build/esnext/utils.d.ts b/packages/sdk-metrics/build/esnext/utils.d.ts index 47c1e70..96df9b4 100644 --- a/packages/sdk-metrics/build/esnext/utils.d.ts +++ b/packages/sdk-metrics/build/esnext/utils.d.ts @@ -1,6 +1,6 @@ import { MetricAttributes } from '@opentelemetry/api'; import { InstrumentationScope } from '@opentelemetry/core'; -export declare type Maybe = T | undefined; +export type Maybe = T | undefined; export declare function isNotNullish(item: Maybe): item is T; /** * Converting the unordered attributes into unique identifier string. @@ -36,7 +36,7 @@ export interface PromiseAllSettledRejectionResult { status: 'rejected'; reason: unknown; } -export declare type PromiseAllSettledResult = PromiseAllSettledFulfillResult | PromiseAllSettledRejectionResult; +export type PromiseAllSettledResult = PromiseAllSettledFulfillResult | PromiseAllSettledRejectionResult; /** * Node.js v12.9 lower and browser compatible `Promise.allSettled`. */ diff --git a/packages/sdk-metrics/build/esnext/view/View.d.ts b/packages/sdk-metrics/build/esnext/view/View.d.ts index aa919b0..b62783e 100644 --- a/packages/sdk-metrics/build/esnext/view/View.d.ts +++ b/packages/sdk-metrics/build/esnext/view/View.d.ts @@ -3,7 +3,7 @@ import { InstrumentSelector } from './InstrumentSelector'; import { MeterSelector } from './MeterSelector'; import { Aggregation } from './Aggregation'; import { InstrumentType } from '../InstrumentDescriptor'; -export declare type ViewOptions = { +export type ViewOptions = { /** * Alters the metric stream: * This will be used as the name of the metrics stream. diff --git a/packages/sdk-metrics/build/src/aggregator/types.d.ts b/packages/sdk-metrics/build/src/aggregator/types.d.ts index b25562c..a6a761b 100644 --- a/packages/sdk-metrics/build/src/aggregator/types.d.ts +++ b/packages/sdk-metrics/build/src/aggregator/types.d.ts @@ -12,9 +12,9 @@ export declare enum AggregatorKind { EXPONENTIAL_HISTOGRAM = 4 } /** DataPoint value type for SumAggregation. */ -export declare type Sum = number; +export type Sum = number; /** DataPoint value type for LastValueAggregation. */ -export declare type LastValue = number; +export type LastValue = number; /** DataPoint value type for HistogramAggregation. */ export interface Histogram { /** @@ -66,7 +66,7 @@ export interface Accumulation { setStartTime(startTime: HrTime): void; record(value: number): void; } -export declare type AccumulationRecord = [MetricAttributes, T]; +export type AccumulationRecord = [MetricAttributes, T]; /** * Base interface for aggregators. Aggregators are responsible for holding * aggregated values and taking a snapshot of these values upon export. diff --git a/packages/sdk-metrics/build/src/exemplar/Exemplar.d.ts b/packages/sdk-metrics/build/src/exemplar/Exemplar.d.ts index 168f957..7b19597 100644 --- a/packages/sdk-metrics/build/src/exemplar/Exemplar.d.ts +++ b/packages/sdk-metrics/build/src/exemplar/Exemplar.d.ts @@ -5,7 +5,7 @@ import { HrTime, MetricAttributes } from '@opentelemetry/api'; * was recorded, for example the span and trace ID of the active span when the * exemplar was recorded. */ -export declare type Exemplar = { +export type Exemplar = { filteredAttributes: MetricAttributes; value: number; timestamp: HrTime; diff --git a/packages/sdk-metrics/build/src/export/AggregationSelector.d.ts b/packages/sdk-metrics/build/src/export/AggregationSelector.d.ts index ddad6b7..b277b2e 100644 --- a/packages/sdk-metrics/build/src/export/AggregationSelector.d.ts +++ b/packages/sdk-metrics/build/src/export/AggregationSelector.d.ts @@ -4,11 +4,11 @@ import { AggregationTemporality } from './AggregationTemporality'; /** * Aggregation selector based on metric instrument types. */ -export declare type AggregationSelector = (instrumentType: InstrumentType) => Aggregation; +export type AggregationSelector = (instrumentType: InstrumentType) => Aggregation; /** * Aggregation temporality selector based on metric instrument types. */ -export declare type AggregationTemporalitySelector = (instrumentType: InstrumentType) => AggregationTemporality; +export type AggregationTemporalitySelector = (instrumentType: InstrumentType) => AggregationTemporality; export declare const DEFAULT_AGGREGATION_SELECTOR: AggregationSelector; export declare const DEFAULT_AGGREGATION_TEMPORALITY_SELECTOR: AggregationTemporalitySelector; //# sourceMappingURL=AggregationSelector.d.ts.map \ No newline at end of file diff --git a/packages/sdk-metrics/build/src/export/MetricData.d.ts b/packages/sdk-metrics/build/src/export/MetricData.d.ts index 2604619..8dca6cf 100644 --- a/packages/sdk-metrics/build/src/export/MetricData.d.ts +++ b/packages/sdk-metrics/build/src/export/MetricData.d.ts @@ -45,7 +45,7 @@ export interface ExponentialHistogramMetricData extends BaseMetricData { /** * Represents an aggregated metric data. */ -export declare type MetricData = SumMetricData | GaugeMetricData | HistogramMetricData | ExponentialHistogramMetricData; +export type MetricData = SumMetricData | GaugeMetricData | HistogramMetricData | ExponentialHistogramMetricData; export interface ScopeMetrics { scope: InstrumentationScope; metrics: MetricData[]; diff --git a/packages/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.ts b/packages/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.ts index 32a0706..389db63 100644 --- a/packages/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.ts +++ b/packages/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.ts @@ -1,6 +1,6 @@ import { MetricReader } from './MetricReader'; import { PushMetricExporter } from './MetricExporter'; -export declare type PeriodicExportingMetricReaderOptions = { +export type PeriodicExportingMetricReaderOptions = { /** * The backing exporter for the metric reader. */ diff --git a/packages/sdk-metrics/build/src/types.d.ts b/packages/sdk-metrics/build/src/types.d.ts index 7db2be0..00d85c6 100644 --- a/packages/sdk-metrics/build/src/types.d.ts +++ b/packages/sdk-metrics/build/src/types.d.ts @@ -1,7 +1,7 @@ -export declare type CommonReaderOptions = { +export type CommonReaderOptions = { timeoutMillis?: number; }; -export declare type CollectionOptions = CommonReaderOptions; -export declare type ShutdownOptions = CommonReaderOptions; -export declare type ForceFlushOptions = CommonReaderOptions; +export type CollectionOptions = CommonReaderOptions; +export type ShutdownOptions = CommonReaderOptions; +export type ForceFlushOptions = CommonReaderOptions; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/sdk-metrics/build/src/utils.d.ts b/packages/sdk-metrics/build/src/utils.d.ts index 47c1e70..96df9b4 100644 --- a/packages/sdk-metrics/build/src/utils.d.ts +++ b/packages/sdk-metrics/build/src/utils.d.ts @@ -1,6 +1,6 @@ import { MetricAttributes } from '@opentelemetry/api'; import { InstrumentationScope } from '@opentelemetry/core'; -export declare type Maybe = T | undefined; +export type Maybe = T | undefined; export declare function isNotNullish(item: Maybe): item is T; /** * Converting the unordered attributes into unique identifier string. @@ -36,7 +36,7 @@ export interface PromiseAllSettledRejectionResult { status: 'rejected'; reason: unknown; } -export declare type PromiseAllSettledResult = PromiseAllSettledFulfillResult | PromiseAllSettledRejectionResult; +export type PromiseAllSettledResult = PromiseAllSettledFulfillResult | PromiseAllSettledRejectionResult; /** * Node.js v12.9 lower and browser compatible `Promise.allSettled`. */ diff --git a/packages/sdk-metrics/build/src/view/View.d.ts b/packages/sdk-metrics/build/src/view/View.d.ts index aa919b0..b62783e 100644 --- a/packages/sdk-metrics/build/src/view/View.d.ts +++ b/packages/sdk-metrics/build/src/view/View.d.ts @@ -3,7 +3,7 @@ import { InstrumentSelector } from './InstrumentSelector'; import { MeterSelector } from './MeterSelector'; import { Aggregation } from './Aggregation'; import { InstrumentType } from '../InstrumentDescriptor'; -export declare type ViewOptions = { +export type ViewOptions = { /** * Alters the metric stream: * This will be used as the name of the metrics stream. diff --git a/packages/sdk-metrics/build/test/util.d.ts b/packages/sdk-metrics/build/test/util.d.ts index 85d86d2..8507450 100644 --- a/packages/sdk-metrics/build/test/util.d.ts +++ b/packages/sdk-metrics/build/test/util.d.ts @@ -5,7 +5,7 @@ import { MetricData, DataPoint, DataPointType, ScopeMetrics } from '../src/expor import { HrTime } from '@opentelemetry/api'; import { Histogram } from '../src/aggregator/types'; import { AggregationTemporality } from '../src/export/AggregationTemporality'; -export declare type Measurement = { +export type Measurement = { value: number; attributes: MetricAttributes; context?: Context;