UNPKG

@netlify/zip-it-and-ship-it

Version:
15 lines (14 loc) 758 B
import type { Attributes } from '@opentelemetry/api'; import type { FeatureFlags } from '../../../feature_flags.js'; import type { ZipFunctionResult } from '../../runtime.js'; import type { BundlerReason, NodeBundlerName } from '../bundlers/types.js'; export declare const getFunctionBundleSpanAttributes: ({ featureFlags, name, generator, runtimeName, runtimeAPIVersion, bundlerName, bundlerReason, }: { featureFlags: FeatureFlags; name: string; generator: string | undefined; runtimeName: string; runtimeAPIVersion: number; bundlerName: NodeBundlerName; bundlerReason: BundlerReason; }) => Attributes; export declare const getBundleResultSpanAttributes: (result: ZipFunctionResult, sizeBytes: number | undefined) => Attributes;