Download .opencode/node_modules/effect/dist/unstable/observability/OtlpExporter.d.ts from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/effect/dist/unstable/observability/OtlpExporter.d.ts
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data/.opencode/node_modules/effect/dist/unstable/observability/OtlpExporter.d.ts
-
curl -L -o OtlpExporter.d.ts https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/effect/dist/unstable/observability/OtlpExporter.d.ts
1.16 kB
| import * as Duration from "../../Duration.ts"; | |
| import * as Effect from "../../Effect.ts"; | |
| import * as Scope from "../../Scope.ts"; | |
| import * as Headers from "../../unstable/http/Headers.ts"; | |
| import * as HttpClient from "../../unstable/http/HttpClient.ts"; | |
| import type { HttpBody } from "../http/HttpBody.ts"; | |
| /** | |
| * Creates a scoped OTLP batch exporter. | |
| * | |
| * **Details** | |
| * | |
| * The exporter buffers pushed data, periodically posts encoded batches to the | |
| * configured URL, retries transient failures, temporarily disables exporting | |
| * after unhandled failures, and flushes during scope finalization up to | |
| * `shutdownTimeout`. | |
| * | |
| * @category constructors | |
| * @since 4.0.0 | |
| */ | |
| export declare const make: (options: { | |
| readonly url: string; | |
| readonly headers: Headers.Input | undefined; | |
| readonly label: string; | |
| readonly exportInterval: Duration.Input; | |
| readonly maxBatchSize: number | "disabled"; | |
| readonly body: (data: Array<any>) => HttpBody; | |
| readonly shutdownTimeout: Duration.Input; | |
| }) => Effect.Effect<{ | |
| readonly push: (data: unknown) => void; | |
| }, never, HttpClient.HttpClient | Scope.Scope>; | |
| //# sourceMappingURL=OtlpExporter.d.ts.map |