UNPKG

@opentelemetry/otlp-transformer

Version:
7 lines 526 B
import type { ReadableLogRecord } from '@opentelemetry/sdk-logs'; import { IExportLogsServiceRequest } from './internal-types'; import { OtlpEncodingOptions, IKeyValue } from '../common/internal-types'; import { LogAttributes } from '@opentelemetry/api-logs'; export declare function createExportLogsServiceRequest(logRecords: ReadableLogRecord[], options?: OtlpEncodingOptions): IExportLogsServiceRequest; export declare function toLogAttributes(attributes: LogAttributes): IKeyValue[]; //# sourceMappingURL=internal.d.ts.map