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 logger provider configured for OTLP export.
 *
 * Example usage:
 * ```php
 * $processor = batching_log_processor(otlp_log_exporter($transport));
 * $provider = otlp_logger_provider($processor, $clock);
 * $logger = $provider->logger($resource, 'my-service', '1.0.0');
 * ```
 *
 * @param LogProcessor $processor The processor for handling log records
 * @param ClockInterface $clock The clock for timestamps
 * @param ContextStorage $contextStorage The context storage for propagating context
 */
otlp_logger_provider(LogProcessor $processor, ClockInterface $clock, ContextStorage $contextStorage) : LoggerProvider

Contributors

Join us on GitHub external resource
scroll back to top