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

Breadcrumb

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

function Pattern::__construct

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type string $equals matches the metric name exactly @type string $starts_with prefix-matches the metric name }

Overrides Message::__construct

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php, line 34

Class

Pattern
A light-weight pattern that can match 1 or more metrics, for which this schedule will apply. The string is used to match against metric names. It should not exceed 100k characters.

Namespace

Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule

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