function TraceConfig::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Trace\V1\ConstantSampler $constant_sampler @type \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased $trace_id_ratio_based @type \Opentelemetry\Proto\Trace\V1\RateLimitingSampler $rate_limiting_sampler @type int|string $max_number_of_attributes The global default max number of attributes per span. @type int|string $max_number_of_timed_events The global default max number of annotation events per span. @type int|string $max_number_of_attributes_per_timed_event The global default max number of attributes per timed event. @type int|string $max_number_of_links The global default max number of link entries per span. @type int|string $max_number_of_attributes_per_link The global default max number of attributes per span. }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ TraceConfig.php, line 72
Class
- TraceConfig
- Global configuration of the trace service. All fields must be specified, or the default (zero) values will be used for each type.
Namespace
Opentelemetry\Proto\Trace\V1Code
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce();
parent::__construct($data);
}