@vercel/otel 1.10.2 → 1.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/edge/index.js +6 -6
- package/dist/edge/index.js.map +3 -3
- package/dist/node/index.js +8 -8
- package/dist/node/index.js.map +3 -3
- package/dist/types/types.d.ts +2 -8
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ import type { LogRecordProcessor } from "@opentelemetry/sdk-logs";
|
|
|
5
5
|
import type { IdGenerator, Sampler, SpanExporter, SpanLimits, SpanProcessor } from "@opentelemetry/sdk-trace-base";
|
|
6
6
|
import type { MetricReader, View } from "@opentelemetry/sdk-metrics";
|
|
7
7
|
import type { FetchInstrumentationConfig } from "./instrumentations/fetch";
|
|
8
|
-
export type PropagatorOrName = TextMapPropagator | "auto" | "none" | "tracecontext" | "baggage";
|
|
8
|
+
export type PropagatorOrName = TextMapPropagator | "auto" | "experimental-vercel-trace" | "none" | "tracecontext" | "baggage";
|
|
9
9
|
export type SampleOrName = Sampler | "auto" | "always_off" | "always_on" | "parentbased_always_off" | "parentbased_always_on" | "parentbased_traceidratio" | "traceidratio";
|
|
10
|
-
export type SpanProcessorOrName = SpanProcessor | "auto";
|
|
10
|
+
export type SpanProcessorOrName = SpanProcessor | "auto" | "experimental-vercel-trace";
|
|
11
11
|
export type SpanExporterOrName = SpanExporter | "auto";
|
|
12
12
|
export type InstrumentationOptionOrName = InstrumentationOption | "fetch" | "auto";
|
|
13
13
|
export interface InstrumentationConfiguration {
|
|
@@ -102,12 +102,6 @@ export interface Configuration {
|
|
|
102
102
|
logRecordProcessor?: LogRecordProcessor;
|
|
103
103
|
metricReader?: MetricReader;
|
|
104
104
|
views?: View[];
|
|
105
|
-
/**
|
|
106
|
-
* Experimental features.
|
|
107
|
-
*/
|
|
108
|
-
experimental?: {
|
|
109
|
-
exportViaVercelRuntime?: boolean;
|
|
110
|
-
};
|
|
111
105
|
}
|
|
112
106
|
export type AttributesFromHeaderFunc = <Carrier = unknown>(headers: Carrier, getter: TextMapGetter<Carrier>) => Attributes | undefined;
|
|
113
107
|
export type AttributesFromHeaders = Record<string, string> | AttributesFromHeaderFunc;
|