flow php

UNIFIED DATA PROCESSING FRAMEWORK

composer require flow-php/etl ~0.30.0

ChangelogRelease Cycle

play Try Flow Online

elephant
extract

Extracts

Read from various data sources.

arrow
transform

Transforms

Shape and optimize for your needs.

arrow
load

Loads

Store and secure in one of many available data sinks.


Definition


/**
 * Create a tracer provider configured for OTLP export.
 *
 * Example usage:
 * ```php
 * $processor = batching_span_processor(otlp_span_exporter($transport));
 * $provider = otlp_tracer_provider($processor, $clock);
 * $tracer = $provider->tracer($resource, 'my-service', '1.0.0');
 * ```
 *
 * @param SpanProcessor $processor The processor for handling spans
 * @param ClockInterface $clock The clock for timestamps
 * @param Sampler $sampler The sampler for deciding whether to record spans
 * @param ContextStorage $contextStorage The context storage for propagating trace context
 */
otlp_tracer_provider(SpanProcessor $processor, ClockInterface $clock, Sampler $sampler, ContextStorage $contextStorage) : TracerProvider

Contributors

Join us on GitHub external resource
scroll back to top