@grafana/faro-transport-otlp-http
Version:
Faro transport which converts the Faro data model to the Otlp data model.
19 lines (18 loc) • 720 B
TypeScript
import { BaseTransport } from '@grafana/faro-core';
import type { Patterns, TransportItem } from '@grafana/faro-core';
import type { OtlpHttpTransportOptions } from './types';
export declare class OtlpHttpTransport extends BaseTransport {
private options;
readonly name = "@grafana/faro-web-sdk:transport-otlp-http";
readonly version = "1.19.0";
private readonly promiseBuffer;
private readonly rateLimitBackoffMs;
private sendingTracesDisabledUntil;
private sendingLogsDisabledUntil;
constructor(options: OtlpHttpTransportOptions);
getIgnoreUrls(): Patterns;
isBatched(): boolean;
send(items: TransportItem[]): void;
private sendPayload;
private getRetryAfterDate;
}