@fiberplane/hono-otel
Version:
Hono middleware to forward OpenTelemetry traces to a local instance of @fiberplane/studio
5 lines (4 loc) • 332 B
TypeScript
import type { Attributes } from "@opentelemetry/api";
import { type FpResolvedConfig } from "../../config/index.js";
import type { GlobalResponse, HonoResponse } from "../../types/hono-types.js";
export declare function getResponseAttributes(response: GlobalResponse | HonoResponse, config?: FpResolvedConfig): Promise<Attributes>;