Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Schedule.php

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\MetricConfigResponse

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce();
    parent::__construct($data);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal