function Schedule::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $exclusion_patterns Metrics with names that match a rule in the inclusion_patterns are targeted by this schedule. Metrics that match the exclusion_patterns are not targeted for this schedule, even if they match an inclusion pattern. @type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $inclusion_patterns @type int $period_sec Describes the collection period for each metric in seconds. A period of 0 means to not export. }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ Experimental/ MetricConfigResponse/ Schedule.php, line 58
Class
- Schedule
- A Schedule is used to apply a particular scheduling configuration to a metric. If a metric name matches a schedule's patterns, then the metric adopts the configuration specified by the schedule.
Namespace
Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponseCode
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce();
parent::__construct($data);
}