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