@fiberplane/hono-otel
Version:
Hono middleware to forward OpenTelemetry traces to a local instance of @fiberplane/studio
7 lines (6 loc) • 432 B
TypeScript
import type { FpResolvedConfig } from "../../config/index.js";
import type { GlobalResponse, HonoResponse } from "../../types/index.js";
type PossibleHeaders = Headers | HonoResponse["headers"] | GlobalResponse["headers"];
export declare function headersToObject(headers: PossibleHeaders): Record<string, string>;
export declare function getSafeHeaderValue(key: string, value: string, config?: FpResolvedConfig): string;
export {};