@opentelemetry/otlp-transformer
Version:
Transform OpenTelemetry SDK data into OTLP
7 lines • 526 B
TypeScript
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