function Pattern::getStartsWith
prefix-matches the metric name
Generated from protobuf field <code>string starts_with = 2;</code>
Return value
string
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ Experimental/ MetricConfigResponse/ Schedule/ Pattern.php, line 76
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 getStartsWith() {
return $this->readOneof(2);
}