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

Breadcrumb

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

function Pattern::setEquals

matches the metric name exactly

Generated from protobuf field <code>string equals = 1;</code>

Parameters

string $var:

Return value

$this

File

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

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 setEquals($var) {
    GPBUtil::checkString($var, True);
    $this->writeOneof(1, $var);
    return $this;
}

API Navigation

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