Skip to content

default

default: Definition<
| {
exporter: {
config: Json;
name: string;
};
plugins: readonly {
[key: string]: unknown;
config?: unknown;
disabled?: boolean;
group?: boolean;
id: string;
inject?: readonly string[];
intercept?: {
[key: string]: unknown;
};
isolate?: {
[key: string]: string | true;
};
name: string;
}[];
}
| {
compression: "none" | "gzip";
exportInterval: number;
headers: {
[key: string]: Redacted<string>;
};
maxBatchSize: number;
plugins: readonly {
[key: string]: unknown;
config?: unknown;
disabled?: boolean;
group?: boolean;
id: string;
inject?: readonly string[];
intercept?: {
[key: string]: unknown;
};
isolate?: {
[key: string]: string | true;
};
name: string;
}[];
resource: {
attributes: {
[key: string]: Json;
};
serviceVersion: string;
};
serialization: "json" | "protobuf";
serviceName: string;
shutdownTimeout: number;
url: string;
},
| {
exporter: {
config?: Json;
name: string;
};
plugins: readonly {
[key: string]: unknown;
config?: unknown;
disabled?: boolean;
group?: boolean;
id?: string;
inject?: readonly string[];
intercept?: {
[key: string]: unknown;
};
isolate?: {
[key: string]: string | true;
};
name: string;
}[];
}
| {
compression?: "none" | "gzip";
exportInterval?: string | number;
headers?: {
[key: string]: string;
};
maxBatchSize?: string | number;
plugins: readonly {
[key: string]: unknown;
config?: unknown;
disabled?: boolean;
group?: boolean;
id?: string;
inject?: readonly string[];
intercept?: {
[key: string]: unknown;
};
isolate?: {
[key: string]: string | true;
};
name: string;
}[];
resource?: {
attributes?: {
[key: string]: Json;
};
serviceVersion?: string;
};
serialization?: "json" | "protobuf";
serviceName: string;
shutdownTimeout?: string | number;
url: string;
}, SchemaError>;

Defined in: index.ts:12