Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
No EOL
1.1 KiB
Text
25 lines
No EOL
1.1 KiB
Text
import { Context } from '@opentelemetry/api';
|
|
import { Span } from '../Span';
|
|
import { SpanProcessor } from '../SpanProcessor';
|
|
import { ReadableSpan } from './ReadableSpan';
|
|
import { SpanExporter } from './SpanExporter';
|
|
/**
|
|
* An implementation of the {@link SpanProcessor} that converts the {@link Span}
|
|
* to {@link ReadableSpan} and passes it to the configured exporter.
|
|
*
|
|
* Only spans that are sampled are converted.
|
|
*
|
|
* NOTE: This {@link SpanProcessor} exports every ended span individually instead of batching spans together, which causes significant performance overhead with most exporters. For production use, please consider using the {@link BatchSpanProcessor} instead.
|
|
*/
|
|
export declare class SimpleSpanProcessor implements SpanProcessor {
|
|
private readonly _exporter;
|
|
private _shutdownOnce;
|
|
private _unresolvedExports;
|
|
constructor(_exporter: SpanExporter);
|
|
forceFlush(): Promise<void>;
|
|
onStart(_span: Span, _parentContext: Context): void;
|
|
onEnd(span: ReadableSpan): void;
|
|
shutdown(): Promise<void>;
|
|
private _shutdown;
|
|
}
|
|
//# sourceMappingURL=SimpleSpanProcessor.d.ts.map |